Microsoft Teams brings users together to collaborate on projects so work can get done as quickly and efficiently as possible. The official Microsoft Teams app is now available for Linux. Let’s show you how you can install it on your Linux system.
There are generally two ways in which you can install Microsoft Teams.
Microsoft provides Teams .deb installer files for Debian and Ubuntu based distributions and .rpm for Red Hat and other Red Hat related based platforms. You can download these files locally and install Microsoft Teams by running the files for your operating system. But it’s not good practice to offer directly rpm and deb packages from web page an it’s difficult to install said software programmatically that way.
Therefore, here we will show you the second approach, which is the best in our opinion.
Install MS Teams on Linux from Microsoft’s repository
Using a package manager, you can install and keep up to date the Teams application. Once you added the Microsoft’s software repository for Linux, you will be notified about software updates, bug fixes and new features whenever they are available. You can then update them using your default package manager on your Linux system.
The steps shown below do the following:
- Install repository signing Key
- Create the Teams App repository
- Update system package cache
- Install Microsoft Teams App from repository
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main" > /etc/apt/sources.list.d/teams.list' sudo apt update sudo apt install teams
RHEL, Fedora and CentOS based distributions
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc sudo sh -c 'echo -e "[teams]\nname=teams\nbaseurl=https://packages.microsoft.com/yumrepos/ms-teams\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/teams.repo' yum check-update
yum install teams
openSUSE based distributions
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc sudo sh -c 'echo -e "[teams]\nname=teams\nbaseurl=https://packages.microsoft.com/yumrepos/ms-teams\nenabled=1\nautorefresh=1\nkeeppackages=0\ntype=rpm-md\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/zypp/repos.d/teams.repo' sudo zypper refresh sudo zypper install teams
That’s it. You have successfully installed Teams for Linux.