如何更新/刷新或添加存储库到 Yum 以安装 alpine 邮件客户端?
thufir@arrakis:~ $
thufir@arrakis:~ $ ll /etc/yum.repos.d/
total 20
-rw-r--r-- 1 root root 2139 Sep 28 2013 CentOS-Base.repo
-rw-r--r-- 1 root root 718 May 31 2013 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root 630 May 31 2013 CentOS-Media.repo
-rw-r--r-- 1 root root 3664 May 31 2013 CentOS-Vault.repo
-rw-r--r-- 1 root root 293 May 31 2013 schmooze.repo
thufir@arrakis:~ $
thufir@arrakis:~ $ cat /etc/redhat-release
CentOS release 6.4 (Final)
thufir@arrakis:~ $
thufir@arrakis:~ $ yum search alpine
Loaded plugins: fastestmirror, refresh-packagekit
Determining fastest mirrors
* base: centos.eecs.wsu.edu
* extras: mirror.spro.net
* updates: mirror.hostduplex.com
schmooze-commercial 171/171
Warning: No matches found for: alpine
No Matches found
thufir@arrakis:~ $
答案1
做:
$ sudo yum install epel-release
$ sudo yum install alpine
第一个将 EPEL 添加到您的存储库列表中,EPEL 提供 alpine。
笔记:还要确保在以下位置启用存储库/etc/yum.repos.d/epel.repo
:
enabled=1
或者从命令行:
$ sudo yum-config-manager --enable epel