PDA

View Full Version : [ubuntu] Install binary tar.gz or tar.bz2



camper365
May 20th, 2009, 01:35 AM
I was noticing that sometimes when you download a tar.bz2 it contains binaries. I was wondering where I should extract them to or what command I should run to install them.

taurus
May 20th, 2009, 02:01 AM
You can either extract it to your own $HOME (a good place is in ~/bin) if you are the only user or to /opt if you want others to be able to run the program (you need root privilege to do that). Then, you either need to add the whole path to that binary to your PATH in ~/.bashrc or you have to include the whole path when you want to run it from a terminal. Of course, you can always create a launcher on the top panel to run it.

pawnrocket
May 20th, 2009, 02:04 AM
In case you don't know PATH is a location of the system The path to your home is /home/your name or ~/your name