Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-02-2012, 10:13 AM   #1
LQ Newbie
Registered: Jan 2012
Posts: 14

Rep: Reputation: Disabled
Installing from source

Hey there

Well, on the other day i download a .tar file with firefox, to compile and install it, since the version i was using(and still am) is quite old(running Debian on a virtual machine btw).

Thing is, after i extracted the .tar file, i saw no install, nor readman, nor .configure files...there is a firefox-bin there that allows me to use the updated version but since the package isn't installed(or i think it's not) i can never use the updated firefox when i type firefox on the terminal.

What should i do?

Thanks in advance.
Old 02-02-2012, 10:26 AM   #2
Senior Member
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,860
Blog Entries: 36

Rep: Reputation: 458Reputation: 458Reputation: 458Reputation: 458Reputation: 458
Firefox doesn't come as source when you download the tar file. It's precompiled. The best way to go about integrating it with your OS is to do the following as root (if you only have sudo commands then you can log into root by "sudo su -").

mv firefox-version.tar /opt/
cd /opt
tar -xvf firefox-version.tar
rm /usr/bin/firefox
ln -s /opt/firefox/firefox /usr/bin/
That's it.

------- Other recommendations -------

After doing all of that I usually move the /opt/firefox folder to it's version and then link it to /opt/firefox like so...
cd /opt
mv firefox firefox-10.0.0
ln -s firefox-10.0.0 firefox
This way when you update you can simply remove the symlink, untar the new version of firefox to /opt, mv /opt/firefox to it's updated version, then resymlink firefox again to /opt/firefox. This way you can have multiple versions of firefox installed and the only symlink which needs to be changed is /opt/firefox.

Old 02-02-2012, 02:31 PM   #3
LQ Newbie
Registered: Jan 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
Thanks a lot, really helped me.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing an OS through source shivkiyer Linux - Distributions 4 10-09-2007 10:32 AM
Installing php package after installing from source shubb Slackware 4 03-14-2006 10:19 AM
Installing from source, installing from CVS and the E-17 window manager... Buffbannana049 Ubuntu 10 02-14-2006 11:27 PM
Installing from source stork Linux - Newbie 2 10-21-2005 06:17 AM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration