CentOS下yum安装libmcrypt错误:No package libmcrypt available 发表于 2019-01-17 更新于 2020-02-27 分类于 Linux , PHP 错误描述: 123456yum install libmcrypt libmcrypt-develSetting up Install ProcessNo package libmcrypt available.No package libmcrypt-devel available.Error: Nothing to do 我们会看到centos yum从仓库中根本找不到这几个包。但我不想使用源码编译就想使用yum安装,怎么办?解决方法: 12yum install epel-release #扩展包更新包yum update #更新yum源 然后再重新 1yum install libmcrypt libmcrypt-devel