centos6 - how to add rhel-beta repo on centos 6.2? -


i want install xvfb on centos 6.2 , added repo refered in https://serverfault.com/questions/344793/install-xvfb-via-yum-yum-repository-for-xvfb/361304#361304. found ftp://ftp.redhat.com/pub/redhat/rhel/beta/6/x86_64/os/repodata/repomd.xml invalid now, ...beta/7/... valid. can use repo?

you can follow these steps so. 1) install rpm containing repo definitions

$ su -c 'rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm' 

2) enable optional channel host logging rhn , enabling optional channel. according epel wiki page required resolve package dependencies.

3) make sure epel , optional channel enabled

$ yum repolist 

learn more configuring epel @ fedora wiki.

if prefer configure epel repo hand, follow these steps:

1) root, put following in separate file (with name ending in .repo) in /etc/yum.repos.d:

[epel] name=extra packages enterprise linux 6 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-epel-6  [epel-debuginfo] name=extra packages enterprise linux 6 - $basearch - debug #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch failovermethod=priority enabled=0 gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-epel-6 gpgcheck=1  [epel-source] name=extra packages enterprise linux 6 - $basearch - source #baseurl=http://download.fedoraproject.org/pub/epel/6/srpms mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch failovermethod=priority enabled=0 gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-epel-6 gpgcheck=1 

2) import epel rpm key:

 rpm --import https://fedoraproject.org/static/0608b895.txt 

3) enable optional channel host logging rhn , enabling optional channel. according epel wiki page required resolve package dependencies.

4) make sure epel , optional channel enabled

$ yum repolist ever-present technical support person, paul frields, providing file above way when rhel 6 epel repo rpm not available.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -