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.

Bookmark: bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

No related posts.

This entry was posted in Linux, Tutorial, Web Hosting and tagged , . Bookmark the permalink.

5 Responses to Yum groupinstall may save your hours!

  1. 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??

    [Reply]

  2. Thanks a lot, this is really a good tip!

    [Reply]

  3. admin says:

    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

    [Reply]

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

  5. Pingback: Install and configure FFmpeg and FFpeg-Php in cPanel server | Control Panel Blog

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">