how do you install tar gz ?

Asked by beachreader

Does anyone in common English know the steps in installing tar gz files.
1) I do not know what I am doing when I extract and what folder to select; nothing happens when I do extraction.
2) I do not know how to decompress in terminal or is that an extraction? or what that means

i,e, firefox v2.0

thks very much.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
beachreader
Solved:
Last query:
Last reply:
Revision history for this message
Jayson Rowe (jayson.rowe) said :
#1

I would advise against installing from a tar-ball unless it is something that is not in the repositories (and even then something you absolutely can't live without). Firefox is in the repos, so you should do an 'apt-get install firefox'...in fact, it should be installed already.

This allows the package manager to know that it is installed, and can keep track up update, dependencies and make it easy to uninstall (along with the dependencies) if you ever desire to remove the package.

In any event, if you MUST install from a tar-ball - the answer depends on whether you downloaded a source tar-ball or a binary tar-ball. For a source install, you would need to make sure you have the package 'build-essential' installed, and you would go into the directory of the extracted files and do a 'configure' then a 'make' then a 'make install'.

If it's a binary tar-ball, there is probably an install script in the extracted files - usually either a shell script that would be run like this "sh install.sh" or perhaps a python script in which case you'd just do a ./install.py

Revision history for this message
beachreader (beachrunnerx2) said :
#2

thks Jayson! got the apt-get install firefox version. thanks a lot; unfortunately that update did not media streaming problem. thks again.

Revision history for this message
Rajinder Sandhu, Bangalore (sandy744-breakthru) said :
#3

use a deb extension file, just double click on it . it gets installed automatically. The way exe file installs in windows

Revision history for this message
alain pierson (fb385776) said :
#4

Hello,

I am, not able to install applications in .tar.ge - BZ2 etc ...
I am novice in Linux
Do I have to install p7zip, zip ... ?

Thank in adance for your lep.

Alain