yum is an interactive tool or automated update program which can be used for maintaining systems using rpm (read as RedHat and friends).
It allows you to install single package or group of package. For example let us say you are running a web server with PHP+MySQL. Now you need complete development environment i.e gcc C/C++ compilers, subversion cvs, perl and related libraries. You can install them in one shot with the following command:
# yum groupinstall 'Development Tools'
You can remove all developer tools with the following command:
# yum groupremove 'Development Tools'
Or better update all tools to latest version:
# yum groupupdate 'Development Tools'
You can obtain list of all groups with the following command:
# yum grouplist | less
Installed Groups: Compatibility Arch Support Editors MySQL Database PostgreSQL Database System Tools Text-based Internet Web Server Available Groups: Administration Tools Authoring and Publishing Compatibility Arch Development Support DNS Name Server Development Tools Eclipse Engineering and Scientific FTP Server GNOME Desktop Environment GNOME Software Development Games and Entertainment Graphical Internet Graphics Java Development KDE (K Desktop Environment) KDE Software Development Language Support Legacy Network Server Legacy Software Development Mail Server Network Servers News Server Office/Productivity Printing Support Server Configuration Tools Sound and Video Windows File Server X Software Development X Window System XFCE XFCE Software Development Done
You can also gather information about all packages that belongs to a group:
# yum groupinfo 'Development Tools'
This is a handy feature, to install or remove software(s). If any one has more information about similar options (w/o front-end) for apt-get command, then please comment it back below.
- Fedora core Linux yum mini how-to
- Please consult man page of yum and yum.conf for more information.