tar.gz files

Discussion in 'Linux' started by JohnnyAndroid, Dec 15, 2008.

  1. JohnnyAndroid

    JohnnyAndroid Active Member

    Joined:
    Sep 7, 2008
    Messages:
    1,174
    Likes Received:
    9
    Device:
    iPad 4
    Anyone know how to install these??

    I'm trying to install screenlets-0.1.1.tar.gz and have no clue as to what to do.
  2. Teslanaut

    Teslanaut Well-Known Member

    Joined:
    Sep 16, 2007
    Messages:
    15,588
    Likes Received:
    177
    Device:
    4G iPod touch
    tar.gz is an archive format, like ZIP or RAR. You unarchive it. If its source, you build it and then install it. All using Terminal. Usual commands are: ./configure, make, make install.

    I suggest you download the .deb version (If you're on Ubuntu or an Ubuntu/Debian derived OS, and I think you are?).

    Get it here: http://www.screenlets.org/index.php/Download

    With the .deb version, just double click and install. Its that simple.
  3. JohnnyAndroid

    JohnnyAndroid Active Member

    Joined:
    Sep 7, 2008
    Messages:
    1,174
    Likes Received:
    9
    Device:
    iPad 4
    Thanks, it worked!! But told me I have a more recent package installed.
  4. dima the great

    dima the great New Member

    Joined:
    Dec 14, 2007
    Messages:
    70
    Likes Received:
    1
    Device:
    iPod touch
    If you can't find a deb package do this:

    1.) Open a terminal and go to the directory in which the tarball (that's what they're called) is. Here's an example for the Desktop.
    Code:
    cd /home/yourusername/Desktop
    2.) Next unpack the tarball.
    Code:
    tar -xvzf packagename.tar.gz
    3.) Go to the newly created folder.
    Code:
    cd /home/yourusername/Desktop/packagename
    4.) Compile the package so you can install it (these are just the usual instructions, specific ones may apply).
    Code:
    ./configure
    Code:
    make
    Code:
    sudo make install
    5.) The package should compile and install properly, if not then either your dependencies aren't satisfied or you're missing package(s) all together.
  5. SkaterGOD/DOOD23

    SkaterGOD/DOOD23 New Member

    Joined:
    Dec 20, 2007
    Messages:
    686
    Likes Received:
    5
    Device:
    iPod touch
    Any particular reason to compile from source? Linux makes it so much easier on you (especially Ubuntu) with apt-get commands. It also seems that you have the latest installed version of screenlets (therefore it gives you the error that a later version is already installed). If you do not, you can go about unarchiving the .tar.gz file via

    Code:
    tar -xvvf <file>.tar.gz
    This command works on ANY tar file (.tar.gz, .tar.bz, .tar.bz2, .tar). Otherwise, Ubuntu comes with a nice unarchiver, which should be a simple double click away!

    You must then have the correct dependencies to build the application, and this is where I hate Linux.

    Please Register or Log in to view images

  6. wibble

    wibble New Member

    Joined:
    Mar 16, 2008
    Messages:
    176
    Likes Received:
    0
    cd usr/ports/whateverthehellyouwant
    sudo make install clean

    Oh wait ubuntu;

    tar zxfv <file>

    cd into the corresponding directory and proceed to read the readme in order to compile
  7. SkaterGOD/DOOD23

    SkaterGOD/DOOD23 New Member

    Joined:
    Dec 20, 2007
    Messages:
    686
    Likes Received:
    5
    Device:
    iPod touch
    BSD Love!

    Please Register or Log in to view images

  8. Cyanidepoison

    Cyanidepoison Active Member

    Joined:
    Jan 18, 2008
    Messages:
    1,076
    Likes Received:
    2
    Arch Linux does it better

    Please Register or Log in to view images



    Code:
    yaourt whateverthehellyouwant
    Then it runs the PKGBUILD script for whateverthehellyouwant from the AUR, where it is usually straight from SVN or the latest stable.
  9. SkaterGOD/DOOD23

    SkaterGOD/DOOD23 New Member

    Joined:
    Dec 20, 2007
    Messages:
    686
    Likes Received:
    5
    Device:
    iPod touch
    Meh. If you really want to be that lazy, you only need to do this once.

    Code:
    cd /usr/ports/ports-mgmt/portmaster && sudo make install clean
    Then run

    Code:
    portmaster whatever/the/hell/you/want
    and you're done. Portmaster is efficient, and keeps your application (ports) tree extremely stable, although it slows down compiles a little, it is very safe and an excellent way to keep in check with your BSD system.

    Code:
    man portmaster
    gives you many of its splendid options..

    Code:
    portmaster -a
    (as root)
    updates all the applications on your system if there is a newer version in the ports tree.

    If you want to be an extremely lame Arch Linux user (doh, they already all are)..

    Code:
    alias yaourt="portmaster"
    in your .profile should fix that.

Share This Page