LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-02-2012, 11:13 AM   #1
Durin
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, 11:26 AM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,831
Blog Entries: 36

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
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 -").

Code:
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...
Code:
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.

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

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


Reply


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 11:32 AM
Installing php package after installing from source shubb Slackware 4 03-14-2006 11:19 AM
Installing from source, installing from CVS and the E-17 window manager... Buffbannana049 Ubuntu 10 02-15-2006 12:27 AM
Installing from source stork Linux - Newbie 2 10-21-2005 07:17 AM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 06:42 PM


All times are GMT -5. The time now is 04:08 AM.

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