Remove Microsoft Teams from Ubuntu

Running Ubuntu 20.04. I installed Ms Teams a year ago for work and it worked fine. I have both MS Teams "insiders" and "preview" versions.

A few weeks ago, they stopped working. When I try to access meetings, I am told to log in (which isn't needed as I did the same with my android phone and it wasn't required) or most of the time, the Teams software just won't load.

Other answers given here say "sudo apt remove teams" as the solution, but when I try this it says that teams is not installed? However in my software menu, both Teams insiders and Teams Preview appear as selectable, even though they don't load.

So what should I do to remove Teams from my computer completely?

I just want to get rid of this program and try to reinstall it as I need this for work.

Edit:

apt list teams
Listing... Done
teams/stable 1.4.00.26453 amd64
N: There are 9 additional versions. Please use the '-a' switch to see them.

$ snap list teams

Name Version Rev Tracking Publisher Notes
teams 1.4.00.26453 6 latest/stable msteams✓ -

Edit: Solved now. It was a snap package so needed a snap command to remove, thanks for the help.

6

1 Answer

It looks like you have the snap versions of Microsoft Teams installed.

However, Teams can be also be installed using two different methods, the PPA and the snap store. The ways to uninstall either or both are listed below:

Remove Teams installed from the Snap Store

Open a terminal and enter the command:

sudo snap remove teams

Snaps automatically saves a snapshot of the data used by the app. To remove the saved data as well as the app use the command:

sudo snap remove --purge teams

If you have teams-insiders installed via snap, you can uninstall it similarly.

Remove Teams installed from the PPA

Open a terminal and enter the command:

sudo apt remove teams

You will be asked for your password. When you type the password the cursor will not move there will be no ***** of any kind. This is normal. Enter the password and hit Enter.

This command will uninstall the software but keep the configuration files, in case you want to install and use it later.

Installing Teams this way adds Microsoft's Teams PPA repository in the list of sources.

If you want to remove the configuration files along with the app as well as the PPA, use these two commands:

sudo apt remove --purge teams
sudo rm -i /etc/apt/sources.list.d/teams.list

The -i option will ask you if you are sure before deleting the PPA.

Hope this helps

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like