1 Viewing the system version:
[Email protected]/]# LSB_RELEASE-ALSB version::core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32: Graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarchdistributor ID:RedHatEnterpriseServerDescription:Red Hat Enterprise Linux Server release 5.8 (tikanga) Release:5.8codename:tikanga
2 Go to this website to download the installation package: http://pkgs.org/
Specific package location: http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/i386/epel-release-5-4.noarch.rpm
[Email protected]/]# wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/i386/epel-release-5-4.noarch.rpm
3 Install this RPM:
[Email protected] saltstack]# RPM-IVH epel-release-5-4.noarch.rpm
4 Check
[email protected] saltstack]# Yum list zvbi.i386 0.2.33-5.el5.1 epel zvbi-devel.i386 0.2.33-5. el5.1 epel zvbi-fonts.i386 0.2.33-5.el5.1 epel .....
5 Installing the RPM Update software Rpmforge
Download:
[Email protected] saltstack]# wget http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/ rpmforge-release-0.3.6-1.el5.rf.i386.rpm--2015-10-06 02:31:15--http://apt.sw.be/redhat/el5/en/i386/rpmforge/ Rpms/rpmforge-release-0.3.6-1.el5.rf.i386.rpmresolving apt.sw.be ... 193.1.193.67Connecting to apt.sw.be|193.1.193.67|:80 ... Connected. HTTP request sent, awaiting response ... oklength:16698 (16K) [application/x-redhat-package-manager]saving to: ' rpmforge-release-0.3.6-1.el5.rf.i386.rpm ' 100%[===========================================>] 16,698 18.4k/s in 0.9s 2015-10-06 02:31:22 (18.4 KB/s)- ' rpmforge-release-0.3.6-1.el5.rf.i386.rpm ' saved [16698/16698]
Installation:
[Email protected] saltstack]# RPM-IVH rpmforge-release-0.3.6-1.el5.rf.i386.rpm Warning: Rpmforge-release-0.3.6-1.el5.rf.i386.rpm:header V3 DSA Signature:nokey, key ID 6b8d79e6preparing ... ##### ###################################### [100%] 1:rpmforge-release ########################################### [100% ]
6 Installation Test:
[[email protected] saltstack]# yum install zziplibloaded plugins: katello, product-id, security, subscription-managerupdating certificate-based Repositories. unable to read consumer identitysetting up install processresolving Dependencies--> running transaction check---> Package zziplib.i386 0:0.13.45-1.el5.rf set to be updated--> finished dependency resolutiondependencies resolved========================================================================== =========== package arch Version Repository size=====================================================================================installing: zziplib i386 0.13.45-1.el5.rf rpmforge 95 kTransaction summary=====================================================================================install 1 package (s) upgrade 0 Package (s) total download size: 95 kis this ok [y/n]: ydownloading Packages:zziplib-0.13.45-1.el5.rf.i386.rpm | 95 kB 00:01 running rpm_check_debugrunning transaction testfinished transaction testtransaction test succeededrunning transaction Installing : zziplib 1/1 Installed products Updated. installed: zziplib.i386 0:0.13.45-1.el5.rf complete! [[email protected] saltstack]#
This article from "Tiandaochouqin" blog, reproduced please contact the author!
Installing Epel-yum repositories for Linux