Administration
  Home arrow Administration arrow Page 7 - Linux Administration: Installing Softw...
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
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? 
ADMINISTRATION

Linux Administration: Installing Software
By: McGraw-Hill/Osborne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 29
    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:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb 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

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Linux Administration: Installing Software - Common Software Problems
    (Page 7 of 10 )

    The GNU hello program might not seem like a very useful tool, for the most part I will agree it is not. But one valuable thing it provides is the ability to test the compiler on your system. If you’ve just finished the task of upgrading your compiler, compiling this simple program will provide a sanity check that indeed the compiler is working.

    One problem you might run into is when the program can’t find a file of the type “libsomthing.so” and the program terminates because it can’t find the file. This file is what is called a library. This is synonymous with DLLs in Windows. These libraries are stored in several locations on the Linux system and typically reside in /usr/lib/ and /usr/local/lib/. If you have installed a software package in a different location than /usr/local you will have to configure your system or shell to know where to look for those new libraries.

    NOTE  Linux libraries can be located anywhere in your file system. Typically Windows only allows you to store libraries in one location. You’ll see that with the use of NFS you can share a directory (in our case, software from one server) and allow any client using that share to use the software residing on the share. With Windows, you’re stuck installing the software on each and every machine.

    There are two methods for configuring libraries on a Linux system. One is to modify /etc/ld.conf, add the path of your new libraries, and use the ldconfig –m command to load in the new directories. You can also use the LD_LIBRARY_PATH environment variable to hold a list of library directories to look for library files. Read the man page for ld.conf for more information.

    Progress Check

    1. What is the README file used for? (The README file holds information on how to compile/install and use the software.)
    2. What three steps are used to compile a typical GNU software package? (First configure, then make, and then make install.)

    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

    - 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
    - Advanced Concepts on Dealing with Files and ...
    - Dealing with Files and Filesystems
    - More Hacks for the User Environment in BSD
    - Personalizing the User Environment in BSD
    - Customizing the User Environment in BSD

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway