首页 > yum install mod_python 出现了找不到这样的包,该怎么办?我不会源代码编译啊!!!

yum install mod_python 出现了找不到这样的包,该怎么办?我不会源代码编译啊!!!

yum install mod_python
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.btte.net * extras: mirrors.btte.net * updates: mirror.neu.edu.cn Setting up Install Process No package mod_python available. Error: Nothing to do

如题,出现了上述的问题,该怎么解决呢????


错误提示很清楚了

No package mod_python available

yum源里是没有mod_python的,你需要先安装EPEL(Extra Packages for Enterprise Linux),之后再进行yum安装

具体方法自己搜下吧,网上很多,不知道你是什么操作系统,什么版本


安装epel yum源
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm


直接在网上找一个rpm包,直接用rpm -ivh xxx.rpm方式安装。ps:源码安装其实也很简单,一般的步骤都是

./configure && make && make install
【热门文章】
【热门文章】