how to uninstall netbeans in ubuntu 20.04 code example
Example 1: how to uninstall netbeans on ubuntu
sudo apt autoremove netbeans
sudo apt-get remove --purge netbeans
Example 2: how to install netbeans on ubuntu 20.04
Apache NetBeans IDE requires Java 8 or later Java Development Kit installed on your system.
To install Java on your system, execute following command
sudo apt install default-jdk
We use snap package to install Netbeans IDE on Ubuntu Linux system.
The latest Ubuntu system have default Snapd installed for application installation.
Open a terminal on your system and run the following command to install Netbeans IDE
sudo snap install netbeans --classic