Linux Software Installation-rpm installation

Source: Internet
Author: User

RPM is an abbreviation for RPM Package Manager, which has a Redhat logo, but its original design concept is open and now includes OpenLinux, S.U.S.E, and Turbo Linux. The distribution of Inux has been adopted, which can be regarded as a recognized industry standard.

  Installation Instructions:

RPM-IVH Package Full Name

The full name of the package includes the software name, software version, applicable platform, for example: jdk-7u71-linux-i586.tar.gz

Software Name: JDK

Version: 7u71

The applicable linux:linux-i586

 Parameter description:

-I Installation

-V Displays installation details

-H Displays installation progress

-U (UPPERCASE) update

-e Uninstall

-Q Query installed RPM packages

-A All RPM packages

General usage:

    Query whether the system has installed a software:

RPM-Q Package Name

Query if the system has MySQL installed:

Rpm-q mysql-server-5.6.22-1.el6.i686

To inquire about all installed RPM packages:

Rpm-qa

Query if the system has MySQL installed:

Rpm-qa | grep MySQL

Uninstalling the Software:

RPM-E Package Name

To uninstall MySQL:

Rpm-e mysql-client-5.6.22-1.el6.i686

Rpm-e mysql-server-5.6.22-1.el6.i686

RPM Package Installation Features:

1, RPM package is compiled by the source of binary files, relative to the installation of the source code to eliminate the process of compiling, so the installation process faster

2, because the RMP package is compiled before the installation, so the compiled binary files are not necessarily with the current machine fully adapt, do not affect the installation and use, but operating efficiency

Compared to the source installation of about 5%, so for high performance requirements of the software is recommended or the use of source installation.

3, the use of RPM package installation may require the installation of a dependency package, if the dependency package is not installed in advance, or depends on the package installation is not complete, the use of RPM package installation process will always

Error. This is to install the dependent package based on the error message. General error Message:

      

Install dependent packages

Yum-y Install libaio.so.1 libgcc_s.so.1 libstdc++.so.6

4, RPM package installation may produce ring-dependent, such as a dependent b,b dependent on c,c a. This situation occurs when you install all at once using a single instruction.

Linux Software Installation-rpm installation

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.