Centos6.x 几个常用源配置

要学好Linux,是要不断折腾的。然而,连我这个自以为很有耐心的人都对Linux繁琐的配置心碎了。于是,不断总结自学Linux过程中的点点滴滴。本文是Centos6.3的源安装,----未涉及配置,若想配置请cd 至/etc/yum.repos.d自行配置,但是应该适用于Centos6.x系列的。本文会更新,继续增加我用到的源。

1、rpmforge的rpm文件包

    32位系统
        wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-1.el6.rf.i686.rpm

    64位系统
        rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

    安装rpmforge的rpm文件包
        rpm -ivh rpmforge-release-0.5.2-1.el6.rf.i686.rpm

2、epel-release
    64位:
              rpm -Uvh http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm

3、ELRepo源
    Import the public key:
        rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
    To install ELRepo for RHEL-5, SL-5 or CentOS-5:
        rpm -Uvh http://elrepo.org/elrepo-release-5-4.el5.elrepo.noarch.rpm
    To install ELRepo for RHEL-6, SL-6 or CentOS-6:

        rpm -Uvh http://elrepo.org/elrepo-release-6-5.el6.elrepo.noarch.rpm


4、rpmfusion源
    rpmfusion-free:
        rpm -Uvh http://download1.rpmfusion.org/free/el/updates/6/x86_64/rpmfusion-free-release-6-1.noarch.rpm
    rpmfusion-nonefree:

        rpm -Uvh http://download1.rpmfusion.org/nonfree/el/updates/6/x86_64/rpmfusion-nonfree-release-6-1.noarch.rpm


5、PU_IAS 6源
    rpm -Uvh http://puias.math.ias.edu/data/puias/6/x86_64/os/Packages/springdale-core-6-2.sdl6.10.noarch.rpm

你可能感兴趣的:(linux,centos)