Linux study notes _7: package management

Package management (packaging and installation tools)

RPM(RedHat Package Manager)

  • rpm -qa | grep name, Query the list of installed rpms named name
  • rpm -qi nameTo view the detailed information of the installed rpm named name
  • rpm -ql nameTo view the installation location of the rpm named name
  • rpm -qf /xx/xxTo 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

Guess you like

Origin blog.csdn.net/Nerver_77/article/details/106975497