Score:12

Can't uninstall Edge

cn flag

I have tried using:

sudo apt purge microsoft-edge-dev
sudo apt remove microsoft-edge-dev
sudo apt purge microsoft-edge
sudo apt remove microsoft-edge

But I get the errors Package microsoft-edge-dev is not installed, so not removed and Unable to locate package microsoft-edge.

Edge is still in my favourites bar and opens normally.

cn flag
@wha7ever oh god please no...
Score:25
ru flag

You can use APT's support for wildcards, uninstalling all versions of Edge you might have:

sudo apt purge 'microsoft-edge-*'
htmlcoderexe avatar
pw flag
This is a more general answer.
John C avatar
tr flag
"I say we take off and nuke it from orbit. It's the only way to be sure."
Score:21
mx flag

Depending on what you installed, try:

sudo apt purge microsoft-edge-stable

or

sudo apt purge microsoft-edge-beta

or

sudo apt purge microsoft-edge-canary
cn flag
sudo apt purge microsoft-edge-beta worked thanks ! There are so many versions I thought I just couldnt uninstall it.
Score:20
cn flag

This happens if you mis-spell the package name. Try running

apt list --installed | grep edge 

or

apt list --installed | grep microsoft
Score:3
tr flag

If you're using Ubuntu 19.10 or newer, or Debian Bullseye or newer, you can check if you have anything installed and named like microsoft with:

apt list ~i~nmicrosoft

Similarly, you can remove (any) with:

apt purge ~i~nmicrosoft

This uses the new syntax (apt 2.0) that lists:

  • ~i: installed packages
  • ~n<pattern>: packages whose names match the given RegEx pattern (partial match, not full match). We're using ~nmicrosoft here so any package having microsoft in its name gets selected.

For example, on my workstation with Ubuntu 20.04:

ubuntu@iBug-Server:~$ apt list ~i~nmicrosoft
Listing... Done
microsoft-edge-stable/stable 96.0.1054.53-1 amd64 [upgradable from: 96.0.1054.43-1]
packages-microsoft-prod/focal,now 1.0-ubuntu20.04.1 all [installed]
ubuntu@iBug-Server:~$
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.