Add a package group using up2date command

last updated in Categories

Q. How can I add a package group using up2date command?

A. Update Agent provides a complete system for updating the RPM packages installed on a Red Hat Enterprise Linux system. Both command line and graphical interfaces are included.

Task: Install group package

For example install all Development Tools package i.e. gcc c/c++ compiler and related libs:

Login as root and type the following command:
# up2date -i "@ Development Tools"

Task: List group packages

# up2date --show-groups | more

Read man page of up2date for more information. Please note that above command only works with RHEL version 4.0.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 1 comments/add one below):