Find the answer to your Linux question:
Results 1 to 3 of 3
I downloaded some programs from the net that are in a installer.tar.gz format. How do I make these programs run?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    1

    software installation


    I downloaded some programs from the net that are in a installer.tar.gz format. How do I make these programs run?

  2. #2
    Just Joined!
    Join Date
    Mar 2005
    Location
    Northern Ireland
    Posts
    23
    Check the website where you got the software from; look for install documentation etc... In a nutshell source files provided in tar.gz format need to be uncompressed, configured, compiled and installed.

    So first off uncompress the software:

    Code:
     $ gunzip -cd software.tar.gz | tar -xvf -
    Then cd into the software directory just created. Then check the INSTALL and README files - these are usually provided by the software author to tell you how to install - make sure to read them!

    But basically after you uncompress the software you run this sequence:

    Code:
     
    $ ./configure 
    
    $ make
    
    $ su
    # make install
    The configure command will usually take extra arugments (as to where to install to, any extra features you want, etc) - so as I said make sure to read the INSTALL / README files...

    e.g. a good example is ./configure --prefix=/my/install/path to install the software into /my/install/path

    make will compile the softare up; make install (as root) will install the software.


    Make sure to note the ouput from each command, e.g. if ./configure doesn't work then make ain't gonna work etc... You'll need to have a compiler installed (gcc is the usual suspect) and make utilities ; and if the software needs extra stuff you don't have ./configure will tell you.

  3. #3
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    Quote Originally Posted by dtodd
    So first off uncompress the software:

    Code:
     $ gunzip -cd software.tar.gz | tar -xvf -
    can be dome as
    Code:
    tar xzvf filename.tar.gz
    and for .bz2's:
    Code:
    tar xjvf filename.tar.bz2
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •