1、首先配置epel源: (1)下載epel源epel-release-5-4.noarch.rpm并安裝,,然后yum install bluefish即可,。 2、系統(tǒng)默認(rèn)帶的YUM源有時(shí)候不能滿(mǎn)足需求,,故使用fedora epelyum源是個(gè)不錯(cuò)的選擇,,epel所對(duì)應(yīng)的RHEL7和Centos7已經(jīng)出來(lái)了,替換方法如下: Epel介紹 具體請(qǐng)參見(jiàn):http:///wiki/EPEL 如何安裝 Epel源到 RHEL/CentOS 7/6/5? (1)通過(guò)wget命令下載RPM文件,,然后安裝,。 RHEL/CentOS 7 64 Bit # wget http://dl./pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm wget http://dl./pub/epel/epel-release-latest-7.noarch.rpm # rpm -ivh epel-release-7-0.2.noarch.rpm RHEL/CentOS 6 32-64 Bit ## RHEL/CentOS 6 32-Bit ## # wget http://download./pub/epel/6/i386/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm ## RHEL/CentOS 6 64-Bit ## # wget http://download./pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm RHEL/CentOS 5 32-64 Bit ## RHEL/CentOS 5 32-Bit ## # wget http://download./pub/epel/5/i386/epel-release-5-4.noarch.rpm # rpm -ivh epel-release-5-4.noarch.rpm ## RHEL/CentOS 5 64-Bit ## # wget http://download./pub/epel/5/x86_64/epel-release-5-4.noarch.rpm # rpm -ivh epel-release-5-4.noarch.rpm RHEL/CentOS 4 32-64 Bit ## RHEL/CentOS 4 32-Bit ## # wget http://download./pub/epel/4/i386/epel-release-4-10.noarch.rpm # rpm -ivh epel-release-4-10.noarch.rpm ## RHEL/CentOS 4 64-Bit ## # wget http://download./pub/epel/4/x86_64/epel-release-4-10.noarch.rpm # rpm -ivh epel-release-4-10.noarch.rpm 如何檢查epel是否安裝成功? 使用一下命令: # yum repolist 輸出如下 [root@Lixiaolong ~]# yum repolist Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.yun-idc.com * epel: ftp.sjtu.edu.cn * extras: mirrors.yun-idc.com * updates: mirrors.yun-idc.com repo id repo name status base/7/x86_64 CentOS-7 - Base 8,465 epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 5,036 extras/7/x86_64 CentOS-7 - Extras 30 updates/7/x86_64 CentOS-7 - Updates 423 repolist: 13,954 [root@Lixiaolong ~]# 如何使用epel源安裝軟件,? 例如想查看cacti信息 # yum --enablerepo=epel info cacti 安裝則執(zhí)行以下命令: # yum --enablerepo=epel install cacti Note: Epel的配置文件在/etc/yum.repos.d/epel.repo. |
|
來(lái)自: 我本無(wú)我O > 《Linux操作系統(tǒng)》