Group installation of packages in RHEL/Fedora Linux

With yum, you can easily install a group of packages with a simple command. A collection of packages which deal with a particular purpose is called a group. Various examples include

  1. Administration Tools
  2. Authoring and Publishing
  3. Dial-up Networking Support
  4. Editors
  5. Electronic Lab
  6. Fonts
  7. GNOME Desktop Environment
  8. GNOME Software Development
  9. Games and Entertainment

To check what are the available groups in your system, you can make use of grouplist option of yum.

Now once you have decided a group, you can easily install the group of packages with groupinstall option. Let’s take an example of editors. Let’s install the group ‘Editors”.

NOTE: Don’t forget the put the group name in quotation marks. If you forget to put it, group names with two ore more words are taken as two separate words, which may result in failures.

So, we will use quotation marks for group names, irrespective of whether they are one, two or three words group names

# yum groupinstall "Editors"
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Group Process
Package 2:vim-enhanced-7.3.056-1.fc14.i686 already installed and latest version
No packages in any requested group available to install or update

The default package is already installed in the above case. Let’s see some other installation of a group. Try “Sound and Video”

# yum groupinstall "Sound and Video"
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Group Process
Package alsa-utils-1.0.23-3.fc14.i686 already installed and latest version
Package 1:totem-nautilus-2.32.0-1.fc14.i686 already installed and latest version
Package pulseaudio-module-bluetooth-0.9.21-7.fc14.i686 already installed and latest version
Package pulseaudio-utils-0.9.21-7.fc14.i686 already installed and latest version
Package pulseaudio-0.9.21-7.fc14.i686 already installed and latest version
Package 1:totem-2.32.0-1.fc14.i686 already installed and latest version
Package 1:totem-mozplugin-2.32.0-1.fc14.i686 already installed and latest version
Package alsa-plugins-pulseaudio-1.0.22-1.fc13.i686 already installed and latest version
Package cdparanoia-10.2-9.fc13.i686 already installed and latest version
Package sound-juicer-2.32.0-2.fc14.i686 already installed and latest version
Package brasero-2.32.0-1.fc14.i686 already installed and latest version
....
Install       1 Package(s)
Upgrade      15 Package(s)

Total download size: 8.7 M
Is this ok [y/N]:

It’s a snippet of the output. So you see groupinstall is capable of installing a set of packages capable of performing a task

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s