Yum
Yum(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及CentOS中的Shell前端软件包管理器。基于RPM包管理,能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖的软件包,无须繁琐地一次次下载、安装。
在线yum仓库:
- http://mirrors.ustc.edu.cn/centos/6/os/x86_64/ 中国官方镜像网站
- http://mirrors.163.com/centos/6/os/x86_64/ 网易开源镜像站
- https://mirrors.aliyun.com/centos/6/os/x86_64/ 阿里云镜像站
1
创建本地yum仓库
- 删除仓库目录中其他配置文件
ls /etc/yum.repos.d
rm -rf /etc/yum.repos.d/*
- 创建/编辑仓库配置文件
vim /etc/yum.repos.d/localyum.repo
2
- 清理缓存
yum clean all
- 相关操作
yum install
yum remove
yum list wireshark