Yum groupinstall may save your hours!

Today I have purchased another new VPS to play with nginx web server. After getting the login info, I tried to compile the nginx source. But I found that no development libraries were installed. So I started to install one by one:

yum install gcc

yum install glibc

yum install make

and so on. [Note: these can be run as yum install gcc glibc make this way]

anyway, each time I run the configure script, I find something is missing. Later, groupinstall splashed in my mind. Though I know about its functionalities, I have never used it before. But I failed trying like:

yum groupinstall development

or

yum groupinstall development-tools

etc.

Later I found the trick to know the groups name.

yum grouplist will show all available groups name. After hit the return key you will get a list like the following:

Administration Tools
Compatibility Arch Support
Editors
Development Tools
GNOME Desktop Environment
GNOME Software Development
Games and Entertainment
Graphical Internet
Graphics
Mail Server

…..

You should see them in two categories. “Installed” and “Available”. You know what they mean.

Now we know the all available groups name. So its time to execute. I needed the development libraries. So I run

yum groupinstall “Development Tools”

You should type the name as shown in the list including the quotation marks. It will install everything on that group.

Be careful before using it. It may install many unnecessary things. Use it where it is really necessary.

  • Hey there.. You’ve done a good job Really!! I’m installing this now.. As far i don’t see any inconveniences.. Everything works.. But i have one question.. Which default packages will be installed when using ‘yum groupinstall??

  • Thanks a lot, this is really a good tip!

  • admin

    Hello Gabriel,
    Sorry for delay. To see info of any specific group run the following command:
    yum groupinfo ‘grouname’

    if you want to know what packages are in Development Tools group then run it:
    yum groupinfo ‘Development Tools’.

    Again you can see the list of available groups by running the following command:
    yum grouplist

    hope this helps.

    thanks

  • Pingback: Fedora 11 Annoyances (Plus Fixes) « Software Configuration Tips from an Idiot()

  • Pingback: Install and configure FFmpeg and FFpeg-Php in cPanel server | Control Panel Blog()

  • anonymous

    Nice, thanks a lot for your post! Helped me alot 🙂

  • mustafa

    hello man,

    I wanna do that you told. But i use ubuntu 12.04. And how can i write the command yum groupinstall “Development Tools”

  • The HungryCoder

    Sorry, you can’t use this in Ubuntu.

  • Jous

    yum groupinstall “Development tools”

    lower case T