How to Completely Uninstall Google Chrome From Ubuntu

Want to remove Google Chrome from your Ubuntu? Here's how to completely purge Google Chrome and its settings files from Ubuntu.
Warp Terminal

So, you managed to install Google Chrome on Ubuntu. It is the most popular web browser in the world, after all.

But perhaps you dislike Google products for the heavy tracking and data mining they employ on its users. You decided to opt for other web browsers on Ubuntu, perhaps a non-Chromium browser.

Now that you are no longer using it, it would be wise to remove Google Chrome from Ubuntu.

How to do that? Let me show you the steps.

Remove Google Chrome completely from Ubuntu

Removing Google Chrome from Ubuntu
Illustration for removing Google Chrome from Ubuntu

You probably installed Google Chrome graphically. Unfortunately, youโ€™ll have to resort to the command line for removing it, unless you opt to use Synaptic Package Manager.

It is not too difficult. Press the Ctrl+Alt+T keyboard shortcut in Ubuntu to open a terminal.

Type the following command in the terminal:

sudo apt purge google-chrome-stable

It asks for a password. It is your user accountโ€™s password, the one which you use to log in to your Ubuntu system.

When you type the password, nothing is displayed on the screen. This is normal behavior in Linux. Just type the password blindly and press enter.

It will ask you to confirm the removal of Google Chrome by entering Y or simply pressing the enter key.

remove google chrome ubuntu
Removing Google Chrome for Ubuntu

This will remove Google Chrome from your Ubuntu Linux system along with most of the system files.

However, the personal setting files remain in your home directory. This includes cookie sessions, bookmarks and other Chrome-related settings for your user account. If you install Google Chrome again, the same files could be used by Chrome again.

Google Chrome leftover settings in Ubuntu
Google Chrome leftover settings in Ubuntu

If you want to uninstall Google Chrome completely, you may also want to remove these files.

๐Ÿšง
This method involves the removal of files and folders in the Linux command line. If you are unfamiliar and uncomfortable with Linux commands, please do not bother with this part.

Hereโ€™s what you should do.

Change to the .config directory. Mind the dot before config. Thatโ€™s the way to hide files and folders in Linux.

cd ~/.config

And now remove the google-chrome directory:

rm -rf google-chrome
Removing the leftover Google Chrome settings from Ubuntu
Removing the leftover Google Chrome settings from Ubuntu

You could have also used rm -rf ~/.config/google-chrome to delete it in one single command. Since this tutorial is focused on absolute beginners, I made it in two steps to reduce the error margin because of a typo.

Similarly, you could also remove the Google Chrome cache located in ~/.cache/google-chrome.

If you are unfamiliar with the terminal, our tutorial series will help you.

Linux Command Tutorials for Absolute Beginners
Never used Linux commands before? No worries. This tutorial series is for absolute beginners to the Linux terminal.

I hope this quick beginner tip helped you to get rid of Google Chrome from Ubuntu Linux.

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries ๐Ÿ•ต๏ธโ€โ™‚๏ธ

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! Youโ€™ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.