Home >System Tutorial >LINUX >How to solve the problem that yum cannot locate a certain package under CentOS?

How to solve the problem that yum cannot locate a certain package under CentOS?

PHPz
PHPzforward
2024-01-05 21:17:53902browse

The easiest way to install software on CentOS is to install it through yum. This method will solve the relationship between the packages used (recommended), but sometimes when installing a certain software through yum, the yum search package name is displayed. There is no package available. The solution is as follows:

Enter in the terminal: sudo rpm -Uvh http://mirrors.sohu.com/fedora-epel/5/i386/epel-release-5-4.noarch.rpm

After typing Enter, re-yum search the package name to search for the package you need.

The above is the detailed content of How to solve the problem that yum cannot locate a certain package under CentOS?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete