![CentOS 7 中没有可用的“libc-client-dev”和“libkrb5-dev”软件包](https://linux22.com/image/11288/CentOS%207%20%E4%B8%AD%E6%B2%A1%E6%9C%89%E5%8F%AF%E7%94%A8%E7%9A%84%E2%80%9Clibc-client-dev%E2%80%9D%E5%92%8C%E2%80%9Clibkrb5-dev%E2%80%9D%E8%BD%AF%E4%BB%B6%E5%8C%85.png)
我在我的 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