Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Installing with tar

  1. #1
    Senior Member
    Join Date
    Nov 2001
    Posts
    269

    Installing with tar

    I just downloaded a file that is not rpm but tar. I have never installed something in this format before. How is a tar file installed??? Thanks for your time and help.

  2. #2
    Junior Member
    Join Date
    Aug 2001
    Posts
    86

    Re: Installing with tar

    tar xf whatever.tar (this unpacks it)
    pico INSTALL or README (this will give you instructions on installing it)

    *note* if you don't have pico just use another editor to open it or install pine, that is where pico comes from. below are the common commands to finish the job once you unpack it.

    ./configure
    make
    make install

    hope this helps

  3. #3

    Re: Installing with tar

    tar x = extract .tar files
    f = force , ovewrite files
    z = extract .tar.gz files
    (y or j) = extract bz2 files use this in combination
    with x to get tar.bz2 files extracted
    v = verbose , give long output of what is done

  4. #4
    Senior Member
    Join Date
    Nov 2001
    Posts
    269

    Re: Installing with tar

    Thank you very much!
    ------------------------------------------------
    tar xf whatever.tar (this unpacks it)
    pico INSTALL or README (this will give you instructions on installing it)

    *note* if you don't have pico just use another editor to open it or install pine, that is where pico comes from. below are the common commands to finish the job once you unpack it.

    ./configure
    make
    make install

    hope this helps

  5. #5
    Associate
    Join Date
    Dec 2001
    Posts
    14

    Re: Installing with tar

    According to the GNU tar man page(http://linux.ctyme.com/man/man2684.htm), -f tells tar what archive to decompress. Overwriting files is the default, but there's an option (-k) to keep the old files.


    tar x = extract .tar files
    f = force , ovewrite files
    z = extract .tar.gz files
    (y or j) = extract bz2 files use this in combination
    with x to get tar.bz2 files extracted
    v = verbose , give long output of what is done

  6. #6

    Re: Installing with tar


    thx .. I always thought -f was force .. so time to rtfm for me ;D

  7. #7

    Re: Installing with tar

    geeze, I always thought that f was the file flag, tell it to use file instead if standard input....

    and a quick man tar proves it. the flag for force is --force-local but the f flag is quote "-f, --file [HOSTNAME:]F
    use archive file or device F (default /dev/rmt0)"

    So yea, I guess it IS time you rtfm (;

  8. #8
    Senior Member
    Join Date
    Dec 2001
    Posts
    338

    Re: Installing with tar

    I have this same problem with tar files.
    For ex., picogui .
    The file pgui*.tar lives in my home dir., /home/dodi
    I gave it $tar xfv pgui*.tar and it unpacked into lots and lots of
    files (about a page full). But then none of these worked
    ./configure
    make
    make install
    install -v /home/dodi/pgui /home/dodi/picogui
    Well, what am i doing wrong? ??? ???

  9. #9

    Re: Installing with tar

    Did you change into the directory that was just created from extracting the tar?

    tar zxvf packagename-#.#.#.tar.gz (for tar.gz)

    tar xvf packagename-#.#.#.tar (for tar)

    cd packagename-#.#.#

    READ the readme or install instructions

    Most use the following...

    ./configure
    make
    make install

  10. #10
    Senior Member
    Join Date
    Dec 2001
    Posts
    338

    Re: Installing with tar

    mdwatts: you fixed my problem! I had to go
    cd packagename
    cat README.save
    Thanx! ;D david in san diego

Similar Threads

  1. installing ftp
    By kwaslee in forum Suse
    Replies: 1
    Last Post: 02-27-2008, 09:53 AM
  2. Installing GCL on FC8
    By omidkamangar in forum Redhat / Fedora
    Replies: 1
    Last Post: 12-21-2007, 12:09 AM
  3. Installing
    By MicroTechXP in forum Windows - General Topics
    Replies: 7
    Last Post: 12-11-2006, 01:47 AM
  4. Need help installing app.
    By Dswissmiss in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 03-04-2003, 03:14 PM
  5. Installing GTK with apt-get
    By gmoreno in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 03-05-2002, 03:07 PM

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
  •