Article Directory
RPM concept
A packaging and installation tool for Internet download packages, which is included in some Linux distributions. It generates files with a .RPM extension. RPM is
the abbreviation of RedHat Package Manager (RedHat package management tool), similar to Windows setup.exe. Although the name of this file format is
marked with the RedHat logo, the concept is universal.
Linux distributions are used (suse, redhat, centos, etc.), which can be regarded as a recognized industry standard
RPM commonly used instructions
command | meaning |
---|---|
rpm -qa | Query all installed rmp packages |
rpm -qi | Package name: Query whether the package is installed |
rpm -ql | Package name: Query the files in the package |
rpm -qf | File absolute path: query the software package to which the file belongs |
rpm -e | Package name uninstall software |
Case study
Query whether the software package is installed rpm -q nc
Query package information rpm -qi nc
Show rpm detailed information
rpm -e uninstall package
Install the rpm package
rpm -ivh rpm package full path name
i=install 安装
v=verbose 提示
h=hash 进度条
Currently offline installation either rpm package or tar.gz package~
yum introduction
yum -y install the name of the package you want to download (-y don’t prompt whether to install)