Installation rmp or source distribution

RPM is an acronym for Red Hat Package Manager, which is a way of database records will we need to install a Linux host kit set of management procedures. Its disadvantage is that the installation environment, the environment must be consistent with the compile-time or equivalent, there are cases of interdependence between the packages and the packages need to rely first unloading Bags unloaded.

When using the tool to install an RPM package, it may be because the package depend on another package can not be installed; and when using the yum utility, you can install along with the package depended on, very convenient.

(1) an RPM

  -i represents the installation

  -v visual representation

  -h indicate installation progress

# cd /mnt/Packages/

# rpm -ivh libjpeg-turbo-devel-1.2.90-5.e17.x86_64.rpm

(2) unload package RPM

# rpm -qa libjpeg-turbo-devel

libjpeg-turbo-devel-1.2.90-5.e17.x86_64

# rpm -e libjpeg-turbo-devel

(3) query package is installed

# rpm -q libjpeg-turbo-devel

# Rpm -qa | head queries all installed RPM package

(4) to query the RPM package information

# rpm -qi libjpeg-turbo-devel

(5) are listed in the installation package file RPM

# rpm ql libjpeg-turbo-devel

 

Guess you like

Origin www.cnblogs.com/hkping18/p/11584140.html
Recommended