I upgraded Ubuntu 14.02 to Ubuntu 16.04 and realized that NetBeans was no longer working after the upgrade. So I installed netbeans again from the command line:
sudo apt install netbeans
But after the installation, when I opened NetBeans, it was still not giving me the option for making a C/C++ project.
Can anybody please help with this problem?
Best Answer
The answer provided by https://askubuntu.com/users/22949/eliah-kagan did not work for Ubuntu 19.04 with NetBeans 11 since the C++ plugin is not available under "Netbeans Distribution" when I tried it.
To install C++, I also had to select the Update Center labeled "NetBeans 8.2 Plugin Portal". It appears that C++ is not in the latest distribution yet, so I had add the legacy Update Center.
After adding this update center, I was able to locate and install the C++ plugin as shown in the previous answer, and then create a C++ HelloWorld program in NetBeans 11 on Ubuntu 19.04