yum install concise version
yum installation
[Root@localhost media]#mount /dev/cdrom /mnt ###Mount command
cd /etc/yum.repos.d/
vim local.repo
[local] #Warehouse category
name=local
#Warehouse name baseurl=file:///mnt #The specified URL access path is the CD mount directory
enabled=1
#Open this yum source, this is the default item, you can omit gpgcheck=0 # Do not verify the signature of the package
yum clean all && yum makecache delete yum cache and update
yum -y install software name# install and upgrade the software package, "-y" option means to automatically confirm
yum -y remove software name# uninstall, which can automatically resolve its dependencies