Install prog. in ubuntu

lets supose the program name firefox-xx.xx.tar.bz2

After you download the file in the downloads folder

Next, run the commands below to extract the downloaded file. Remember to specify the current version number.   eg. firefox-xx.xx.tar.bz2

tar xjf ~/Downloads/firefox-12.0b4.tar.bz2




After extracting, move the extracted folder to the /opt/ directory.

sudo mv firefox/ /opt/firefox12




Next, rename the your current Firefox executable by running the commands below.

sudo mv /usr/bin/firefox /usr/bin/firefox-old




Finally, run the commands below to create a symbolic link to the newer version.

sudo ln -s /opt/firefox12/firefox /usr/bin/firefox




Now, try typing firefox in terminal or opening your Firefox launcher icon. You do not need to edit your current firefox launcher to use the newer version.


Abdelouafi Omar Taoufik