首页 文章

百胜无法找到我想要安装的软件包

提问于
浏览
1

我正在尝试一个简单的命令 sudo yum install SDL2 . 我知道这个软件包是根据SDL网站存在的:

基于Red Hat的系统(包括Fedora)可以简单地执行“sudo yum install SDL2”以在系统范围内安装库,或者“sudo yum install SDL2-devel”以获得标头和其他构建要求,以便编译自己的SDL程式 .

但是,当我尝试执行我的命令时,我得到以下内容:

Setting up Install Process
No package SDL2 available.
Error: Nothing to do

我使用的是Red Hat Enterprise Linux Server 5.3版(Tikanga) . 我怎样才能让百胜找到这个包裹?

1 回答

  • 1

    只有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
    

相关问题