Amazon Cyber Monday deals See deals →ad

Mets Minor League Blog

Music theory, instruments and musicians

Mets Minor League Blog

Music theory, instruments and musicians

Uninstall Edge on Linux: Safe Steps for Each Distribution

Yes, you can uninstall Microsoft Edge on Linux if you installed it as a package, but the commands depend on your distribution and installation method. Remove it with the package manager that installed it; if Edge came from a manually downloaded package or a software store, use that method instead.

What uninstalling Edge removes

Microsoft Edge for Linux is a desktop browser distributed for several Linux systems, including Debian- and Ubuntu-based distributions and Fedora-based systems. It is commonly installed from a Microsoft package repository, though a downloaded DEB or RPM file or a graphical software manager may also have been used.

Uninstalling the browser removes its application files, but it does not necessarily erase your personal browser data. Favorites, settings, cookies, and saved passwords may remain in your home directory, often under a hidden folder such as ~/.config/microsoft-edge. The precise location can vary by package or browser channel. If you want to preserve data, export or sync it before removal; if you want to erase it, close Edge and remove its profile folder only after confirming that you no longer need anything in it.

Removing the browser also does not necessarily remove the Microsoft software repository or its signing-key configuration. Those are separate system-level settings. You can leave them in place if you might reinstall Edge, or remove them separately if you no longer want your system to check that repository for package updates.

Find out how Edge was installed

Before running a removal command, identify the package manager and package name. Edge’s stable package is typically named microsoft-edge-stable; beta and development builds may use different names. Check what is installed rather than assuming the name or installation method:

  • On Debian or Ubuntu, run dpkg -l | grep -i microsoft-edge.
  • On Fedora, run rpm -qa | grep -i microsoft-edge.
  • To check for a Flatpak installation, run flatpak list | grep -i edge.
  • If you use a graphical software center, search its installed-applications list for Microsoft Edge and check the app’s source or details.

These checks may return no results if Edge was installed under a different package name, is not installed, or was added through a different method. You can also inspect your package manager’s transaction history or the application launcher. Do not use a command for a package format you did not install.

Remove Edge on Debian or Ubuntu

For a DEB installation, open a terminal and run:

sudo apt remove microsoft-edge-stable

Replace the package name with the one shown by dpkg if you installed another Edge channel. Review the package manager’s proposed changes before confirming. The remove operation uninstalls the application while generally leaving system-wide configuration files; it does not ordinarily delete your personal browser profile.

If you want to remove the package and its system-wide configuration files, use sudo apt purge microsoft-edge-stable instead. Purging is not a substitute for deleting your personal profile, and it is usually unnecessary if your goal is simply to stop using the browser. After removal, you may run sudo apt autoremove to review packages that APT considers unused. Read the list before approving it: do not remove packages you still need for other software.

Remove Edge on Fedora and other RPM systems

On current Fedora systems, remove a package with DNF:

sudo dnf remove microsoft-edge-stable

Confirm that the package shown in the transaction is the Edge version you intend to remove. On distributions that still use YUM, the corresponding command is usually sudo yum remove microsoft-edge-stable. Package names and package-manager behavior can differ, so use the name reported by rpm -qa and consult your distribution’s documentation if the command cannot find it.

RPM package removal normally leaves files in your home directory, including Edge profile data. It may also leave the repository definition that supplied Edge. Check the system’s repository configuration if you want to remove that source as well; do not delete unrelated repository files.

Remove a Flatpak or graphical installation

If Edge appears in flatpak list, remove it using the application ID shown in that output. For example, if the ID is com.microsoft.Edge, the command is:

flatpak uninstall com.microsoft.Edge

Use the exact ID listed on your system rather than assuming this example applies. Flatpak may ask whether to remove unused runtimes or related data. Read its prompts, especially if you want to keep application data or shared components for other apps.

For a graphical installation, open the software center where Edge appears as installed, choose Uninstall or Remove, and confirm the requested authentication. A graphical manager is often the simplest option if you are unsure which package format was used. If uninstalling there fails, use the terminal command for the package format it reports, not an arbitrary command found online.

Remove profiles, repositories, and related data

Once Edge is uninstalled, decide separately whether to keep its user data. If you plan to reinstall, switching browsers temporarily, or retrieve bookmarks later, leave the profile in place or make a backup first. Browser data may include passwords, cookies, browsing history, and session information, so treat a profile folder as sensitive.

To remove a profile manually, first close every Edge process and confirm the folder’s name and contents. A hidden directory can be viewed in a file manager by showing hidden files, or listed from a terminal with ls -la ~/.config. Do not copy and paste a deletion command until you have verified its target: a mistaken recursive deletion can permanently erase unrelated files. If your goal is only to uninstall the program, no manual profile deletion is required.

If Edge was installed from Microsoft’s repository, removing the application may leave that repository configured so future package updates can still be offered. Whether to remove it depends on whether you use other packages from that source or expect to reinstall Edge. Repository setup differs by distribution and installation guide; identify the specific repository file and signing-key configuration before changing them.

Frequently Asked Questions

Will uninstalling Edge delete my bookmarks and passwords?
Usually, removing the package alone does not delete the browser profile in your home directory. However, do not rely on that as a backup: sync or export important data before uninstalling, and check whether your chosen removal method offers to delete application data.

Can I reinstall Edge later?
Yes. You can install it again using a supported package source for your distribution. If you leave the profile folder intact, some local settings may be available after reinstalling, but syncing or keeping an independent backup is safer.

Does Linux require Microsoft Edge?
No. Edge is optional on Linux. Removing it does not remove the operating system’s default browser or make Linux unusable, although you should have another browser available if you need web access.

Why does the uninstall command say the package cannot be found?
The package name may differ, Edge may have been installed as a Flatpak or through a software center, or it may already be removed. Check installed packages with the relevant command above and use the exact package name or application ID it reports.

Is removing Edge the same as removing its repository?
No. Uninstalling the browser removes the application package; its package source can remain configured separately. Remove that source only if you no longer want it, and verify which repository entry belongs to Edge before deleting configuration.

Uninstall Edge on Linux: Safe Steps for Each Distribution
Scroll to top