Como desinstalar NetBeans no Ubuntu
sudo apt autoremove netbeans
sudo apt-get remove --purge netbeans
BlueMoon
sudo apt autoremove netbeans
sudo apt-get remove --purge netbeans
sudo snap remove netbeans