-
As WolfTone suggestions, a specific site which may offer you an understandable walk-through using the built in package manager is at
https://jdk-distros.dev.java.net/ubuntu.html
Manual Installation Notes:
Only the first created user can use sudo. If you are logging on as a user created after your default first user was made, unless this name has been added to the file /etc/sudoers they will not be able to do administrative things like run things as root. Only the first user is able to this by default. Incidentally you need sudo rights to add users to the /etc/sudoers file.
As for when you download an executable file and wish to run it, this is a different matter and not to be undertaken lightly. When you do not install through the package manager the system has no way to know how to uninstall things for instance. Before I tell you how to do this, I wanted to give you the obligatory warning. Anyhow, for things such as .bin files, you enter a terminal or console by pressing ctrl-alt-F1 and log in as your usual name and password. Then you navigate to the directory where you placed the file. Normally this would be done by something like: cd ~/ then: ls to make sure the file is indeed there. You need to make sure it is executable, by: sudo chmod +x <filename> it will ask for a password, put in your normal password. Then to actually run the file: sudo ./<filename>
From there the program will run.If the program hangs up and you need to exit it, press ctrl-c
To exit the console and return to the desktop, type: exit and then press alt-F7
You can find answers to most questions ubuntu on irc at irc.freenode.net
The channel would be #ubuntu or #kubuntu or #xubuntu depending of course on your flavour. You may even find me there on occasion, as name genii.
Executing as root depends on whether you are using KDE (Kubuntu) this would be kdesu <progname> Gnome (regular Ubuntu) this would be gksudo <progname> or executing from a terminal/console which is sudo <progname>
Likely the password which is being asked for is your password when you login to your window manager (KDE or Gnome). This would be the same password you enter when administrative duties need to be done, adding and removing programs for example or changing system settings and so on.
You can also find help at these places:
https://help.ubuntu.com/
http://ubuntuforums.org/
-
You can use a nice program in ubuntu called Automatix to download and install additional programs you require in ubuntu.
To install Automatix:
Code:
echo "deb http://www. getautomatix.com/apt feisty main" | sudo tee -a /etc/apt/sources.list
wget http://www. getautomatix.com/keys/automatix2.key
gpg --import automatix2.key
gpg --export --armor E23C5FC3 | sudo apt-key add -
sudo apt-get update
sudo apt-get install automatix2
Note there is a space after the www. becuase it was showing at ****
Now go into Applications, System Tools, Automatix.
Click Agree and wait for the additional repositories to be added.
Go through the menus until you find Sun Java 6 Console and install it.
-
hmm. on all packages it doesnt show java or sun java at all.
i can not install anything nor any of above method works as when i go to terminal and try to change something with su command my password is wrong .(this is fun)
now next step is to remove this ubuntu and reinstall again??
what is correct way?
i have windows xp pro on c and e and ubuntu on d hard drive.
thnks
i have tried all above and i have look in google and forums but it look like i am stuck with this password dunno why.probably first time when i was writing it nothing was moving so i kept typing and maybe set up 3 million wrong letters without realising it.
;(
thnks
-
Ign http://www. getautomatix.com/apt/main Packages
Err http://www. getautomatix.com/apt/feisty Packages
Could not resolve 'www.'
Err http://www. getautomatix.com/apt/main Packages
Could not resolve 'www.'
Err http://www. getautomatix.com/apt/feisty Packages
Could not resolve 'www.'
Err http://www. getautomatix.com/apt/main Packages
Could not resolve 'www.'
Failed to fetch http://www./dists/getautomatix.com/apt/Release.gpg Could not resolve 'www.'
Failed to fetch http://www./dists/getautomatix.com/a...86/Packages.gz Could not resolve 'www.'
Failed to fetch http://www./dists/getautomatix.com/a...86/Packages.gz Could not resolve 'www.'
Failed to fetch http://www./dists/getautomatix.com/a...86/Packages.gz Could not resolve 'www.'
Failed to fetch http://www./dists/getautomatix.com/a...86/Packages.gz Could not resolve 'www.'
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
-
sorry this was message what i get when i try to install automatix. i log in with root(password was ok)
copy and paste your commands.
(still having fun)
ps.have few pc when i get pissed off and demolish this one;)
-
hi all.ok i found out i have ubuntu 5.4 instead 0f 7.4 as i tought.Thats maybe reason why some of the above things didnt work.Sorry .I am googling on it and doing some more research.Thanks for your help.I have idea now what to do and where to start.
Thanks.
all above was very helpfull.
-
Also take out the space after the www.
I had to put that in in the post as it came up with *****