First, Introduction
Yum (full name Yellow dog Updater, Modified) is a shell front-end package manager in Fedora and Redhat and SuSE. Based on RPM package management, the ability to automatically download the RPM package from the specified server and install, can automatically handle dependency relationships, and install all dependent software packages at once, without the tedious download and installation. Yum provides commands to find, install, and delete one, a group, or even all of the packages, and the commands are concise and well-remembered.
Second, the function
Automatically search for the fastest image plugin: yuminstallyum-fastestmirror install Yum graphics window plugin :Yum Install Yum grouplist
1) Find and display
yum search string Find the installation package based on the keyword string yum deplist Package1 View Program Package1 dependency yum info Package1 Displays the installation package information Package1 yum list shows all packages that have been installed and can be installed yum List installed view installed packages yum list Package1 shows the installation of the specified package Package1 yum list all lists all software in the Yum repository yum GroupInfo group1 Show program group group1 information yum provides nginx view software features
Yum whatprovides filename to see which rpm file contains the specified target file
2) Installation
Yum Install Install all Yum Install Package1 Install the specified installation package Package1yum localinstall software name. RPM Install Local Pack
Yum groupinsall group1 Installer Group group1
3) Update
Yum check-
Yum Update All Updates Yum Update Package1 updates the specified package Package1yum --exclude=package kernel* update 排除个别软件升级
yum localupdate update-package.rpm 升级本地包
Yum groupupdate group1 upgrade program group Group1
4) Uninstall
Yum Remove Package1
Yum Erase package1 Remove package Package1 Yum groupremove group1 Remove a program group Group1
5) Clear Cache
Yum Clean Packages clears the package from the cache directory Yum clean headers Clears the headers in the cache directory Yum clean oldheaders The old headers in the cache directory Yum Clean,
Yum Yum Yum clean oldheaders) clears the cache directory of packages and the old headers
6) Enable and disable the source
Yum Install Rsnapshot Yum Install software name
Linux Yum Command