How to uncompress and install tar.gz/tar.bz2/rar packages in Ubuntu
This post was written by admin on October 17, 2009
Posted Under: General
Posted Under: General
This tutorial shows how to uncompress and install tar packages in ubuntu.
Uncompress:
First,open up terminal(Applications/Accessories/Terminal).
For tar.gz packages:
sudo tar zxvf file.tar.gz
For tar.bz2 packages:
sudo tar jxvf file.tar.bz2
For rar packages
sudo rar a file.rar
For tar.Z packages
sudo uncompress file.tar.Z
If uncompress packages in user folder(/home/user),omit “sudo” in previous commands.
Install
After uncompress a tar package,commonly you can read the “readme” file in folder for how to install.Following are often used:
option 1:
sudo ./configure make make install
option 2:
sudo ./configure --prefix=/path make make install
option 3:
sudo ./configure --enable-static-link \ --prefix=$XXX/static --with-curses && make && make install
Related posts:
- Save Ubuntu space-auto-delete downloaded packages after installation
- Install and Add Linux Mini Main Menu (Mint-Menu) in Ubuntu 10.04 Panel
- How to enable Moodbar in Amarok music player
- Reinstall all of currently installed packages in fresh ubuntu install
- How to Cleanup cache,useless packages in Ubuntu
Tags: tips

Reader Comments
This is NOT clear. Many people will be new to Linux and therefore confused unless it’s made VERY clear what EXACTLY to do – simple systematic steps THAT ASSUME NO PRIOR KNOWLEDGE. When are ‘geeks’ going to get that many people are very confused about how to do things, and NEED clear concise instructions in order to achieve success, and hopefully learn that the world doesn’t neccesarily revolve around Windows.
[Reply]
the genius of windows and mac is even 7 year olds can master it.
linux…it takes a bachelors degree to begin to understand it.
[Reply]
hello sir,
when i use
#sudo ./configur
sudo: ./configure: command not found ..
what can i do
i m try all three options
[Reply]