Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
How to install a .tar.gz (or .tar.bz2) file?

I had already tried many things but none of them worked. I've tried tar xzf file.tar.gz(replacing file by the package name). I'm using 12.04.1 precise pangolin.

share|improve this question

marked as duplicate by Tachyons, Mik, ajmitch, RolandiXor, Stephen Myall Nov 14 '12 at 19:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

1 Answer 1

up vote 2 down vote accepted

Untar the file using command

 tar xjvf tarball_package.tar.bz2

or

 tar xzvf tarball_package.tar.gz

If there is a .deb(Precompiled binaries) file in the extracted package. You can install it using command dpkg -i package_name.deb

If its a source file then you need to compile it using the following commands.

./configure 
make
make install

For more information read this Ubuntu help page

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.