CENTOS--RPM and Yum

Source: Internet
Author: User

Intermittent learning of some of the use of CentOS, found that a period of time do not operate, will forget the concepts or methods of operation, so summarize here.

First, the problem description

First, take a note of the conceptual thing I most often forget:

What is yum, what is rpm, and what is the difference between the two looks similar?

What is the difference between a source installation package and a binary installation package?

Second, the elaboration

First of all, the Linux installation package can often see the suffix name, but in fact, the suffix of the Linux file is only for the user to see, Linux itself on the file has a suffix name, what suffix is not concerned about.

1. What does the rpm suffix name represent?

Different software may be due to the operating system, the underlying hardware differences in the performance of different machines may be different, often we will use the source package (usually the. tar.gz suffix for the source package) to compile the installation, to produce more suitable for the hardware and operating system running code. However, many times we only need to use the compiled program files, put them on the local computer, it can run. And RPM is a compiled program installation package.

  Conclusion: RPM is a compiled program installation package that can be installed via the RPM command. SOURCE Package Required

2. Then discuss, what is Yum?

Setup, sometimes there are some dependencies, such as a program run prerequisite is that the B program has been installed, and B program installation prerequisite is the C program is already running. So, the problem, if we only want to use a program, and want to only install a program can be used directly, then definitely need a way to install B and C before a installation, but this process does not require manual intervention. So, with a management program called Yum, at the far end, on the Redhat version of Linux, you can try the Yum command to install the appropriate software. The command downloads the required installers from the remote Yum source and installs the dependent programs locally, and the Yum command uninstalls the appropriate programs that the software relies on when uninstalling.

  Conclusion: Yum is an automatic installer command and a short name for a remote yum source.

More operations can be found in: http://www.92csz.com/study/linux/11.htm

CENTOS--RPM and Yum

Related Article

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.