Home arrow Site Administration arrow Page 6 - Linux Administration: Installing Software

Installing the Package and Testing the Software - Administration

Three basic software installations are covered here -- using the Red Hat Package Manager, compiling software using the standard GNU compilation method, and compiling and installing the software by hand. (From the book Linux Administration, A Beginner's Guide, third edition by Steven Graham and Steve Shah, McGraw-Hill/Osborne, 0072225629, 2002).

  1. Linux Administration: Installing Software
  2. Installing a New Package
  3. Uninstalling a Package
  4. Compile and Install GNU Software
  5. Looking for Documentation
  6. Installing the Package and Testing the Software
  7. Common Software Problems
  8. Cleanup and When There is No Configure Script
  9. Compiling and Installing a GNU Program
  10. Project Summary
By: McGraw-Hill/Osborne
Rating: starstarstarstarstar / 32
November 02, 2004

print this article



As with the compile stage, the installation stage typically goes smoothly. In most cases, once the compile is done, all you need to run is

[root@ford hello-1.3]# make install

This will start the installation script (which is usually embedded in the makefile). Because make displays each command as it is executing it, you will see a lot of text fly by. Donít worry about it--itís perfectly normal. Unless you see an error message, the package is installed.

If you do see an error message, it is most likely because of permissions problems. Look at the last file it was trying to install before failure, and then go check on all the permissions required to place a file there. You may need to use the chmod, chown, and chgrp commands for this step; see Module 6 for additional details.

Testing the Software

A common mistake administrators make is to go through all of the process of configuring and compiling and then when they install they donít test out the software. Testing the software also needs be done as a regular user, if the software is to be used by non-root users. In our example, you run the hello command to verify the permissions are correct and users wonít have problems running the program. You will quickly change users to make sure the software is usable by everyone. Weíll cover the su command in Module 6.

[root@ford /]# su - sgraham
[sgraham@ford ]-> /usr/local/bin/hello

Hello, world!
[sgraham@ford ]-> exit
[root@ford /]#

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 Site Administration Articles          >>> More By McGraw-Hill/Osborne

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- Coding: Not Just for Developers
- To Support or Not Support IE?
- Administration: Networking OSX and Win 7
- DotNetNuke Gets Social
- Integrating MailChimp with Joomla: Creating ...
- Integrating MailChimp with Joomla: List Mana...
- Integrating MailChimp with Joomla: Building ...
- Integrating MailChimp with Joomla
- More Top WordPress Plugins for Social Media
- Optimizing Security: SSH Public Key Authenti...
- Patches and Rejects in Software Configuratio...
- Configuring a CVS Server
- Managing Code and Teams for Cross-Platform S...
- Software Configuration Management
- Back Up a Joomla Site with Akeeba Backup

Developer Shed Affiliates


Dev Shed Tutorial Topics: