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