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

  • 16
    Does this work sudo dpkg -P teams?
    – Kulfy
    Mar 23, 2020 at 14:38
  • @Kulfy This comment looks very close to an answer to me.
    – Elder Geek
    Mar 24, 2020 at 16:02
  • How did you even get teams to work on Ubuntu 22? For me its always just a white screen when starting the app. Dec 21, 2022 at 14:50

5 Answers 5


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
  • 5
    Or easier... use dpkg -l *team* | grep ii.
    – heynnema
    Mar 23, 2020 at 15:22
  • 38
    In my case, the package was teams, therefore the solution was sudo apt remove teams. May 3, 2020 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, 2022 at 9:57

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

  • 1
    Hello. The answer would need to know how it was installed.
    – David
    Apr 6, 2022 at 10:09
  • I'm not sure, probably by dpkg .deb
    – julien
    Apr 9, 2022 at 9: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. askubuntu.com/a/310/421929 Nov 1, 2022 at 4:14

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

Full path .config/Microsoft/Microsoft Teams


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

  • 4
    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, 2020 at 14:49
  • I see. But that works on mine. I genuinely don't know why and how.
    – 钟智强
    Mar 23, 2020 at 14:51
  • Just install Stacer and it lets you remove anything. Sep 2, 2021 at 12:05
  • Another approach to manually delete MS Teams is documented here
    – Mat D.
    Feb 4, 2022 at 9:47

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .