Linux study notes _7: package management
Others
2021-03-30 18:06:33
views: null
Package management (packaging and installation tools)
RPM(RedHat Package Manager)
rpm -qa | grep name
, Query the list of installed rpms named name
rpm -qi name
To view the detailed information of the installed rpm named name
rpm -ql name
To view the installation location of the rpm named name
rpm -qf /xx/xx
To see which npm package belongs to the directory
rpm -e [--nodeps] name
, Uninstall (mandatory) rpm package
rpm -ivh
, Install the rpm package
YUM (automatically handle dependencies between packages)
yum list | grep name
, Query whether there is a software package that needs to be installed on the yum server
yum install name
, Download the installation package
Origin blog.csdn.net/Nerver_77/article/details/106975497