HomeLinuxUninstall Chrome in Ubuntu 22.04

Uninstall Chrome in Ubuntu 22.04


Google Chrome is the preferred internet browser. It’s a cross-platform internet browser that’s developed by Google and is obtainable for all the main platforms: Home windows, Linux, macOS, iOS, Android, and so on. It’s primarily based on the open-source Chromium mission.

On this information, we are going to take a look at uninstalling Chrome in Ubuntu 22.04.

Conditions:

To comply with this information, you want the next parts:

Google Chrome in Ubuntu

For Debian/Ubuntu, Google provides an installable DEB package deal. If put in, the package deal additionally configures the official Chrome repo for Debian/Ubuntu. Therefore, we will use the APT package deal supervisor to uninstall Chrome.

The next information demonstrates an in-depth dialogue about putting in Google Chrome in Ubuntu 22.04.

Word that Chrome and Chromium are completely different purposes. Chrome is obtainable by Google that accommodates proprietary codes whereas Chromium is instantly derived from the supply code of the Chromium mission.

Step 1: Discovering the Chrome Packages

Verify the existence of the Chrome package deal utilizing the next command:

$ apt record –installed | grep google-chrome

 

Relying on the discharge channel, the package deal title is completely different:

    • Secure channel: google-chrome-stable
    • Unstable channel: google-chrome-unstable
    • Beta channel: google-chrome-beta

Step 2: Uninstalling Chrome

Now that now we have the package deal names, we will use APT to uninstall them.

To uninstall the secure Chrome, run the next command:

$ sudo apt take away google-chrome-stable

 

To uninstall the unstable Chrome, use the next command as a substitute:

$ sudo apt take away google-chrome-unstable

 

To uninstall the beta Chrome, use this command as a substitute:

$ sudo apt take away google-chrome-beta

 

Alternatively, we will take away all of the put in Google Chrome packages utilizing the next command:

$ sudo apt take away google-chrome-*

 

 

Step 3: Eradicating the Chrome Repo

If you wish to set up Chrome sooner or later, it’s really helpful to maintain the Chrome repo as you possibly can seamlessly set up Chrome and get updates. Nevertheless, there are methods to take away it.

First, we have to discover the place the Chrome repo is saved. There are two locations the place repo information is saved in Ubuntu:

    • /and so on/apt/sources.record: The default file that APT makes use of to get the record of repos. Ideally, it ought to solely include the system repos.
    • /and so on/apt/sources.record.d/: A listing that may include the extra “.record” recordsdata. Ideally, third-party repo recordsdata must be saved right here.

As an alternative of manually checking each single “.record” recordsdata beneath /and so on/apt, we will use grep to automate the method:

$ grep -r “https://dl.google.com/linux/chrome/deb/” /and so on/apt/*

 

If the entries are saved of their devoted recordsdata, you possibly can safely take away them. If the entries are a part of an even bigger file, you must edit the recordsdata and manually take away the entries.

Chromium in Ubuntu

The Chromium browser is an open-source software program that features no proprietary internet codes. Most Linux distros supply the Chromium browser instantly from their official package deal repos. Within the case of Ubuntu, nevertheless, Chromium is obtainable as a snap package deal from Snapcraft.

The chromium-browser package deal from Ubuntu repos is a transitional package deal, not the precise program:

$ apt information chromium-browser

 

Step 1: Discovering Chromium Snap

Step one is to confirm the existence of the Chromium snap package deal. Verify the record of the put in snap packages:

$ snap record | grep chromium

 

Word that snap makes use of completely different channels for the varied Chromium releases:

    • Chromium secure: newest/secure
    • Chromium beta: newest/beta
    • Chromium candidate: newest/candidate
    • Chromium edge: newest/edge

 

 

Uninstalling the Chromium snap removes the packages from all of the channels as effectively.

Step 2: Uninstalling Chromium Snap

To uninstall the Chromium snap package deal, run the next command:

$ sudo snap take away chromium

 

Confirm if the uninstallation is profitable:

 

Conclusion

We demonstrated how you can uninstall Chrome from Ubuntu 22.04. As well as, we mentioned how you can take away the Chrome repo from the system. This information additionally showcased how you can uninstall the Chromium browser from the system.

Not glad with Chromium/Chrome? There are many internet browsers to select from. Take a look at the most effective internet browsers of 2023 for Ubuntu.

Joyful computing!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments