110

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

andrew.46
  • 38,003
  • 27
  • 156
  • 232
Gytis
  • 1,227
  • 2
  • 9
  • 10

5 Answers5

184

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
  • 88,010
  • 5
    Or easier... use dpkg -l *team* | grep ii. – heynnema Mar 23 '20 at 15:22
  • 38
    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
8

From the site https://doc.ubuntu-fr.org/teams => the snap solution worked for me, apt and dpkg didn't.

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

julien
  • 181
  • 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
5

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,945
  • 5
  • 17
  • 26
1

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

钟智强
  • 127
  • 2
1

If none of the other answers work for you, then check if you've installed one of the later versions via flatpak.

$ flatpak list
Name                    Application ID
...
Microsoft Teams         com.microsoft.Teams
...

If this is the case, you can uninstall it with:

flatpak uninstall com.microsoft.Teams
vee
  • 111
  • 4