Yum (full name Yellow dog Updater, Modified) is a shell front end package Manager in Fedora and Redhat and CentOS. Based on RPM package management, the ability to automatically download RPM packages from specified servers and install them automatically handles dependency relationships and installs all dependent packages at once, without the hassle of downloading and installing them over and over again. (written by Python)
Use LS/ETC/YUM.REPOS.D to view the system's own Yum sources:
Common commands:
Yum-y Install: Installation
Yum-y insatll *http*: Fuzzy installation
Yum Erase: Deleting
Yum Clear all: Clear the dependency cache for all Yun sources
Yum Makecache: Loading all dependencies into the cache
How to build a local Yun Source:
First step: Create a folder: Mkdir/local
Step two: Store packages in local
Step Three: Modify/etc/yum.repos.d/local.repo
Edit as follows:
Fourth step: Establish a dependency relationship: createrepo/local
-----Yum can automatically handle dependencies, so unlike RPM installations, RPM is installed by locating file paths directly, while Yum installs the dependency files that look for the Yum source and then installs each other.
How to implement edge install side download:
Edit file: vim/etc/yum.conf
--------------------------------------------------------------------------------------------------------------- ------
This problem was encountered while executing the yum command:
This is the Yum in auto update:
Stop using rm-f/var/run/yum.pid or/etc/init.d/yun-updated stop
You can also wait for him to complete the installation after the update.
The Yum Package management tool for Linux