yum install concise version

yum install concise version

yum installation

[Root@localhost media]#mount /dev/cdrom /mnt ###Mount command
Insert picture description here
cd /etc/yum.repos.d/
vim local.repo
Insert picture description here

[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

Insert picture description here
yum clean all && yum makecache delete yum cache and update
Insert picture description here
yum -y install software name# install and upgrade the software package, "-y" option means to automatically confirm
Insert picture description here
yum -y remove software name# uninstall, which can automatically resolve its dependencies
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_51614581/article/details/109965629