Linux Classes
Linux Training
* Linux Classes *

LINUX CLASSES - MANAGING LINUX

How Do I Manage Software on a Linux System?

Installing, uninstalling, and upgrading the software packages on your computer is an important part of keeping up with the latest technology, improving your productivity, and efficiently managing your hard disk space.

These skills are especially important when you run Linux, since it is constantly evolving and improving. From time to time, you may want to upgrade certain components of your Linux system or install useful new packages as you learn about them.

Linux has an excellent utility called RPM (Red Hat Package Manager) that makes it painless to install, uninstall, and upgrade software packages. Software distributed in an RPM package comes as a compressed archive, with a special header file that gives information about the package, such as its name, description, version number, size, and author.

Although RPM was created by Red Hat Software, it is available for anyone to use and works on other Linux and Unix systems. The RPM package format has become widely used in recent years and is now the de-facto standard for software distribution in the Linux arena.

RPM Features

Here are some of the features that make RPM so useful and popular.

Intelligent Upgrades

RPM makes it possible to upgrade individual components of your system without completely reinstalling everything. For example, when a new version of the Red Hat Linux operating system is released, you don't have to reinstall the entire system as you do with most other operating systems. Since RPM maintains a database of all the software installed on your system, it can perform intelligent upgrades of your system, replacing old packages with updated versions and removing obsolete ones. Your configuration files are preserved in the process, so you won't lose your customizations.

Package Querying

RPM has many powerful querying options, so you can easily search to find out what software is installed on your system or what package a file belongs to or to get a list of files that belong to a certain package.

System Verification

If you think you may have accidentally deleted a file belonging to a certain package, you can use RPM to verify the package. If RPM finds anything amiss, you can reinstall the package without disturbing any configuration files that you have modified.

Why Use RPM?

Before RPM was developed, most Unix software packages were distributed as compressed tar files, and this arrangement is still fairly common. But if you install software that comes packaged this way, you run certain risks and lose some potential benefits:

· What if the new package overlays certain files that other packages depend upon, and the new version is not compatible with the old one? You could end up rendering one or more packages useless.

· What happens if you want to remove the package from your system? It can be a real nuisance to find all the files associated with a package and manually remove them, without affecting other software that shares common files.

· What if the new version of PandaCalc replaces all your customization files with default versions? You'll have to do all that work again.

RPM solves all these problems--by warning you when new packages may affect existing ones, by providing an intelligent uninstall feature, and by preserving your customization files during upgrades. If you're thinking of downloading and installing some new software, always check to see if an RPM version is available first, and you'll save yourself some trouble later on.

Previous Lesson: Running DOS Programs
Next Lesson: Installing Packages with RPM

[ RETURN TO INDEX ]

Comments (most recent first)

Upendra Chaudhari     (31 Jul 2010, 09:33)
Dear Doctor Bob,

I want to install video player on Red Hat Enterprise Linux (RHEL 5). Please let me about the free software along with download links so that i can install it on my computer.
piyushgarg     (06 Apr 2010, 07:48)
Sir, i want to use data card in red hat 5.1 please give me instructions for using this
dj01     (17 Mar 2010, 03:15)
Dear Doctor Bob.

I have a little problem.
Please help me to solve it.

I have installed ubuntu8.04. I upgraded it up to 9.04 and all was well, but after upgrade to 9.10, after restart I have more error like this:

....
mountall:/proc: unable to mount: device or resource Busy
mountall:/proc/self/mountinfo: no such file or directory
mountall: root filesystem isn't mounted
.....

Can you please help me to solve this?

(My computer AMD X2 4400, 2Gb RAM, Nvidia cipset )

*Name:
Email:
Notify me about new comments on this page
Hide my email
*Text:
 

Ask Bob Rankin - Free Tech Support
<Send This Link to a Friend>         <Bookmark This Page>


Copyright © by Bob Rankin
All rights reserved - Redistribution is allowed only with permission.