Question:
How to install .tar.bz2 on ubuntu 10.04?
?
2010-11-01 20:46:23 UTC
Please help!! How to install .tar.bz2 on ubuntu 10.04
Four answers:
Ben
2010-11-01 20:52:49 UTC
Is that a source tarball or a binary tarball?



If it's a binary tarball, you're probably doing it wrong. Open up the Synaptic Package Manager and check to make sure that the program is not already in there. Then check the download site to see if they offer a .deb file (Debian package) instead. Using one of these two methods will make your life much easier- it makes it much easier to uninstall, it will automatically install any dependencies, and it will pretty much be guaranteed to work properly on your system. If and only if that fails, extract the tar file (right click and choose extract). There should be a file in there for you to run. You should run that file. If there's a README file in there, read that first.



If it's a source tarball, you'll have to use the command-line. First, right-click on the .tar.bz2 file and extract it. Open up a terminal and use cd to get to the folder. So for instance, if the folder is on your desktop and it's called "myprogram", you'll enter the command

cd Desktop/myprogram

If you haven't compiled anything before, make sure that the build tools are installed by running

sudo apt-get install build-essential

You'll be asked for your password. Enter it. You won't see anything appear on screen, but it's still working. Press enter after you enter the password.



Now, run the following three commands. If there are errors, look to see what they are and try to fix them.

./configure

make

sudo make install
2014-08-06 18:52:18 UTC
Hello,

The best program to decompress files is Winrar, you can unzip all kind of files!(.zip, .rar, .7z, .iso, .tar, .jar, .cab, .gz, .ace, .uue, .bz2, etc...)

Here I got Winrar for free http://bitly.com/1p3Q1Dc

Have a nice day
2010-11-01 20:47:52 UTC
un tarball the file and do ./Config or ./Configure



then adjust the settings



gcc make



make install



blah blah blah
2010-11-01 21:30:59 UTC
tar -jxf file.tar.bz2

cd file/

./configure --prefix=/usr/local (or wherever you want to install it, eg. /usr)

make

make install (as root)


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...