epel
企業(yè)版 Linux 附加軟件包(EPEL)是一個由特別興趣小組創(chuàng)建、維護并管理的袭蝗,針對 紅帽企業(yè)版 Linux(RHEL)及其衍生發(fā)行版(比如 CentOS波势、Scientific Linux、Oracle Enterprise Linux)的一個高質(zhì)量附加軟件包項目琳拭。
EPEL 的軟件包通常不會與企業(yè)版 Linux 官方源中的軟件包發(fā)生沖突刻伊,或者互相替換文件露戒。EPEL 項目與 Fedora 基本一致,包含完整的構(gòu)建系統(tǒng)捶箱、升級管理器智什、鏡像管理器等等。
Geany
Geany 是一個小巧的使用 GTK+2 開發(fā)的跨平臺的開源集成開發(fā)環(huán)境丁屎,以 GPL 許可證分發(fā)源代碼荠锭,是免費的自由軟件。
0 我的系統(tǒng)環(huán)境
[root@BaluRH /]# uname -a
Linux BaluRH 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
1 安裝 epel
安裝 epel 的原因是晨川,RedHat 原有的 yum 源中可能會沒有 Geany(如果已有的話就可以忽略這一步证九,直接安裝 Geany)删豺,而 epel 中是有 Geany 可用的。
找了幾個不同的 epel 源愧怜,發(fā)現(xiàn) Sohu 鏡像站訪問比較流暢呀页。安裝的時候注意選擇與操作系統(tǒng)版本對應(yīng)的 rpm 包。
## 先安裝 epel 的 rpm 包:
rpm -ivh http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
## 再導(dǎo)入 key:
rpm --import http://mirrors.sohu.com/fedora-epel/RPM-GPG-KEY-EPEL-6
安裝好 epel 源后拥坛,還要在 repo 中設(shè)置 epel 源的優(yōu)先級:在 [epel]
中添加一行priority=11
cd /etc/yum.repos.d/
vim epel.repo
2 安裝 Geany
把 epel 源配置好以后蓬蝶,安裝就很簡單了
yum install geany
執(zhí)行 intall 命令后,shell 輸出命令:
[root@BaluRH geany]# yum install geany
已加載插件:aliases, changelog, fastestmirror, product-id, refresh-packagekit, security, subscription-manager, verify, versionlock
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
設(shè)置安裝進程
Loading mirror speeds from cached hostfile
* epel: mirror01.idc.hinet.net
解決依賴關(guān)系
--> 執(zhí)行事務(wù)檢查
---> Package geany.x86_64 0:1.24.1-1.el6 will be 安裝
--> 完成依賴關(guān)系計算
依賴關(guān)系解決
======================================================================================================================================================================================================
軟件包 架構(gòu) 版本 倉庫 大小
======================================================================================================================================================================================================
正在安裝:
geany x86_64 1.24.1-1.el6 epel 3.5 M
事務(wù)概要
======================================================================================================================================================================================================
Install 1 Package(s)
總下載量:3.5 M
Installed size: 14 M
確定嗎猜惋?[y/N]:y
下載軟件包:
geany-1.24.1-1.el6.x86_64.rpm | 3.5 MB 00:00
運行 rpm_check_debug
執(zhí)行事務(wù)測試
事務(wù)測試成功
執(zhí)行事務(wù)
Warning: RPMDB altered outside of yum.
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
rhn-check-1.0.0.1-16.el6.noarch has missing requires of yum-rhn-plugin >= ('0', '0.9.1', '35')
正在安裝 : geany-1.24.1-1.el6.x86_64 1/1
Verifying : geany-1.24.1-1.el6.x86_64 1/1
已安裝:
geany.x86_64 0:1.24.1-1.el6
完畢疾党!
[root@BaluRH geany]# cd /
參考文章:
RHEL 6 上安裝 yum 以及 epel源
Linux / Unix: Install and Use Geany Integrated Development Environment