How do I uninstall PHP 8? code example Example: how to uninstall php sudo apt-get remove –purge php* sudo apt-get purge php*