Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-01-2006, 11:56 AM
|
#1
|
Member
Registered: Feb 2006
Distribution: Ubuntu 6.10
Posts: 31
Rep:
|
Getting Java 5 install firefox 2
I have seen some posts with people who have this problem but no good answer.
"I got it to work, i just edited it to link to the other directly where i zipped it instead of the other place"
But where? and theres "Theres a tutorial on the sun site"
Where?
I have tryed everything, except for fakeroot because that doesn't work.
What should I do?
|
|
|
12-01-2006, 12:01 PM
|
#2
|
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
|
Find the package
sudo apt-cache search sun-java5|grep plugin
install the package
sudo apt-get install foundPackage
|
|
|
12-01-2006, 12:05 PM
|
#3
|
Member
Registered: Feb 2006
Distribution: Ubuntu 6.10
Posts: 31
Original Poster
Rep:
|
it doesnt find anything, i forgot to say im on 6.10 (opps)
Code:
greg@greg-desktop:~$ sudo apt-cache search sun-java5|grep plugin
Password:
greg@greg-desktop:~$ sudo apt-get install foundPackage
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package foundPackage
greg@greg-desktop:~$
|
|
|
12-02-2006, 05:51 AM
|
#4
|
Member
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Rep:
|
make sure you have the multiverse repository enabled an your sources.list, once you've done that, and updated your package list, you can install the java plugin with the command:
Code:
sudo apt-get install sun-java5-plugin
|
|
|
12-07-2006, 07:37 PM
|
#5
|
Member
Registered: Feb 2006
Distribution: Ubuntu 6.10
Posts: 31
Original Poster
Rep:
|
which source.list do i edit, and what do i type in to enable it?
|
|
|
12-07-2006, 08:45 PM
|
#6
|
Member
Registered: Feb 2006
Distribution: Ubuntu 6.10
Posts: 31
Original Poster
Rep:
|
wait, i got it i think just take away # comment.
how do i update my packages?
|
|
|
12-07-2006, 10:08 PM
|
#7
|
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
|
Please have a look at the ubuntu wiki... sometimes...
|
|
|
12-08-2006, 06:57 AM
|
#8
|
Member
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Rep:
|
Quote:
Originally Posted by playa4002
wait, i got it i think just take away # comment.
|
Yes, anything with a '#' at the start of a line is classed as a comment and is ignored, just remove the '#'
Quote:
Originally Posted by playa4002
how do i update my packages?
|
In Adept; Click on the "Fetch Updates" button.
In Synaptic; Click on the "Reload" button.
In a terminal, type:
Code:
sudo apt-get update
|
|
|
12-09-2006, 09:37 AM
|
#9
|
Member
Registered: Feb 2006
Distribution: Ubuntu 6.10
Posts: 31
Original Poster
Rep:
|
thank you, but for when i update in synaptic, (only updated in there so far) some of the urls fail, should i be worried of that, or it doesnt matter?
|
|
|
12-09-2006, 05:14 PM
|
#10
|
Member
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Rep:
|
That means that it can't find the package list at those URLs.
So, yes, you should be worried about that, because you won't get any packages from that source.
It may have just been a typo, the line you need to enable multiverse is:
Code:
deb http://archive.ubuntu.com/ubuntu/ edgy multiverse
or with whatever local sever you have. e.g. us.ubuntu.com
or you can add "multiverse" to the mail source with "main restricted" on it.
You can post your /etc/apt/sources.list for us to have a look at if you want.
|
|
|
All times are GMT -5. The time now is 01:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|