Results 1 to 4 of 4

Thread: How to install tar files

  1. #1
    Join Date
    Nov 2009
    Posts
    333

    How to install tar files

    Hi everyone
    I am new to linux. I have installed fedora 11 on my computer. I looks nice but truly speaking I have no much idea about the operating system yet. By for sure, I will learn it. It have installed some .rpm packages on my computer and they were installed successfully. My question is that on most of the web sites I see tar files for downloading. What does these tar files mean and how to install them, that is what are the command to install them. Please help

  2. #2
    Join Date
    May 2008
    Posts
    3,316

    Re: How to install tar files

    Hello
    A tar file is actually called a tarball file, basically it is a compressed file. Most it is compressed with gzip or bzip2 programs. Most you will find it in the form .tar.gz. Just follow the steps and you can then install a tarball files.
    1) Extract the tarball file using the following command
    Code:
    tar -zxvf file.tar.gz
    This is for, if the tarball file is compressed with gzip
    Code:
    tar -jxvf file.tar.bz2
    And This is for, if the tarball file is compressed with bzip2
    2) After you have finished with the extraction move to the that directory and locate the documentation. Usually you will find an readme or install file in this directory or there will be a sub directory with name doc or something like that. From there you have to read how to install the software.
    3) The install procedure is same for mostly all tar files. Now you have to compile the source format.
    Code:
    ./configure
    4) Then you have to build the source files, issue the following command
    Code:
    make
    5) And finally you have to install the package
    Code:
    make install
    I hope that now you can install a tarball file, it not that hard. If any more queries, post back again.

  3. #3
    Join Date
    Nov 2009
    Posts
    333

    Re: How to install tar files

    Hi
    Thanks for the reply and for you informative post
    I have a few more questions. Can all these files be extracted in fedora. And also I am confused to where to issue these command. Please help.
    Code:
    ./configure
    make
    make install
    Any advice or suggestion will be appreciated.

  4. #4
    Join Date
    May 2008
    Posts
    3,316

    Re: How to install tar files

    Hi
    The commands which you are talking about are to be issued in the terminal.
    Code:
    ./configure
    make
    make install
    And remember one thing that you have to be in the extracted directory. And then issue the command one by one in the same order as shown above. Feel free to ask.

Similar Threads

  1. Not able to Install the jar files on N70
    By Daniela007 in forum Portable Devices
    Replies: 4
    Last Post: 17-04-2010, 02:08 AM
  2. How to install jar files in 5530?
    By Gomeler in forum Portable Devices
    Replies: 3
    Last Post: 13-11-2009, 02:20 PM
  3. How to install CAB files on Pocket PC
    By Crawdaddy in forum Portable Devices
    Replies: 3
    Last Post: 11-07-2009, 11:02 AM
  4. How to install rpm files in ubuntu
    By Patio in forum Operating Systems
    Replies: 3
    Last Post: 03-04-2009, 05:21 PM
  5. How to install .DLL files ?
    By Szymon in forum Operating Systems
    Replies: 3
    Last Post: 05-03-2009, 10:11 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,887,641.85607 seconds with 16 queries