The difference between RPM and Yum in Linux

Source: Internet
Author: User
1. shorthand for Rpm:redhat package manage
RPM is a software package name for Linux, with the. RMP end, the installation syntax is: RPM-IVH,RPM package installation has a big drawback is that the file is too large, sometimes installed a software to install a lot of other packages, very troublesome,
2. Yum (full name Yellow dog Updater, Modified)
Yum is a shell front-end package manager in Fedora and Redhat as well as in 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.
In order to solve the problem that the file association line is too big during RPM installation, Redhat Red Hat developed the Yum installation method, he can completely solve the problem of relevance, it is convenient, as long as the configuration of two files can be installed, installation method is: Yum-y install, Yum is not a package, But the software that installs the package
Yum's command form is generally as follows: Yum [options] [command] [package ...]
The options are optional, including-H (Help),-y (when the installation process prompts you to select all "Yes"),-Q (does not show the installation process), and so on. [command] for the action you want to take, [package ...] Is the object of the operation.

3. Differences
RPM can only install RPM packages that have already been downloaded to the local machine. Yum can download and install RPM packages online, update the system, and automatically handle dependencies between package and package, which is not available in the RPM tool.

The difference between RPM and Yum in Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.