Install RPM packages or install Source packages

Source: Internet
Author: User

This series of blogs is from: http://www.92csz.com/study/linux/

Here, thank the original person to provide the introductory knowledge

The purpose of this series of blogs is to extract the more commonly used LIUNX commands from the author's articles for their own study and review.

"RPM tool "

RPM is the abbreviation for "Redhat package Manager", which can be guessed by name as Redhat company developed. RPM is a set of management programs that installs the packages you need into your Linux host in a database-logged way. In other words, there is a database on RPM in your Linux system that records the installed packages and dependencies between packages and packages. RPM packages are pre-compiled and packaged files on Linux machines that are fast to install. However, there are some shortcomings, such as the installation of the environment must be consistent with the environment or equivalent, the package and the package is dependent on the situation, the package needs to unload the dependencies, if the dependent package is required by the system, you can not unload the package, otherwise it will cause the system to crash.

"Yum Tools "

After introducing the RPM tool, you will also need to master the most commonly used yum tools, which is much more useful than the RPM tool, of course, if you are using a Linux system that supports Yum. Yum's biggest advantage is that it can be networked to download the required RPM packages, and then install them automatically, and in this project, if the RPM package to be installed is dependent, Yum will help you to fix the dependencies and install all RPM packages in turn. The following article describes common Yum commands.

1) List all available RPM packages "Yum List"

2) search for a RPM package "yum search [Related keywords]", using Yum list |grep vim search results more concise

3) Install a RPM package "yum install [-y] [RPM package name]"

If you do not add the-y option, it will be installed in a way that interacts with the user, first listing the RPM package information that needs to be installed, then asking the user if it needs to be installed, installing Y, and entering n without installing. And I suspect this is too troublesome, so directly with the-y option, so that the omission

4) Uninstall a RPM package "yum remove [-y] [RPM package name]"

5) Upgrade a RPM package "yum Update [-y] [RPM package]"

Use local CD-ROM to make and install

Leave blank, do understand

Install RPM packages or install Source packages

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.