backgroundYou cannot use yum to install on the intranet server. If you need to install it yourself, related dependency errors may occur (dependency package versions are incompatible). The solution is to find a machine with the same operating system version that supports yum, and copy the installed package to another machine for installation. 1) Enable the keepchche function of yum: Method 1vi /etc/yum.conf keepcache =1 # Change to 1 Example: Install iptables yum -y install iptables iptables-services cd /var/cache/yum/x86_64/7 ls As shown in the picture: the source of iptables is in the base directory cd packages/ ls According to the path of cachedir setting in the /etc/yum.conf configuration file, the iptables software just installed by yum is saved in packages/ 2) yum-utils software: Method 2# Install the yum-utils software, --destdir specifies the directory, and finally specifies the package name to be installed yumdownloader --destdir=/root iptables iptables-services cd /root ls 3) lrzsz download and uploadyum -y install lrzsz # rz save to local/sz upload to server This concludes this article on solutions to problems such as dependency reporting when installing software packages in Linux. For more information on Linux dependency reporting issues, please search previous articles on 123WORDPRESS.COM or continue browsing the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: JavaScript destructuring assignment detailed explanation
>>: MySQL stored functions detailed introduction
MySQL database storage location: 1. If MySQL uses...
This article uses examples to describe the creati...
Table of contents Overview 1. Application-level m...
<html> <head> <meta http-equiv=&quo...
1. Upload rz to the server and decompress it rz [...
SQL (Structured Query Language) statement, that i...
The span tag is often used when making HTML web pa...
1: I won’t go into the details of how to install ...
Scenario: The crawled data generates a data table...
Correct answer Using useRouter : // router path: ...
This article shares the specific code of jQuery t...
When I was asked this question, I was ignorant an...
1.# # represents a location in a web page. The ch...
Quickly modify the table structure of a MySQL tab...
It took me half an hour to write the code, and th...