Linux has a variety of commands, and yum is one of the most commonly used commands. Use the yum command to find and install and update software. So what are the specific functions of the yum command?
I. Introduction
yum (called the Yellow dog Updater, Modified) is a front-end package Shell manager in Fedora and RedHat and SUSE are. Based on RPM package management, the RPM package can be automatically downloaded and installed from the specified server. The dependency relationship can be handled automatically, and all dependent software packages can be installed at one time without having to download and install it one by one. Yum provides commands for finding, installing, and deleting one, a group, or even all packages, and the commands are simple and easy to remember.
Second, function
Automatic search for the fastest image plugin: yum install yum-fastestmirror
Install yum graphics window plugin: yum install yumex
View possible List of batch installations: yum grouplist
1) Find and display
yum search string Find installation packages based on keyword string
yum deplist package1 View program package1 dependencies
yum info package1 Display package information package1
yum list Show all installed and installable packages
yum list installed View installed packages
Yum list package1 shows the specified package installation package1
yum list all lists all the software in the YUM repository
yum groupinfo group1 shows the program group group1 information
yum provides nginx Software Features
yum whatprovides filename See which rpm file contains the specified target file
2)Installation
yum install Install all
Yum install package1 install the specified installation package package1
yum localinstall software name.rpm install local package
yum groupinsall group1 installer group group1
3) update
yum check-update check for updatable programs
yum update all updates
yum update package1 update specified package package1
yum --exclude=package kernel* update Exclude individual software upgrades
yum localupdate update-package.rpm Upgrade local packages
yum groupupdate group1 upgrade program group group1
4) Uninstall
yum remove Package1
yum erase package1 Remove package package1
yum groupremove group1 Delete program group group1
5) Clear cache
yum clean packages Clear cache directory Package
yum clean headers Clear the headers in the cache directory
yum clean oldheaders Clear the old headers in the cache directory
yum clean,
yum Clean All (= yum clean packages; yum clean oldheaders) Clear the packages in the cache directory and the old headers
6) Enable and disable the source
yum --enablerepo=epel install rsnapshot
yum --disablerepo=epel install Software Name
The above is the introduction of the function of the yum command. The yum command has such a versatility, and the depressed command will not make people feel depressed.
Because the Ubuntu desktop version is different from the Windows system, many users
After installation of CentOS 6.5, many people can not connect to the wireless network, most of the r
When Linux users are using it, they must make their computer performance better and
The installation of Ubuntu software can be easily installed through the software ce
Linux installation using fail2ban method
How to deal with the database disappeared after modifying the root password of mysql under Linux?
Debian boot does not enter the graphical interface method
Summary of usage of the hexdump command in Linux systems
Linux screenshot tool scrot operation skills
Ubuntu 12.04 removes the Gnome Shell extension's tips
Command summary for Linux to be used
What should I do if Ubuntu fails to adjust and save the screen brightness?
Steps to install GitLab on CentOS system
Ubuntu 12.04 via XRDP Remote Desktop Method
Linux error when reporting a scheduled task -bash:crontab:command?
Teach you to enhance the security performance of Vista and Windows 7 system
How win7 computer makes the taskbar interface transparent
XP vs. Vista vs. Win7 Performance Comparison Test
Win7 turns off the magnifying glass self-start function
It is necessary to open (or close) the Windows XP service list
How to solve the failure of Win10 screenshot animation
How to solve the slower switching window after Win8 installation update?
Inventory windowsxp system common application cheats
How to turn off the system patch automatic update function of the mighty XP