linux prompts for solutions to non existent packages when installing software

  • 2021-06-28 14:51:12
  • OfStack

When the package does not exist, it may be that the software source of the installed software is not installed. My name is cent os. When w3m is installed, this problem occurs. The solution is to install the software source (epel-release) first, then update the system package, and finally perform the operation of installing the software, then you can succeed.

Take the installation of w3m as an example:

1. Software source for installing w3m: epel-release

yum install epel-release

//If you are not a system administrator, you need to precede with the sudo command because installation requires administrator privileges

2. Update system packages after successful installation

(If you are not a system administrator, you need to precede with the sudo command because installation requires administrator privileges)

yum -y update

3. Re-execute the installation of w3m

(//If you are not a system administrator, you need to precede with the sudo command because installation requires administrator privileges)

yum install w3m

Installation successful!


Related articles: