CentOS 7 中没有可用的“libc-client-dev”和“libkrb5-dev”软件包

CentOS 7 中没有可用的“libc-client-dev”和“libkrb5-dev”软件包

我在我的 CentOS 7.2 服务器中安装了libc-client-dev和:libkrb5-dev

[root@localhost ~]# yum install -y libc-client-dev libkrb5-dev
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.163.com
 * epel: ftp.yzu.edu.tw
 * extras: mirrors.163.com
 * updates: mirrors.163.com
 * webtatic: sp.repo.webtatic.com
No package libc-client-dev available.
No package libkrb5-dev available.
Error: Nothing to do

但那里说没有可用的包。


编辑-01

# uname -a
Linux localhost.localdomain 3.10.0-327.el7.x86_64

答案1

对于安装libkrb5-dev

先决条件:

yum -y install ntp
ntpdate 0.rhel.pool.ntp.org
systemctl start  ntpd.service
systemctl enable ntpd.service

安装:

yum -y install krb5-server krb5-libs

来源

相关内容