Brief introduction:
Describes two download mechanisms: Yum download, and CDROM cd download
The yum download mechanism is similar to 360 security defender Software Management, 360 software management There are many software lists that can be downloaded automatically with one click.
CDROM equivalent to placing packages on the hard disk on Windows Click Next, the next question-and-answer installation is complete.
Yum Installation Method:
1、先删除本地yum机制,相当于把360卸载了 就不能用360软件管家功能下载了,我们从新配置一个下载机制,相当于替换360软件管家。
2, [[email protected] ~]# Wget-o/etc/yum.repos.d/centos-base.repo Http://mirrors.aliyun.com/repo/Centos-7.repo
Take a look
By the way, look at Centos-base.repo, what's in this bag?
This time to download things will go to Ali provided by the software repository downloaded, before the default is downloaded from abroad
Attached: After the software is installed, in order to free up disk space to remove the package just downloaded
Yum Clean headers #清理/var/cache/yum headers
Yum Clean packages #清理/var/cache/yum Packages
Linux Package Management mechanism