is there a ppa for up to date netbeans installation on ubuntu 14.04?
I search for my question too much, but i didn't found any good answer.
I want to know is there any separate repository for installing and updating netbeans on ubutnu 14.04?
In the ubuntu 14.04 standard repositories, netbeans version is 7.0, in case that the 8.x version is released.
Though I'm not sure on details, being quite new to Linux, Stack, and with the IDE selections on here, I believe the propper ppa is ppa:vajdics/netbeans-installer as was sourced from vajdics launchpad.
To list out some sort of instruction.
- Open the terminal ( Ctrl+Alt+T )
- Input "
sudo add-apt-repository ppa:vajdics/netbeans-installer
" and hit Enter. - Input "
sudo apt-get update && sudo apt-get install netbeans-installer
" and hit Enter again. - You'll be prompted again as to whether you would like to continue the installation, Just input "
Y
" and press Enter again.
That's it. I hope this dispels some problems others might be having. To be fair, I did cheat, I was using 13.10, but I've grown tired of looking up my issues only to be directed to older posts/solutions that are either out of date or pandering to Ubuntu's built in solutions(universe). I hope this solution is one that works with 12.04 and that it helps all who are stuck on this issue.
Luckily, NetBeans is actually in the Ubuntu universe
PPA, so it is accessible to anyone with an Ubuntu installation.
Installing NetBeans
- Open Terminal. This can be done by searching for it in your Dash and opening it or typing the combination Ctrl+Alt+T.
- Copy-paste the
sudo apt-get install netbeans
into the Terminal window you just opened. This can be done by highlighting the text by dragging the mouse over it and either right-clicking it and selecting Copy or by typing the combination Ctrl+C, then paste it into Terminal by right-clicking within the window and selecting Paste. - Press Enter to run the command.
- If asked for it, type your password, then press Enter.
- If asked, press
y
and hit Enter - Let Terminal finish running the command, then open NetBeans from your Dash. At this point, it is safe to close the Terminal window.
Updating NetBeans to the Latest Version
If it is necessary that you have the latest version of NetBeans, you should follow these instructions to update.
- Open another Terminal session.
- Copy-paste the command
sudo apt-add-repository ppa:rockclimb/netbeans1
and press Enter, then Enter again when asked to. - If prompted for your password, type it and then press Enter
- Copy-paste the command
sudo apt-get update
and press Enter. - Copy-paste the command
sudo apt-get upgrade
and answery
if asked. - NetBeans is now up-to-date. At this point it is now safe to close Terminal.
(Unfortunately, ppa:rockclimb/netbeans1 no longer works)
More Information
apt-get
is the default package manager for Debian, on which Ubuntu is based. apt-get install
can be used to install a package. Since NetBeans is in the universe
repository, it's available to all Ubuntu installations by default, so all you need to do is run a simple apt-get install
command with the argument netbeans
.
Since NetBeans is installed in a directory other than /home
, it is necessary you prefix it with sudo
. This is because you don't own any directories other than your own (/home/USER
) but root
has access to all directories. The sudo
argument tells Terminal to run your command as root
so that it can enjoy the elevated permissions necessary to run.
Update for XKAL's answer, the ppa:vajdics/netbeans-installer is now available for 12.04 (or later) also.
Note: For those who use the latest version of ubuntu, an up-to-date version of netbeans is available in the [universe]
repository.