如何在fedora 22

时间:2015-10-28 17:10:13

标签: fedora yum

大家好,你还可以在fedora 22上安装libgcrypt.so.11吗? 我跟着这些steps,我一无所获。

  1. yum install yum-plugin-copr
  2. 转到https://copr.fedoraproject.org/coprs/red/libgcrypt.so.11/
  3. 在“Yum Repo”粗体标题下找到red-libgcrypt.so.11-fedora-rawhide.repo链接
  4. 复制文本并以root身份将其粘贴到文件中:

    /etc/yum.repos.d/red-libgcrypt.so.11-fedora-rawhide.repo

  5. sudo yum install libgcrypt.so.11

  6. 输出:

     Yum command has been deprecated, redirecting to '/usr/bin/dnf install libgcrypt.so.11'.
    See 'man dnf' and 'man yum2dnf' for more information.
    To transfer transaction metadata from yum to DNF, run:
    'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'
    
    Warning: failed loading '/etc/yum.repos.d/red-libgcrypt.so.11-fedora-rawhide.repo', skipping.
    Last metadata expiration check performed 0:10:13 ago on Wed Oct 28 16:44:05 2015.
    No package libgcrypt.so.11 available.
    

2 个答案:

答案 0 :(得分:5)

您应该在Fedora 22中使用dnf,因为它是默认的包管理器,旧的yum已被弃用。

dnf有一个插件来管理COPR存储库。您可以通过以下方式启用COPR回购:

$ sudo dnf copr enable red/libgcrypt.so.11

然后安装包:

$ sudo dnf install compat-libgcrypt

答案 1 :(得分:0)

作为Fedora 29/30的最新答案,我得到了GCRYPT_1.2 missing,您可以这样做

$ dnf install libgcrypt11

或下载像这样的openSuse RPM:

ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/bosconovic:/branches:/home:/elimat:/lsi/openSUSE_Leap_15.1/x86_64/libgcrypt11-1.5.4-lp151.23.29.x86_64.rpm