LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-27-2010, 11:54 PM   #1
marinegruntswife
LQ Newbie
 
Registered: Jul 2010
Location: Hiram, Ga.
Posts: 25

Rep: Reputation: 16
Question How do I install the Latest version of Firefox & Java?


I have a Dell Mini n Series & am currently running Ubuntu 8.4, what would be the best way for me to download a newer version of Firefox & Java?
 
Old 07-28-2010, 01:06 AM   #2
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
Option 1.) Use your package manager and look for an update/upgrade command. It will download the latest versions of all installed software available in your current distribution.

Option 2.) If you really need a newer version than available in ubuntu, first uninstall firefox and java in your package manager. Then download them from the respective sites (mozilla.com and java.com) in .tar.gz or .tar.bz2 format. (For java, look for the JRE package, you don't need JDK unless you want to program in java). On a command prompt, do the following:
Code:
cd /opt
sudo tar xf /path/to/firefox-xyz.tar.bz2
sudo tar xf /path/to/java-xyz.tar.bz2
cd firefox/plugins
sudo ln -s ../../jre/plugin/i386/ns7/libjavaplugin_oji.so
cd /usr/local/bin
sudo ln -s /opt/firefox/firefox
Check the paths, they could be slightly different on your system.

Last edited by zirias; 07-28-2010 at 01:09 AM.
 
Old 07-28-2010, 01:11 AM   #3
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by marinegruntswife View Post
what would be the best way for me to download a newer version of Firefox
Though you are free to follow what your heart says ...
This is what I do:
http://www.linuxquestions.org/questi...eginners-2670/
 
Old 07-28-2010, 01:18 AM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Before proceeding, let me repeat the advice given in another thread: if you really have only so little space available, it may be better to install a different OS. Lubuntu, for example, is much smaller and it is still based on the latest ubuntu so you'd be able to get a recent firefox and java without having to jump through any loops.
http://lubuntu.net/blog/lubuntu-1004...lable-download

If that is not possible, then you will have to install firefox and java manually. There are various ways of doing so and some have been posted above. A further alternative:
Get Firefox here:
http://www.mozilla.com/en-US/firefox/personal.html
then:
- extract the firefox folder from the downloaded tar.bz2 archive (select by right-clicking and then use "extract here")
- move it your /home folder
- create an icon: right-click your desktop, select "create launcher" and fill out the dialog box:
name : Firefox
command: ~/firefox/firefox
comment: whatever you like, this is optional
If you click OK, an icon will be placed on your desktop.
(You could add it to your menu or panel, too, if you wish).

Java is harder to set up. Download the JRE from:
http://www.oracle.com/technetwork/ja...ndex.html#need
Make sure to get the "self-extracting" (=.bin) version, not the "rpm" version of the JRE (not the JDK). Then:
- move it to your home folder
- open a terminal
- run this command in the terminal: chmod a+x jre*bin
- then, again in the terminal: ./jre*bin
- if some sort of EULA pops up, scroll through using the ENTER key and accept
- your jre will be extracted from the bin archive (bin can now be deleted if you want to save space)
- create a symbolic link to the firefox plugins directory by using these commands:
cd firefox/firefox/plugins && ln -s name_of_JRE_folder/lib/i386/libnpjp2.so .
(of course, you'll need to replace (name_of_JRE_folder with the actual name of the thing).

Last edited by jay73; 07-28-2010 at 01:20 AM.
 
Old 07-28-2010, 01:19 AM   #5
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
Hi anisha,

it's really nice to provide such a detailed description and probably helps some ppl in understanding what they do.

But I disagree with two of your decisions:

1. removing the original /usr/bin/firefox is not the right thing to do, /usr/bin should stay under control of the distributions package manager, so either leave the firefox there alone (/usr/local/bin is found first anyway), or use the distribiution's package manager to cleanly uninstall firefox.

2. the tar to extract firefox should be done by root, so no user can overwrite firefox-files for security reasons -- the best place to extract it to would then be /opt.
 
Old 07-28-2010, 01:24 AM   #6
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by zirias View Post
Hi anisha,

it's really nice to provide such a detailed description and probably helps some ppl in understanding what they do.

But I disagree with two of your decisions:

1. removing the original /usr/bin/firefox is not the right thing to do, /usr/bin should stay under control of the distributions package manager, so either leave the firefox there alone (/usr/local/bin is found first anyway), or use the distribiution's package manager to cleanly uninstall firefox.

2. the tar to extract firefox should be done by root, so no user can overwrite firefox-files for security reasons -- the best place to extract it to would then be /opt.
Commenting about that blog in this thread is not appropriate, I think it will be better if you post your comments in the blog it self.
That way all the discussions regarding that blog will be at one place.

Last edited by Aquarius_Girl; 07-28-2010 at 01:26 AM.
 
Old 07-28-2010, 01:35 AM   #7
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
anisha, I see very similar concerns already mentioned there, so I just want to warn ppl reading THIS thread about possible shortcomings.
 
Old 07-28-2010, 01:37 AM   #8
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by zirias View Post
anisha, I see very similar concerns already mentioned there, so I just want to warn ppl reading THIS thread about possible shortcomings.
But I still think it will be much better if you could post these comments in that blog, and if you really think that blog is not well written, I shall modify my Post 3 and remove my suggestion w.r.t that blog.
 
Old 07-28-2010, 01:41 AM   #9
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
anisha, I think it IS well written -- it's just these two decisions I'd strongly suggest to reconsider in order not to mess with any distribution's package management and to improve security. If you really need these in your blog, I'll post them now.
 
1 members found this post helpful.
Old 07-28-2010, 01:42 AM   #10
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by zirias View Post
If you really need these in your blog, I'll post them now.
Kindly go ahead and post there
 
Old 07-28-2010, 11:40 AM   #11
mrmnemo
Member
 
Registered: Aug 2009
Distribution: linux
Posts: 527

Rep: Reputation: 51
Hi,

You have more than likely fixed / addressed your issue by now; however, if not I have some input for you.
If you must run the older LTS version of ubuntu then you can just try and update using PPA's. Since I am not sure if this problem has been solved a link to the how to is all your getting. If you wish I can walk you through it. The PPA for mozzilla-stable will address your concerns AND allow for automatic updates and dependence fixes.

Link: https://edge.launchpad.net/+help/soy...rces-list.html . Your gonna want to read that link.
 
Old 07-28-2010, 09:40 PM   #12
mrmnemo
Member
 
Registered: Aug 2009
Distribution: linux
Posts: 527

Rep: Reputation: 51
did you get your problem solved?
 
Old 07-29-2010, 12:12 AM   #13
marinegruntswife
LQ Newbie
 
Registered: Jul 2010
Location: Hiram, Ga.
Posts: 25

Original Poster
Rep: Reputation: 16
Talking

Yes, thank you all for the advice & tips. I am going to try to install a newer version of my OS & hopefully I will have adequate space. I am also going to get some extra hard drive space so I can keep from having the performance/gb issues. Again, thank you all for the advice.
 
Old 07-29-2010, 01:09 AM   #14
marinegruntswife
LQ Newbie
 
Registered: Jul 2010
Location: Hiram, Ga.
Posts: 25

Original Poster
Rep: Reputation: 16
Question

I have a question, jay73, I tried to use the first link http://lubuntu.net/blog/lubuntu-1004...lable-download. I tried to use the download in the link & when it got to 37 seconds remaining I got an error message that said

"There is not enough room on the disk to save /home/rebekah/Desktop/lubuntu-10.04(2).iso.part.

Remove unnecessary files from the disk and try again, or try saving in a different location."

Any idea what I should do to be able to fully download that version? Thanks in advance.
 
Old 07-29-2010, 01:28 AM   #15
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Well, apparently you have so little space left that it's not enough to store your download. I don't know whether you have previously downloaded things. If you did, you could move them out of the way, put them on a cd or a flash drive or whatever. That might free up just enough space. If not, you'll need to think of another way to do the download. Something like a removable hard drive, a flash drive, maybe download to a different computer. Or you could go to the Ubuntu site and request a free cd (it could take a few weeks to arrive, though). See "request cd" section" for details: http://www.ubuntu.com/desktop/get-ubuntu/cds
And maybe you can pick up some additional ideas from here:
http://www.ubuntumini.com/2008/09/ge...tu-guides.html
 
  


Reply



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
Browser firefox 3.0b 5pre need to install latest version Papillon 123 Linux - Newbie 1 07-01-2010 08:00 AM
LXer: How to install the Java runtime plugin for Firefox (the Minefield version) in T LXer Syndicated Linux News 0 05-27-2010 12:00 PM
Trying to install latest Java version in Crunchbang linux froginlinux Linux - Newbie 2 06-16-2009 04:15 PM
I Can't Install Latest Version Of Java Without Installing Firefox - Help! davidx Linux - Software 2 10-15-2008 11:19 PM
How to install latest version of Firefox on CentOS Dmjmusser Linux - Software 3 02-20-2007 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:58 PM.

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
Open Source Consulting | Domain Registration