Linux Newbie. Installation Problem

Discussion in 'Open Source' started by antoniobc, Oct 28, 2006.

Thread Status:
Not open for further replies.
  1. antoniobc

    antoniobc New Member

    Joined:
    Jul 28, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Goa
    How to install programs that are in the tar.gz compressed format????
     
  2. [xubz]

    [xubz] "The Cake is a Lie!!"

    Joined:
    Oct 14, 2006
    Messages:
    471
    Likes Received:
    2
    Trophy Points:
    0
    Those are Mostly the Source Files.. i.e. Softwares that are not Compiled Yet..

    Search the Stickies for Help...


    Edit: This Thread is Extremely Useful.
     
  3. mediator

    mediator New Member

    Joined:
    Mar 18, 2005
    Messages:
    2,491
    Likes Received:
    16
    Trophy Points:
    0
    Location:
    In ur Evil Mind!
    1. Extract the folder in tar to a directory, or files in tar to a folder in a directory!!
    2. open terminal and change to that folder
    3. command "./configure"
    4. command "make" //You shud be able to run files now from that directory by commanding "./executable_file_name"
    5. change to root and command "make install" to bring the executables in path!

    Some times there are install scripts like "INSTALL.sh", for that command "sh INSTALL.sh". But u shud read the README file first!
     
  4. JGuru

    JGuru Well-Known Member

    Joined:
    Dec 25, 2005
    Messages:
    1,726
    Likes Received:
    32
    Trophy Points:
    48
    Location:
    Space-time continuum
    First extract the compressed file, open the Terminal Window

    $ gzip -d package.tar.gz

    Now, you'll get a TAR archive file in the same directory.

    $ tar xvf package.tar

    To install a software package:

    $ su -
    # ./install.sh
    Or you may get a file by name package-install.sh
    Also read the file README for full instructions.

    To install the package from the Source code:

    First you should have installed the C/C++ compilers (gcc, g++, etc.,)

    $ ./configure
    $ make
    $ su -
    # make install

    You can follow the steps given by @Mediator, I'm just making things more clearer
    & simple for you to understand.
     
  5. OP
    OP
    antoniobc

    antoniobc New Member

    Joined:
    Jul 28, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Goa
    Thanks guys! This stuff some what makes sense. I understood J Guru. I aint a technical person with respect to Linux. Not yet atleast. Anyways thanks you guys!
     
Thread Status:
Not open for further replies.

Share This Page