rpm package

Warm Tips: more command End Press Ctrl + z that is universal end key

1, set the drive and mount

 

 

 2, look for packages to install them in Packages

 

 3, rpm package naming rules

  

 

  bzip2 package names

  Software Version 1.0.5

  7 software release number

  e16_0 for the Linux platform

   x86_64 suitable operating system

4, rpm -ivh package full name

 -i install

 -v Show Details

 -h Show progress

  

 

5、 rpm -Uvh

     -U Upgrade

6, unloading

    rpm -e package name --nodeps not detect dependency, overbearing deleted

7, check whether the installation

   rpm -q package name

      Query all the packages installed

    rpm -qa

8, query software information

   rpm -qi package name

 

 

7, the query is not installed package information

Full package name rpm -qip

 

 

 8, query the package file installation location

   rpm -ql package name

    -l List

 

 

 

 

 

 

 9, rpm -qf system file name

    -f view system files belong to which package

 10, rpm -qR package name   

   -R view information package

Guess you like

Origin www.cnblogs.com/bianfuxia/p/12026504.html
Recommended