how to uninstall netbeans code example Example: how to uninstall netbeans on ubuntu sudo apt autoremove netbeans sudo apt-get remove --purge netbeans