107

The question's in the title. The official website gives only details for Windows and Mac.

andrew.46
  • 37,085
  • 25
  • 149
  • 228
Gytis
  • 1,189
  • 2
  • 8
  • 10

4 Answers4

177

Because the Linux version of the Teams application is supplied as a .deb file, the installation is registered in your package manager. Note, however, that as part of the installation process, Microsoft also added a software source (PPA) for Teams. That ensures that you automatically receive updates.

The package is named teams. You can see this in the output of the command dpkg -l *team*. Remove it using

sudo apt remove teams

You can remove the added PPA using the "Software & Updates", "Other Software" tab, or using the terminal:

sudo add-apt-repository --remove ppa:repos/ms-teams
vanadium
  • 82,909
  • 6
  • 116
  • 186
  • 5
    Or easier... use `dpkg -l *team* | grep ii`. – heynnema Mar 23 '20 at 15:22
  • 36
    In my case, the package was teams, therefore the solution was `sudo apt remove teams`. – Dan Roberts May 03 '20 at 14:52
  • 3
    On Ubuntu 22.04, the command to remove the PPA doesn't work. You can open Software and Updates Application, go to Other Software tab and remove the repos/ms-teams entry manually. – x__x Jul 21 '22 at 09:57
6

view on the site https://doc.ubuntu-fr.org/teams => the snap solution work for me, apt and dpkg don't work

snap remove --purge teams or snap remove --purge teams-for-linux

julien
  • 161
  • 1
  • 2
  • 1
    Hello. The answer would need to know how it was installed. – David Apr 06 '22 at 10:09
  • I'm not sure, probably by dpkg .deb – julien Apr 09 '22 at 09:13
  • $ snap remove --purge teams snap "teams" is not installed $ sudo apt purge teams The following packages will be REMOVED: teams* 0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded. After this operation, 302 MB disk space will be freed. https://askubuntu.com/a/310/421929 – Alexander Glulkhovtsev Nov 01 '22 at 04:14
6

Solution for this issue, you need to rename the Microsoft Teams folder in config directory under /home/user.

Full path .config/Microsoft/Microsoft Teams

Tejas Lotlikar
  • 2,875
  • 5
  • 16
  • 26
Vineet Bakshi
  • 61
  • 1
  • 1
3

In an older version of Ubuntu Like mine, I use the following line.

sudo rm -r {the directory of where you installed the "team"}

It depends on How you install it. If you install from Microsoft Website, .deb then it is easily uninstalled with the above line. If you installed using Wine but using the .exe. file then you need to do something About the Wine

wine uninstall

** I used an old version, It might work for you and probably not. Hope this help

钟智强
  • 131
  • 2
  • 3
    `rm` will delete the files and directories of teams but would not "uninstall" that. It'll still appear as a "ghost" in `apt list --installed` and `dpkg -l`. – Kulfy Mar 23 '20 at 14:49
  • I see. But that works on mine. I genuinely don't know why and how. – 钟智强 Mar 23 '20 at 14:51
  • Just install Stacer and it lets you remove anything. – Peter Drinnan Sep 02 '21 at 12:05
  • Another approach to manually delete MS Teams is documented [here](https://askubuntu.com/questions/1391091/reinstall-ms-teams-after-upgrade-to-ubuntu-21-10/1391092#1391092) – Mat D. Feb 04 '22 at 09:47