Results 1 to 8 of 8
I'm trying to install Java (I know there are tutorials on this but i need more help).
In terminal i typed:
Code:
chmod -x jre-6-linux-i586-rpm.bin
then
Code:
./jre-6-linux-i586.rpm
it said
...
- 04-04-2007 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 3
Questions
I'm trying to install Java (I know there are tutorials on this but i need more help).
In terminal i typed:
thenCode:chmod -x jre-6-linux-i586-rpm.bin
it saidCode:./jre-6-linux-i586.rpm
I then tiredCode:bash: ./jre-6-linux-i586.rpm: Permission denied
it saidCode:dpkg -i jre-6-linux-i586.rpm
Can you please tell me what i'm doing wrong or how i can get superuser privilege?Code:dpkg: requested operation requires superuser privilege
- 04-04-2007 #2
Which Linux distribution are you using?
Ubuntu?
If so, you can install Java like that:
http://www.linuxforums.org/forum/ubu...va-ubuntu.html"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 04-04-2007 #3Just Joined!
- Join Date
- Apr 2007
- Posts
- 3
When you say
Do you mean the desktop folder? If you do i don't have anything in it. I tired:go in Desktop -> Administration -> Software Repositories and make sure they are all enabled.
But it came up with "Password:" then it wouldn't let me type anything.Code:sudo apt-get install sun-java5-jre sun-java5-plugin
- 04-04-2007 #4look for 'Software Repositories' in Administration Menu.Do you mean the desktop folder? If you do i don't have anything in it. I tired:
type password of user that you created during installation. nothing will be echoed during password typing. just type correct password and press Enter key.But it came up with "Password:" then it wouldn't let me type anything.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 04-04-2007 #5
You can enable the Universe and Multiverse repositories like that:
https://help.ubuntu.com/community/Repositories/Ubuntu
That's normal. It does let you type it. Simply the password doesn't appear as you type it ("echo" is off). Just type the password and press ENTER.
Originally Posted by linux n00b
So are you using Ubuntu?"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 04-04-2007 #6Just Joined!
- Join Date
- Apr 2007
- Posts
- 3
Yes i am using Ubuntu.
I enabled all the software repositories but now when i run:
i getCode:sudo apt-get install sun-java5-jre sun-java5-plugin
then when i run that i get:Code:E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
Code:dpkg: requested operation requires superuser privilege
- 04-06-2007 #7
It seems that you need to log in as root or "su" to be able to execute this. So, before you do anything, type
su stands for "superuser". Then enter your ROOT (aka superuser) password when prompted. You will not see your password as you type, so make sure you're doing it correctly.Code:su
Gentoo 2.6.24 amd64
AMD Anthlon 64 X2, 2 GB RAM, Asus M2N-MX, nVidia GeForce 9600GT 512Mb, 250Gb + 160Gb HDDs
- 04-06-2007 #8execute this
Originally Posted by linux n00b
Code:sudo dpkg --configure -a
'su' is not configured in Ubuntu by default. you should use 'sudo' instead of 'su'.
Originally Posted by tvilkov It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote