Google Chrome is the most popular web browser. It is a cross-platform web browser developed by Google and available for all major platforms: Windows, Linux, macOS, iOS, Android, etc. It is based on the open-source Chromium project.
In this guide we will take a look at how to uninstall Chrome on Ubuntu 22.04.
Requirements:
To follow this guide you will need the following components:
- A properly configured Ubuntu system.
- access to a Non-root users with sudo privilege.
Google Chrome at Ubuntu
For Debian/Ubuntu, Google offers an installable DEB package. When installed, the package also configures the official Chrome Repo for Debian/Ubuntu. Therefore, we can use APT package manager to uninstall Chrome.
The following guide shows an in-depth discussion of to install Google Chrome on Ubuntu 22.04.
Note that Chrome and chrome are different applications. Chrome is offered by Google, which contains proprietary codes, while Chromium is derived directly from the source code of the Chromium project.
Step 1: Search for Chrome Packages
Check the existence of the Chrome Package with the following command:
Depending on the release channel, the package name is different:
- Stable channel: google-chrome-stable
- Unstable channel: google-chrome-unstable
- Beta channel: google-chrome-beta
Step 2: Uninstall Chrome
Now that we have the package names, we can uninstall them using APT.
To uninstall the Chrome stall, run the following command:
To uninstall Unstable Chrome, use the following command instead:
To uninstall the beta Chrome, use this command instead:
Alternatively, we can remove all installed ones Google Chrome Packages with the following command:
Step 3: Remove the Chrome repo
If you want to install Chrome In the future it is recommended to keep it Chrome repo as you can install seamlessly Chrome and get updates. However, there are ways to remove it.
First we need to find out where the Chrome Repos saved. There are two places where repo information is stored in Ubuntu:
- /etc/apt/sources.list: The default file that APT uses to get the list of repos. Ideally, it should only contain the system repos.
- /etc/apt/sources.list.d/: A directory that can contain the additional “.list” files. Ideally, third-party repo files should be stored here.
Instead of manually checking every single “.list” file under /etc/apt, we can use grep to automate the process:
If the entries are stored in their dedicated files, you can safely remove them. If the entries are part of a larger file, you must edit the files and remove the entries manually.
Chrome in Ubuntu
The Chromium browser is open source software that contains no proprietary web codes. Most Linux distributions provide the Chromium browser directly from their official package repos. However, in the case of Ubuntu, Chromium is available as Snap Pack by Snapcraft.
The chrome browser Package from Ubuntu Repos is a transitional package, not the actual program:
Step 1: Find Chromium Snap
The first step is to verify the existence of the Chromium snap package. Check the list of installed snap packages:
Note that Snap uses different channels for the different Chromium versions:
- Chrome Stable: Latest/Stable
- chrome beta: latest/beta
- Chrome candidate: latest/candidate
- Chrome Edge: Latest/Edge
Uninstalling the Chromium snap will also remove the packages from all channels.
Step 2: Uninstall Chromium Snap
Run the following command to uninstall the Chromium snap package:
Verify that the uninstall was successful:
Diploma
We showed how to uninstall Chrome from Ubuntu 22.04. We also discussed how to remove them Chrome repo from the system. This guide has also shown how to uninstall Chromium browser from the system.
Not happy with Chromium/Chrome? There are many web browsers to choose from. Cash the best web browsers of 2023 for Ubuntu.
Have fun calculating!