Repoforge用在Redhat和CentOS中

来源:互联网 发布:淘宝上的12号塑料弹壳 编辑:程序博客网 时间:2024/04/29 04:58

First download the appropriate rpmforge-release package for your distribution:

  • EL 7: x86_64
  • EL 6: i686, x86_64
  • EL 5: i386, x86_64, ppc
  • EL 4: i386, x86_64, ppc
  • EL 3: i386, x86_64

Then you can use rpm or yum to install the downloaded package. The package installation will enable the RepoForge repo for subsequent use via yum.

More detailed instructions and recommendations are available on the CentOS wiki.

Hints:

  • Use cat /etc/redhat-release to find which release of EL you are using
  • Use uname -a to find your processor architecture
  • Use rpm -ivh package-filename to install the rpmforge-release package (also works with URLs)
  • You can use wget or curl to download the package using one of the above links if needed (for example on a server with no X Window)
  • Then you can use yum to install the available packages from the RepoForge repo, e.g. yum install --enablerepo=rpmforge-extras`
  • Afterward, you can disable accidental updates from the repo by setting enabled = 0 in the repo definition file in/etc/yum.repos.d/

The RepoForge project maintains RPM packages for: * Red Hat Enterprise Linux (RHEL) * CentOS * Scientific Linux

We provide a set of repositories compatible with various RHEL versions, providing packages for: - Servers (eg. monitoring, troubleshooting, management) - Desktops (eg. office, leisure, multi-media) - Development (eg. perl, python, ruby libraries)

for example

For RHEL/CentOS 7 64 Bit
# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
# rpm -Uvh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm



0 0
原创粉丝点击