Results 1 to 8 of 8

Thread: untarring help

  1. #1
    Join Date
    Mar 2011
    Beans
    27

    untarring help

    Hi

    i want to install skippy on my laptop
    i have the tar.bz2 file but when i do

    Code:
    tar -xjf skippy-0.5.0.tar.bz2
    i get an error:


    Code:
    tar (child): skippy-0.5.0.tar.bz2: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now

    the exact name of the file is that
    i also tried to put the file in my desktop and write
    Desktop/skippy-0.5.0.tar.bz2
    but i dont get any return in the command
    is that supposed to happen?

  2. #2
    Join Date
    Mar 2011
    Location
    Germany
    Beans
    136
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: untarring help

    The command is correct. Are you in the correct directory when you execute tar?
    I mean, if you downloaded skippy to your Downloads folder, did you do change to that folder first? Like this:
    Code:
    cd ~/Downloads
    tar -xjf skippy-0.5.0.tar.bz2

  3. #3
    Join Date
    Mar 2011
    Beans
    27

    Re: untarring help

    it didnt say anything after i wrote that

    does that mean it happened?

  4. #4
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: untarring help

    The location that you run the command from is very important. By default, when you open a terminal, your shell will be in your home directory (/home/username). You need to "cd" (change directory) to the folder where the tar file is before running "tar -xjf skippy-0.5.0.tar.bz2".

    e.g.

    Code:
    cd Downloads
    tar -xjf skippy-0.5.0.tar.bz2
    This will extract the content of the archive to your Downloads folder.

    Alternatively, you can state the file's location relative to your shell's current location, like you did in your second command. Assuming you haven't used "cd" to move away from your home directory, this will work:

    Code:
    tar -xjf Downloads/skippy-0.5.0.tar.bz2
    and will extract the content of the archive to your home folder. Using an absolute path will have the same effect:

    Code:
    tar -xjf /home/username/Downloads/skippy-0.5.0.tar.bz2
    Despite the terminal not displaying any output, the archive is being extracted. If you want to see that something is happening, add the -v flag to the tar command:

    Code:
    tar -xvjf /home/username/Downloads/skippy-0.5.0.tar.bz2
    That will make the command verbose, and all the files affected by the command will be listed in the terminal.
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

  5. #5
    Join Date
    Aug 2010
    Location
    Fort Worth, Texas
    Beans
    355
    Distro
    Kubuntu 13.10 Saucy Salamander

    Re: untarring help

    Here is an easy way to do it. Create a temp folder in your /home folder. Now go to the downloaded file and right-click it and choose extract to then choose to the temp folder you created. Now open a terminal and cd to that folder and type
    Code:
    ./configure
    at the prompt type
    Code:
    make
    then finally
    Code:
    sudo make install
    Colyn

    My photography website: http://www.colynsfotografs.com

  6. #6
    Join Date
    Mar 2011
    Location
    Germany
    Beans
    136
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: untarring help

    Quote Originally Posted by slomo5793 View Post
    it didnt say anything after i wrote that

    does that mean it happened?
    Yes, if tar did not produce an error this time, it should have worked and there should be a folder name skippy-0.5.0 in your downloads folder now. If a program does not say anything, it is usually a good sign, meaning that there was no problem.
    Last edited by tordeu; March 8th, 2011 at 03:06 AM. Reason: added something for clarification

  7. #7
    Join Date
    Mar 2011
    Beans
    27

    Re: untarring help

    @WorMzy, thanks for the really nice explanation :]

    and @jcolyn, after i cd to the folder, i type in./configure and it says


    Code:
    bash: ./configure: No such file or directory

  8. #8
    Join Date
    Mar 2011
    Location
    Germany
    Beans
    136
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: untarring help

    Just found an compiling/installation instruction here. It is almost 6 years old, but it is about skippy 0.5.0, so it might help you.

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
  •