Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

NOTE: CentOS Enterprise Linux is built from the Red Hat Enterprise Linux source code. Other than logo and name changes CentOS Enterprise Linux is compatible with the equivalent Red Hat version. This document applies equally to both Red Hat and CentOS Enterprise Linux.

Chapter 16. Package Management Tool

During installation, a default set of software packages are installed. Because people use their computers differently, users might want to install or remove packages after installation. The Package Management Tool allows users to perform these actions.

The X Window System is required to run the Package Management Tool. To start the application, go to Applications (the main menu on the panel) => System Settings => Add/Remove Applications, or type the command system-config-packages at shell prompt.

The same interface automatically appears when you insert the Red Hat Enterprise Linux CD #1 into your computer.

Figure 16-1. Package Management Tool

The interface for this application is similar to the one used for individual package selection during installation. Packages are divided into package groups, which contain a list of standard packages and extra packages that share common functionality. For example, the Graphical Internet group contains a Web browser, email client, and other graphical programs used to connected to the Internet. The standard packages can not be selected for removal unless the entire package group is removed. The extra packages are optional packages that can be selected for installation or removal, as long as the package group is selected.

The main window shows a list of package groups. If the package group has a checkmark in the checkbox beside it, packages from that group are currently installed. To view the individual packages list for a group, click the Details link beside it. Individual packages with a checkmark beside them are currently installed.

16.1. Installing Packages

To install standard packages from a package group that is not currently installed, check the checkbox beside that package group. To customize the packages to be installed within a group, click the Details link beside it. The list of standard and extra packages is displayed, as shown in Figure 16-2. Clicking on the package name displays the disk space required to install the package at the bottom of the window. Checking the checkbox beside the package name marks it for installation.

You can also select individual packages from already installed package groups by clicking the Details link and checking any of the extra packages not already installed.

Figure 16-2. Individual Package Selection

After selecting package groups and individual packages to install, click the Update button on the main window. Information such as the number of packages to be installed and the amount of disk space required to install the packages, as well as any package dependencies, is displayed in a summary window. If there are package dependencies, they are automatically added to the list of packages to install. Click the Show Details button to view the complete list of packages to be installed.

Figure 16-3. Package Installation Summary

Click Continue to start the installation process. When it is finished, an Update Complete message appears.

Tip Tip
 

If you use Nautilus to manage the files and directories on your computer, you can also use it to install packages. In Nautilus, go to the directory that contains an RPM package (they usually end in .rpm), and double-click on the RPM icon.

 
 
  Published under the terms of the GNU General Public License Design by Interspire