Yum groupinstall may save your hours!

Friday September 12thLinux, Tutorial, Web Hosting Category



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.

2 Trackbacks/Pingbacks

  1. Pingback: Fedora 11 Annoyances (Plus Fixes) « Software Configuration Tips from an Idiot on June 24, 2009
  2. Pingback: Install and configure FFmpeg and FFpeg-Php in cPanel server | Control Panel Blog on January 27, 2010

3 Comments

  1. Gabriel – Afportal
    December 30, 2008

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

  2. Edoardo Ceccarelli
    January 9, 2009

    Thanks a lot, this is really a good tip!

  3. admin
    January 27, 2009

    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

Leave a comment

yum groupinstall - yum groupinstall development tools - Yum groupinstall "Development Tools" - yum groupinstall 'Development Tools' - yum groupinstall development - yum groupinstall - yum install categories - yum groupinstall " Development tools - yum development tools - yum groupinstall \'Development Libraries\' - groupinstall yum rpm - yum groupinstall categories - yum groupinstall names - yum groupinstall web - yum available groups missing - installing gcc yum development libraries - yum grouoinstall development tools - yum groupinstall Graphical Internet - yum groupinstall web server - y15 - yum groupinstall group names - "yum groupinstall" - what is groupinstall - yum group web development - yum groupinstall arch - "yum groupinfo " - group install - yum groupinstall "Development Tools" list - yum grouplist new group - groupinstall - how to setup yum installgroup - yum php group install - group install gcc - groupinstall web server mysql - yum groupinstall php - yum -y groupinstall “Development-Tools” - getting started with yum development - groupinstall development - yum groupinstall ‘Development Tools’ - yum install groupinstall -

Size

Colors