Administration
  Home arrow Administration arrow Page 3 - Linux Administration: Installing Software
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
Google.com  
ADMINISTRATION

Linux Administration: Installing Software
By: McGraw-Hill/Osborne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 30
    2004-11-02


    Table of Contents:
  • Linux Administration: Installing Software
  • Installing a New Package
  • Uninstalling a Package
  • Compile and Install GNU Software
  • Looking for Documentation
  • Installing the Package and Testing the Software
  • Common Software Problems
  • Cleanup and When There is No Configure Script
  • Compiling and Installing a GNU Program
  • Project Summary

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Linux Administration: Installing Software - Uninstalling a Package
    ( Page 3 of 10 )

    Uninstalling packages with RPM is just as easy as installing them. In most cases, all you will need to type is

    [root@ford /root]# rpm -e packagename

    where packagename is the name of the package as listed in rpm -qa.

    Verifying an RPM

    A very cool option to the RPM tool is the ability to verify a package. What happens is RPM looks at the package information in its database, which is assumed to be good. It then compares that information with the binaries and files that are on your system. Unfortunately, in today’s Internet world, where being hacked is a real possibility, this kind of test should tell you instantly if anyone has done something to your system (see Module 11 for tips on securing your system from attacks). For example, if you want to verify that the /bin/ls command is valid, you would type:

    [root@ford /root]# rpm –Vf /bin/ls

    If everything is okay with /bin/ls, nothing will be displayed to the terminal. If something is wrong, RPM will inform you of what test failed. Some example tests are the MD5 checksum test, file size, and modification times. The moral of the story is: RPM is an ally in finding out what is wrong with your system. If you suspect several things might be wrong, you can verify all installed packages on your system by typing:

    [root@ford /root]# rpm –Va

    This command verifies all of the packages installed on your system. That’s a lot of files, so you might have to give it some time to complete.

    GUI RPM Installers

    For those who like a good GUI tool to help simplify their lives, there are several package managers included with your distribution. Gnorpm is a good GNOME tool that will typically work under KDE as well. It performs all of the functions that the command-line version does without forcing you to remember command-line parameters. Of course, this comes at the price of not being scriptable, but that’s why you have the command-line version, too.

    Progress Check

    1. What does RPM stand for? (Red Hat Package Manager)
    2. What command is used to query the RPM database? (rpm -q)

    This chapter is from Linux Administration, A Beginner's Guide, third edition, by Graham and Shah. (McGraw-Hill/Osborne, 2002, ISBN: 0072225629). Check it out at your favorite bookstore today.

    Buy this book now.



     
     
    >>> More Administration Articles          >>> More By McGraw-Hill/Osborne
     

       

    ADMINISTRATION ARTICLES

    - Network Booting via PXE: the Basics
    - Scalix: Linux Administrator`s Guide
    - Network Administration with FreeBSD 7
    - Components of an Information Architecture
    - The Anatomy of an Information Architecture
    - Configuring Load-Balanced Clusters
    - Load-Balanced Clusters
    - UNIX Time Format Demystified
    - Making Changes in the CVS
    - Building Your First CVS Repository
    - CVS Quickstart Guide
    - Authorizing Users in Samba
    - Handling User Accounts in Samba
    - Authentication in Samba
    - Accounts, Authentication, and Authorization





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek