How can I install a tar.bz2 file?
In Ubuntu 10.04, how can one install a tar.bz2 file? I do not know how to do it so are there any one can help me?
ex: package name is : Manager-0.8.3.998.tar.bz2
Did you mean network-manager-applet-0.8.3.998.tar.bz2? That is a source package which needs to be extracted and compiled. Unless you really, really need the latest version, I recommend you installing the network-manager-gnome
from the package manager. It integrates better and will be updated automatically.
To extract the package, you need to open a terminal and:
- Change the directory to the directory containing the .tar.bz file:
cd /path/to/dir
- Extract the bzip2-compressed tarball:
tar xjf Manager-0.8.3.998.tar.bz2
- Change the directory to the newly created directory (use
ls
to get the directory listing).cd network-manager-applet-0.8.3.998
- Run
./configure
. If you need to have a package installed, you'll be informed here. - Run
make
to start compiling - Run
sudo make install
to install
Again, it's recommended to use the package from the package manager, not to compile it yourself unless you really need to.
There is no standard way to install .tar.bz2 files. They are not even installer files, just a type of archive file like .zip files.
Software, normally as source code is often distributed this way though but the file should contain information telling you how to install. Look for a README or INSTALL file in the archive and follow the instructions you are given.