Question

how to add java on Ubuntu 12.10 x64 Desktop

  • Posted July 11, 2013

i have found a way with the command sudo? add-apt-repository ppa:webupd8team/java but when i type this it says add-apt-repository: command not found can any one please help me.?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You have to install the software-properties-common package to be able to use the add-apt-repository command.

like can you explain in step by step what i need to do please

i`m a big newbie to this VPS world can you please explain me in smaller details and in full codes please if you will manage to help me i will give you cookies!

If you need to add a repository to download it through apt-get, edit your “/etc/apt/sources.list” file and add something like “deb <url> repository_name” to the beginning of that file, e.g. with “sudo nano /etc/apt/sources.list”. <br> <br>Then do apt-get update.