linux uninstall all packages code example Example: uninstall packages linux terminal $ sudo apt-get --purge remove {PACKAGE_NAME}