Skip to main content

Recent Articles

Managing Linux Software With yum and rpm

I have been planning to update this article to contain detailed information on configuring and using yum to manage Linux software. Sorry for the delay, but there are only so many hours in the day. For the moment, the best resource for learning about yum is the official documentation at Managing Software with yum. Meanwhile, here is some background on RPM, which is the technology underneath yum.

RPM is the Red Hat Package Manager. Red Hat invented the thing, so naturally you will find it in Red Hat Enterprise Linux as well as their less commercial Fedora distro. It is also supported by S.u.S.E. Software gets wrapped up into these RPM packages that you can download from the Internet. You use the rpm utility to install them, and it keeps track of version information and changes made by the install so the package can be uninstalled or upgraded later if you choose.

Where did the files go?

After you have installed your software, you may be left asking, Now what?

You are probably staring at a command prompt or a message saying your software package has been installed. But where did it go? How do you start the program? This is one of those mystical Linux moments when you realize that you are a fish and this is not the water you are used to.

If you are using a graphical desktop (KDE or Gnome), the good news is that your newly installed program probably also has a newly installed icon and entry in your programs menu. The bad news is that the menu is so large and poorly organized on most systems that you may not be able to find it.

Editing files with vi

The thing you have to understand about vi and its work-alike editors is modality. Most programs have just one mode, accepting input and placing it at the cursor. This is what you probably expect from a program. But vi has other modes. When you start vi, you'll be in "Normal" mode, which is really command mode. When you are in Normal mode, whatever you type is considered not to be input, but commands that vi will try to execute.