Yum software introduction
The software packages available for Yum download include Fedora's own packages and Fedora from rpmfusion and rpm. Extras are all maintained by the Linux community and are basically free software. All packages have an independent PGP signature, mainly for the security of your system. And for Fedora core 4.0 For users, the signature of rpm. is automatically imported and installed.
Yum commonly used command line commands
Install software (take foo-x.x.x.rpm as an example): yum install foo-x.x.x.rpm
Delete software: yum remove foo-x.x.x.rpm or yum erase foo-x.x.x.rpm
Upgrade software: yum upgrade foo or yum update foo
Query information: yum info foo
Search software (taking fields containing foo as an example): yum search foo
Show package dependencies: yum deplist foo
-q execute silently
-t ignore errors
-R[minutes] Set waiting time
-y automatically responds yes
--skip-broken Ignore dependency issues
—nogpgcheck Ignore GPG verification
Check-update checks for updateable packages
clean all
Clean packages Clear temporary package files (files under/var/cache/yum)
clean headers 清除rpm头文件
Clean oldheaders Clear old rpm header files
deplist lists the dependencies of the package
List of installable and updateable RPM packages
list installed installed packages
List extras Packages that have been installed and are not in the resource library
Info Installable and updateable RPM package information
info installed Information about installed packages (-qa parameter is similar)
Install[RPM package] installation package
Localinstall installs local RPM packages
Update[RPM package] update package
Upgrade upgrade system
Instructions for use
yum installation software
yum install epel-release -yyum install nginx -y
yum software uninstallation
Remove software
yum remove nginx -y
Automatically delete software and its dependencies
yum autoremove nginx -y
yum software update
Update a software
yum update nginx -y
Yum cannot resolve dependencies
Reason
Some dependent packages are removed or damaged.
The warehouse configuration is incorrect, causing dependent packages to be unable to be found.
Solution
Update Yum cache:
bash
sudo yum clean all
sudo yum makecache
Yum update log
1: Optimized performance
2: We are serious about solving bug problems
Huajun editor recommends:
Believe me, as long as you use Yum and other system tools, you can uninstall it and it will definitely meet all your needs. The editor has also carefully prepared for youCOSCO Kirin iAudit operation and maintenance audit system centos7 installation package,Nut Cloud (32bit) For Linux,Nut Cloud (64bit) For Linux,7-Zip,WPS Office For Linux DEB


















Useful
Useful
Useful