Wednesday, 27 October 2010

Installing groups of software on CentOS after installation

I've been building a pair of CentOS VM's for a project I'm working on (I'll detail more on that later) which i've found I've not installed all the prerequisite packages. Unfortunately this list is in category as per the installer, not per rpm.

I really didn't want to re-install as I've done a lot of configuration, luckily after some quick googling I found the answer, yum grouplist will show you what the install groups are, and yum groupinstall will install the entire group.

So in my case...

yum --enablerepo=c5-media groupinstall "Editors" "Graphical Internet" "Text-based Internet" "Development Libraries" "Development Tools" "Legacy Software Development" "Server Configuration Tools" "Administration Tools" "Base" "Java" "Legacy Software Support" "System Tools" "X Window System"

No comments: