how to uninstall packages in ubuntu 18.04 code example Example: how to delete a package in ubuntu sudo apt-get --purge remove [package]