To completely uninstall Google Chrome from Linux, remove its installed package, any Chrome-only software repository, and—if you no longer need it—its local profile and cache. The package-removal commands vary by distribution, and deleting profile data is irreversible, so first check which browser and package you have and back up anything you want to keep.
What You’ll Need
- A user account with administrator privileges, usually through
sudo. - A terminal and the name of your Linux distribution, such as Ubuntu, Fedora, openSUSE, or Arch Linux.
- Time to export or back up bookmarks, passwords, and other local data if you may want them later.
Step-by-Step
- Confirm that the browser is Google Chrome. Chrome and Chromium are related but separate applications, and their package names and data folders differ. Open Chrome and visit
chrome://versionif it still runs; the page identifies the browser and shows the profile path. In a terminal, you can also check installed packages: usedpkg -l | grep -i chromeon Debian or Ubuntu,rpm -qa | grep -i chromeon Fedora or openSUSE, orpacman -Qs chromeon Arch. These searches can show Chromium too, so read the full package name before removing anything. If you installed Chrome as a Flatpak, check withflatpak list | grep -i chrome. - Decide what you want to keep and make a backup. If Chrome Sync is enabled, confirm that the items you care about—such as bookmarks, passwords, and extensions—are synced to the correct Google account. Sync is useful, but it is not a complete backup of every local setting or file. To save bookmarks separately, open Chrome’s bookmark manager, use its menu, and choose the export option to create an HTML file. For passwords, use Chrome’s password manager to export them only if needed; the exported file is sensitive and should be stored securely and deleted when you are finished. Also copy any locally saved downloads you want to keep. Do not remove the profile directory until you have checked it.
- Close Chrome and its background processes. Exit every Chrome window. If Chrome stays open in the background, turn off its background-app option in Chrome’s settings first, or close it from your desktop’s system monitor. You can check for remaining processes with
pgrep -a chrome. If the command reports Chrome processes, save your work and close them normally before continuing. Avoid killing processes indiscriminately; other applications or Chromium may have similar names. - Remove the package using the tool for your distribution. Run only the command that matches the package manager and package name you verified. On Debian, Ubuntu, Linux Mint, and other apt-based systems, run
sudo apt purge google-chrome-stable. If you installed the beta or dev channel, replace the package name with the exact installed name, such asgoogle-chrome-betaorgoogle-chrome-unstable. On Fedora, usesudo dnf remove google-chrome-stable. On openSUSE, usesudo zypper remove google-chrome-stable. On Arch Linux, Chrome is commonly installed from the AUR; remove the exact AUR package with your helper, for exampleparu -Rns google-chromeoryay -Rns google-chrome. Review the package manager’s proposed changes and cancel if it plans to remove unrelated software. If the listing showed a Flatpak instead, remove the exact application ID shown byflatpak list, for example withflatpak uninstall com.google.Chromeonly if that is its listed ID. - Review and remove Chrome’s package repository if it remains. Uninstalling Chrome may leave its update source configured, which is harmless but unnecessary if you do not plan to reinstall it. On apt-based systems, inspect
/etc/apt/sources.list.d/for a Chrome-specific file, often namedgoogle-chrome.list. On Fedora or openSUSE, check/etc/yum.repos.d/for a Chrome-specific repository file, commonlygoogle-chrome.repo. Remove a file only when its contents show that it is exclusively for Google Chrome; do not delete a general-purpose repository file. For example, inspect it withcat /etc/apt/sources.list.d/google-chrome.list, then remove that exact file with administrator privileges if it is Chrome-only. A missing file simply means there is nothing to clean up. Repository signing keys may also remain; leave a key in place unless you have confirmed it is used only by the Chrome repository. - Delete the local profile and cache only if you want a clean wipe. Chrome’s usual profile directory is
~/.config/google-chrome, and its cache is usually~/.cache/google-chrome. These are per-user folders, so repeat the check for each Linux account that used Chrome if you are cleaning a shared machine. First make sure Chrome is closed and your backups are complete. To inspect the folders, usels -ld ~/.config/google-chrome ~/.cache/google-chrome. If you are certain you want to erase Chrome’s local settings and data, remove only those exact paths withrm -rf -- ~/.config/google-chrome ~/.cache/google-chrome. Check the spelling and paths before pressing Enter: this permanently deletes the matching data. If the profile path shown onchrome://versionwas customized, locate and assess that folder separately. Do not delete a whole~/.configor~/.cachedirectory. - Check that Chrome is gone. Run
command -v google-chromeand check the package list again using your distribution’s query command. If the command returns no path and the package listing no longer shows the Chrome package, the application has been removed. You can also search your application menu and try launching Chrome, but do not rely on the menu alone: desktop launchers can remain cached briefly. If the browser still appears installed, use the troubleshooting section below to identify whether another package, user account, or installation method is involved.
Common Mistakes
- Removing Chromium by accident. A package search for “chrome” may show both Google Chrome and Chromium. Verify the exact package name and publisher before confirming removal.
- Assuming package removal deletes personal data. The package and the profile are separate. Conversely, removing the profile is not required to uninstall the browser; it is an optional, destructive cleanup step.
- Deleting the wrong folder. Do not use a broad command such as
rm -rf ~/.config/*. Specify only Chrome’s profile and cache paths, and verify them first. - Removing a repository used by other software. Inspect repository files before deleting them. Do not remove an entire directory or a shared signing key simply because its name looks unfamiliar.
- Confusing Chrome with a browser installed another way. A Flatpak, a manually extracted archive, or an AUR package may not be removed by apt or dnf. Identify the installation method before choosing a removal command.
Tips
Keep the exported bookmark file and any password export outside Chrome’s profile folder, since deleting that folder erases its contents. A password export is typically readable as plain text, so protect it from other users and remove it securely when it is no longer needed. If you are giving away or recycling the computer, removing Chrome alone does not securely erase the rest of your account or disk; use your system’s appropriate account or disk-wiping process.
If you may reinstall Chrome later, you can uninstall the package but keep the profile. That preserves local settings and makes a future setup easier, while still removing the browser executable. You can also leave the repository configured, though it may continue to appear in package-manager update checks. For a shared computer, perform cleanup separately in each user account rather than using a root command that might remove or alter files owned by everyone.
Troubleshooting
The package manager says the package cannot be found: You may have a different channel or installation type. Recheck the full package list, look for a Flatpak with flatpak list, and inspect the profile’s version page if Chrome still opens. Use the exact installed package or application ID rather than guessing.
You get a permission error: Package removal needs administrator privileges, so use the appropriate command with sudo. Your personal profile folders should normally be removed as your own user, without sudo. Using root unnecessarily can create files you cannot later manage normally.
The package manager reports a lock or that Chrome is in use: Wait for any software update or package installation to finish, close Chrome, and try again. Do not delete package-manager lock files; they protect the system from interrupted or overlapping package operations.
Chrome still appears in the menu or opens after removal: Check for another Chrome package, another installation method, or a second Linux user account. Refresh or sign out of the desktop session if the launcher is stale. If the browser opens, inspect its executable path and profile path on chrome://version to identify the remaining copy.
Removal fails because of dependency or repository errors: Read the complete error and let the package manager report its proposed fix. Do not force-remove dependencies or delete package database files. On apt-based systems, a package index refresh with sudo apt update may help when the error concerns an unavailable repository; if it does not, correct or remove only the confirmed Chrome-specific repository entry and retry.
Frequently Asked Questions
Does uninstalling Chrome delete my bookmarks and passwords?
Not necessarily. Package removal usually leaves the user profile behind. If you separately delete ~/.config/google-chrome, locally stored data is erased; synced data may still be available in your Google account.
Can I remove Chrome without deleting its profile?
Yes. Remove the package and leave the profile directory in place. This is a good choice if you might reinstall Chrome or want to preserve local settings for now.
Will this uninstall Chromium too?
No, not unless you explicitly remove its separate package. Check the package name before confirming any removal so you do not uninstall the wrong browser.
Is it safe to delete the Google Chrome repository?
It is safe to remove a repository entry confirmed to be used only for Chrome, if you no longer want Chrome updates or a reinstall through that source. Inspect the file first and leave shared repositories and keys alone.
Why is Chrome still listed after I removed it?
The desktop menu may be cached, or another channel, installation method, or user account may still have Chrome. Query the package manager and check Flatpak installations before removing anything else.
Do I need to restart Linux?
Usually not. Close Chrome and remove its package; a sign-out or menu refresh may clear a stale launcher, but a full restart is rarely necessary.