Find the answer to your Linux question:
Results 1 to 6 of 6
i have downloaded many apps for Mandrake lately but EVERY SINGLE ONE that has the extension .tar.bz2 , .tar.gz , and even .zip (only for Linux , no trouble under ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast Weedman's Avatar
    Join Date
    May 2005
    Location
    Tasmania, Australia
    Posts
    640

    How do you install aplliactions (Tar issue)


    i have downloaded many apps for Mandrake lately but EVERY SINGLE ONE that has the extension .tar.bz2 , .tar.gz , and even .zip (only for Linux , no trouble under Windows)

    i am really new to linux and have no idea how to use or install these files.

    my attempts at trying to install them end up in them being extracted (or complaining that they can't) and trying to run one of the commands but they don't work.

    surely im doing something wrong
    "Time has more than one meaning, and is more than one dimension" - /.unknown
    --Registered Linux user #396583--

  2. #2
    Linux User
    Join Date
    Mar 2005
    Location
    CA
    Posts
    352
    You'll want to run all of this in a terminal/command line, which you'll find on your taskbar that will look like a monitor with a sea shell over it. If not there, you can open the Kmenu/start menu and go to System - Terminal - Open any Terminal there.

    If you're downloading .tar.bz2 or .tar.gz files, you're most likely downloading source files, which need to be unpacked and compiled. They do work considering if you have no dependency problems with certain files. To unpack .tar.bz2, simply:

    Code:
    tar -jzxf filename.tar.bz2
    For .tar.gz

    Code:
    tar -zxvf filename.tar.gz
    They will unpack into the directories they make and you'll need to cd (change directory) into them.

    I believe you can treat .zip the same way you would as if it were a Windows machine.

    Compiling from source is a bit different. From a Terminal, you'll need to login as root:

    Code:
    su
    <enter root password>
    ./configure
    make
    make install
    If any problems or dependency issues come along, try posting them here and maybe myself or someone can get to you with an answer. Hopefully this works and helps you out.

  3. #3
    Linux Enthusiast Weedman's Avatar
    Join Date
    May 2005
    Location
    Tasmania, Australia
    Posts
    640
    thanks, i haven't used the command line much

    my favourite command (shows that im new to linux) is
    Code:
    shutdown -h now
    "Time has more than one meaning, and is more than one dimension" - /.unknown
    --Registered Linux user #396583--

  4. #4
    Linux Enthusiast Weedman's Avatar
    Join Date
    May 2005
    Location
    Tasmania, Australia
    Posts
    640
    i used your method to install something called wxBase (somebody told me that i needed it to run apollon) everything went alright until i got to the ./configure stage.

    it said this:
    Code:
    error&#58; cannot figure out if compiler needs -ext o&#58; cannot compile
    what does this mean?
    "Time has more than one meaning, and is more than one dimension" - /.unknown
    --Registered Linux user #396583--

  5. #5
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    Just to inform: "poweroff" is a simpler way to turn off the computer... My favorite command is "eject"

    I am not quite sure about your problem thought, but I remember when I used mandriva (10.1 ce) I had to install some other version of GCC because g++ was missing, so it may have something to do with the tools for compiling, you said you had an error with /lib/cpp too...

  6. #6
    Linux Enthusiast Weedman's Avatar
    Join Date
    May 2005
    Location
    Tasmania, Australia
    Posts
    640
    the /lib/cpp issue was that it had something to do with the file permissions not being there but that file is only a link
    "Time has more than one meaning, and is more than one dimension" - /.unknown
    --Registered Linux user #396583--

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •