Edit
/etc/yum.repos.d/CentOS-Base.repo
Comment out the “mirrorlist” entries.
Uncomment the “baseurl” entries and change them to
http://vault.centos.org/4.9/os/$basearch
nJoy 😉
Edit
/etc/yum.repos.d/CentOS-Base.repo
Comment out the “mirrorlist” entries.
Uncomment the “baseurl” entries and change them to
http://vault.centos.org/4.9/os/$basearch
nJoy 😉
It is sometimes useful not only to know your repo list covers you for all the stack of software you want but also where does a package actually reside.
The repoquery command comes to the rescue.
EPEL stands for Extra Packages for Enterprise Linux. This is a massive collection of packages that are very useful for the building of many modern stacks and include many tools for the running and maintenance of systems.
The homepage of EPEL is here: http://fedoraproject.org/wiki/EPEL.
You can browse the package set using repoview:
Installing on Centos 5.x & 6.x:
For EL5:
su -c 'rpm -Uvh http://mirror.switch.ch/ftp/mirror/epel/5/i386/epel-release-5-4.noarch.rpm' ... su -c 'yum install puppet'
For EL6:
su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm' ... su -c 'yum install puppet'
For EL7
sudo yum install epel-release
The yum message “Warning: RPMDB altered outside of yum.” or, as the yum message said for a few months, “Warning: RPMDB has been altered since the last yum transaction.” means some application has altered the rpm database (installed or removed a package) without going through the Yum APIs. This is almost always due to someone using rpm directly (Ie. rpm -ivh blah.rpm), but another possibility is an application built on top of the rpm APIs (Ie. smart, apt, zypp). While it’s possible that someone has hacked your machine and altered the rpmdb maliciously, it would have to be done poorly to trigger this warning.
There are three main sets of reasoning behind bringing this to the users attention.
There are now a few features in yum, requested by users of the package management system, that require yum is aware of all package actions on the system. Here a few of the current ones:
This is not a complete list, and as more package management features are implemented they are much more likely to be implemented at the yum layer than at the rpm layer. Not because rpm is bad, but for the same reasons that the above features were implemented in yum, it’s much easier and faster to implement them there.
# yum clean all
EPEL (Extra Packages for Enterprise Linux) is a repository of (as the name implies) A collection of packages not directly released with the given linux distribution release cycle. By default these packages are not available but all the wiring in the amazon AMI instance is already done all one needs to do is enable it. To do so check the two following ways.
Modify /etc/yum.repos.d/epel.repo.
Under the section marked [epel], change enabled=0 to enabled=1.
To temporarily enable the EPEL 6 repository, use the yum enablerpo option :
--enablerepo=epel.
Example
yum search iperf --enablerepo=epel
This will return :

That’s it short and sweet 😛