Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Sep 042010
 

Yum repository mirror for old CentOS' versions

Answer:

Most CentOS' mirrors don't host full mirror of Yum repository for all versions of CentOS. If you are using older version of CentOS, you might one-day found the yum update is broken since the mirror no longer contains the files you needed.

In this case, you can modify the file /etc/yum.repos.d/CentOS-Base.repo and change all paths point to the following:

..
baseurl=http://vault.centos.org/...
..

Then do a yum update to reflect the changes.

Jan 012010
 

How to install bulk packages using yum with groupinstall?

Answer:

Sometimes, if you forgot to select "Development Tools" during Fedora/CentOS installations, you can add them later by using one command

yum groupinstall "Development Tools"

Which save you a lot of times from installing the needed packages one by one.

To see what options are available for groupinstall, try

yum grouplist