how do you remove a package using apt in ubuntu code example Example: how to delete a package in ubuntu sudo apt-get --purge remove [package]