我正在寻找tomcat-native(Centos 6)
$sudo yum install tomcat-native
No package tomcat-native available.
Error: Nothing to do
如何更新yum存储库列表?
答案 0 :(得分:0)
您的Yum配置为搜索默认的yum存储库,如果它无法在该存储库中找到该程序包,则需要指定托管该程序包的相应存储库。您可以使用https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Managing_Yum_Repositories.html指定此内容 以下文章可能会帮助您安装tomcat-native http://linuxfreaks.in/tomcat-native-library-apr-installation-on-centos/ http://blogoless.blogspot.com/2012/08/how-to-install-apache-tomcat-native.html