手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

Linux系统入门学习:在Linux命令行中刻录ISO或NRG镜像到DVD

[日期:2014-10-24] 来源:Linux中国  作者:Linux [字体: ]

How to set up RPMforge (now called Repoforge) repository on CentOS

Repoforge, previously known as RPMforge, maintains a repository of RPM packages for Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux. If you are a RHEL or CentOS user, I strongly suggest you set up Repoforge repository on your system, as it contains many useful software packages that are not available in existing stock repositories.

In order to set up Repoforge repository on CentOS, you first need to know the version of your CentOS as well as the underlying process architecture.

To find out which release version of CentOS you are using:

$ cat /etc/RedHat-release
CentOS release 6.3 (Final)


To check whether your CentOS is 32-bit (i.e., i686) or 64-bit (i.e., x86_64) based:

$ uname -a
Linux centos.domain 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux


Now that you know enough about your CentOS system, let's go ahead and install RPMforge on CentOS.

For 32-bit CentOS 6.*:

$ sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm

For 64-bit CentOS 6.*:

$ sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm


For 32-bit CentOS 5.*:

$ sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i386.rpm


For 64-bit CentOS 5.*:

$ sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm


Once RPMforge is installed on your system, you can use yum to install all available packages from the Repoforge repo.

linux
相关资讯       Linux刻录ISO 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款