How to install netbeans 7.2 on latest ubuntu [duplicate]

I want to install the latest netbeans (i.e. 7.2), But ubuntu software center only gives me 7.0.1. How to I install netbeans 7.2 on the latest Ubuntu 12.04? thanks


Solution 1:

Go to netbeans download page

Make sure the platform is linux(x86/x64) on the top-right of page download any version you want from the ones listed below. you will end up with a netbeans-7.**.sh file.

for me,

filename=netbeans-7.2-ml-linux.sh

it will vary depending on the version you choose.

open terminal, go to the directory where its downloaded eg: I downloaded into my Downloads folder so,I entered the command

cd ~/Downloads 

now execute the .sh file, by entering

sudo bash <filename>