Note: this recipe has been updated in
- 2023 to include instructions for Snap-based installations
- 2020 to more safely backup the files rather than using a recursive delete
Snap-based installation (Ubuntu 22.04+)
Uninstalling the Chromium Snap is relatively straightforward:
sudo snap remove chromium
APT-based installation (< Ubuntu 22.04)
To uninstall Chromium Browser, run these commands from your terminal:
$ sudo apt-get purge chromium-browser
$ mv ~/.config/chromium/ ~/.config/chromium.bak/
To uninstall Google Chrome, run these commands from your terminal:
$ sudo apt-get purge google-chrome-stable
$ mv ~/.config/google-chrome/ ~/.config/google-chrome.bak/
In both examples, the first command removes the package, while the second command will move custom settings, such as plugins, to a backup directory.