rpm is an open software package management system, the original full name is red hat package management
rpm -i package name install software -ivh display the installation process
rpm -e Software name Uninstall the software
rpm -q Software name Determine whether it has been installed or use the software name -v to view the version number
rpm -qa View all Package
grep httpd Find matches through pipeline filtering
rpm -ql httpd view the location of the software installation
You may also need to install related software by yourself to solve dependency problems when using rpm installation
At this time, it can be installed with yum
When installing with yum, first analyze the fastest image for installation
yum install httpd installation
yum list installed View all installed packages Can be filtered through pipeline
yum Remove software name Remove software
When using yum to delete a software package, it cannot be deleted. The relationship will be analyzed. Only through rpm Remove the software package
ubanto atp- get is equivalent to yum in centos
Basic software and libraries are installed using yum
Ordinary software needs to be compiled and installed by yourself
The compilation software needs to be used