Microsoft Teams is a proprietary business communication platform developed by Microsoft and is a collaboration application built for chat, calling, collaboration, and meetings all in one place to make it easier for teams to stay organized and connected easier than using several other communication platforms separately. Teams is designed for projects in mind but is utilized in various workplaces, given the number of features built-in.
In the following tutorial, you will learn how to import the official repository and install Microsoft Teams on Ubuntu 20.04 LTS Focal Fossa desktop.
Table of Contents
- Recommended OS: Ubuntu 20.04.
- User account: A user account with sudo or root access.
The tutorial will utilize the terminal interface, which can be found in the show applications menu.
Update Operating System
Update your Ubuntu operating system to make sure all existing packages are up to date:
sudo apt update && sudo apt upgrade -y
The tutorial will be using the sudo command and assuming you have sudo status.
To verify sudo status on your account:
Example output showing sudo status:
[joshua@ubuntu ~]$ sudo whoami root
To set up an existing or new sudo account, visit our tutorial on How to Add a User to Sudoers on Ubuntu.
Use the following command with the root password to log in to use the root account if you do not want to use the sudo command.
Create & Import Repository
Import GPG Key
First, install the curl package.
sudo apt install curl -y
Next, using the curl command, import the GPG key.
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
Now, import the official Microsoft Teams repository using the following command.
echo deb https://packages.microsoft.com/repos/ms-teams stable main | sudo tee /etc/apt/sources.list.d/teams.list
Lastly, update your APT cache.
sudo apt update
Install Microsoft Teams
The next part of the installation of Microsoft Teams is to proceed with the actual install using the following command.
sudo apt install teams
Option 2. Install Microsoft Teams Insiders
sudo apt install teams-insiders
Optionally, you can verify the installation by checking the APT-CACHE Policy as follows.
apt-cache policy teams
How to Launch Microsoft Teams
Now that you have the Microsoft Teams installed, launching can be done in a few options.
In your terminal type:
If you would like to launch Teams and use the terminal, send it to the background:
However, this isn’t practical for most desktop users, and you would use the following path on your desktop to open with the path: Activities > Show Applications > Microsoft Teams.
Alternatively, if you cannot find it, use the search function in the Show Applications menu if you have many applications installed.
Once launched, you will get to the get started screen. From here, you can log on and use Microsoft Teams.
How to Update Microsoft Teams
Run the standard update commands for future updates for Teams and any default APT packages.
sudo apt update
When updates are available, run the standard upgrade command as you would with any other APT available updates.
sudo apt upgrade
How to Remove (Uninstall) Microsoft Teams
Use the following command to remove the application for users who no longer require Microsoft teams.
sudo apt remove teams -y
Next, remove the repository if you no longer want to have it present on your system for future installs.
sudo rm -r /etc/apt/sources.list.d/teams.list
Comments and Conclusion
In the tutorial, you have learned how to import the official Teams repository and install the latest version of the software. Overall, Microsoft Teams is a feature in many workplaces.
Besides being used for teams, it has excellent collaboration features messaging that can cut down on most other dependencies on the workplace such as emails and keep it centralized.