How to install tar.gz files

Asked by fxnj

I just downloaded 2 tar.gz files. I click on them and it just lists a bunch a files. I have no idea how to do anything with these files. Help?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu yelp Edit question
Assignee:
No assignee Edit question
Solved by:
Mbarek Firas
Solved:
Last query:
Last reply:
Revision history for this message
Appiah (appiah) said :
#1

.tar.gz are archive files ,think of them as .zip or .rar files.
Right click and choose where to extract the files.

Revision history for this message
zvacet (ivicakolic) said :
#2
Revision history for this message
Best Mbarek Firas (mbarekfiras) said :
#3

a .tar.gz file is a non compiled source installation
what you need is:

1-First step Extracting files:
open console:
$ tar xvzf File.tar.gz dest_dir
or just right click then Extract here

2-Enter the directory
$ cd dest_dir

3-Check for dependencies and create the makefile
$ ./configure

4-Compile it
$ make

5-Install it
$ sudo make install

Revision history for this message
Sam_ (and-sam) said :
#4
Revision history for this message
Mbarek Firas (mbarekfiras) said :
#5

is it solved !

Revision history for this message
Vikram Dhillon (dhillon-v10) said :
#6

You can do this: sudo apt-get install checkinstall

Then after make you can run sudo checkinstall which would make a .deb
for you and thus you can uninstall the package easily

Regards,
Vikram

On Wed, Dec 16, 2009 at 2:16 PM, Sam
<email address hidden> wrote:
> Question #94246 on yelp in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/yelp/+question/94246
>
> Sam posted a new comment:
> https://help.ubuntu.com/community/CompilingEasyHowTo
> https://help.ubuntu.com/community/CheckInstall
>
> --
> You received this question notification because you are an answer
> contact for Ubuntu.
>

Revision history for this message
fxnj (fxnj) said :
#7

Thanks Mbarek Firas, that solved my question.