linux如何安装缺失依赖

 

这里要提到一个网站https://pkgs.org/,他是linux系统的一个相关网站,里面都是相关内容

Warning: RPMDB altered outside of yum.
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
glibc-utils-2.17-55.el6.x86_64 has missing requires of libgd.so.2()(64bit)
2:postfix-2.6.6-2.2.el6_1.x86_64 has missing requires of libmysqlclient.so.16()(64bit)
2:postfix-2.6.6-2.2.el6_1.x86_64 has missing requires of libmysqlclient.so.16(libmysqlclient_16)(64bit)
  • 提示缺少什么依赖,直接在该网站中进行搜索

 

 

 

点击进入下一个页面,复制链接,打开linux控制台

 

wget 链接地址  --下载

yum -y install *.rpm   --安装

rpm -qa | grep -i mysql  --检查是否安装

 

posted @ 2020-06-06 00:34  edda_huang  阅读(2871)  评论(0编辑  收藏  举报