yum 找不到我要安装的包
Yum cannot find the package I want to install
我正在尝试一个简单的命令 sudo yum install SDL2
。我知道这个包存在于 SDL 网站上:
Red Hat-based systems (including Fedora) can simply do "sudo yum install SDL2" to get the library installed system-wide, or "sudo yum install SDL2-devel" to get headers and other build requirements ready for compiling your own SDL programs.
但是,当我尝试执行我的命令时,我得到以下信息:
Setting up Install Process
No package SDL2 available.
Error: Nothing to do
我正在使用 Red Hat Enterprise Linux 服务器版本 5.3 (Tikanga)。我怎样才能让 yum 找到这个包?
只有 SDL 在 redhat 5.3 上可用
uname -r
2.6.32-573.12.1.el6.centos.plus.x86_64
yum search sdl-devel --verbose
SDL-devel.x86_64 : Files needed to develop Simple DirectMedia Layer applications
Repo : base
对于 Fedora 26,SDL2 在 repo fedora 中可用
uname -r
4.11.0-2.fc26.x86_64
dnf --disablerepo="*" --enablerepo="fedora" search sdl2-devel --verbose
SDL2-devel.x86_64 : Files needed to develop Simple DirectMedia Layer applications
Repo : fedora
我正在尝试一个简单的命令 sudo yum install SDL2
。我知道这个包存在于 SDL 网站上:
Red Hat-based systems (including Fedora) can simply do "sudo yum install SDL2" to get the library installed system-wide, or "sudo yum install SDL2-devel" to get headers and other build requirements ready for compiling your own SDL programs.
但是,当我尝试执行我的命令时,我得到以下信息:
Setting up Install Process
No package SDL2 available.
Error: Nothing to do
我正在使用 Red Hat Enterprise Linux 服务器版本 5.3 (Tikanga)。我怎样才能让 yum 找到这个包?
只有 SDL 在 redhat 5.3 上可用
uname -r
2.6.32-573.12.1.el6.centos.plus.x86_64
yum search sdl-devel --verbose
SDL-devel.x86_64 : Files needed to develop Simple DirectMedia Layer applications
Repo : base
对于 Fedora 26,SDL2 在 repo fedora 中可用
uname -r
4.11.0-2.fc26.x86_64
dnf --disablerepo="*" --enablerepo="fedora" search sdl2-devel --verbose
SDL2-devel.x86_64 : Files needed to develop Simple DirectMedia Layer applications
Repo : fedora