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, it is designed for projects in mind but is used 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 Rocky Linux 8 Workstation.
Table of Contents
- Recommended OS: Rocky Linux 8.+.
- User account: A user account with sudo or root access.
- Internet Access
Update Operating System
Update your Rocky Linux operating system to make sure all existing packages are up to date:
sudo dnf upgrade --refresh -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@rockylinux ~]$ sudo whoami root
To set up an existing or new sudo account, visit our tutorial on How to Add a User to Sudoers on Rocky Linux.
To use the root account, use the following command with the root password to log in.
For desktop users, the tutorial will utilize the terminal for the installation found in Activities > Show Applications > Terminal.
Create & Import Repository
The first step in installing Microsoft Teams on Rocky Linux is to create and then add the repository into a configuration file. To do this, use the following command.
sudo tee /etc/yum.repos.d/ms-teams.repo<<EOF [Teams] name=teams baseurl=https://packages.microsoft.com/yumrepos/ms-teams enabled=1 gpgcheck=1 gpgkey=https://packages.microsoft.com/keys/microsoft.asc EOF
Next, refresh your repository.
sudo dnf update --refresh
Install Microsoft Teams on Rocky Linux
With the repository now added, you can install Microsoft Teams using the following command.
Option 1. Install Microsoft Teams
sudo dnf install teams.x86_64
Option 2. Install Microsoft Teams Insiders (Beta)
sudo dnf install teams-insiders.x86_64
Type Y, then press the ENTER KEY to proceed with the installation.
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 DNF packages.
sudo dnf update
When updates are available, run the standard upgrade command as you would with any other DNF package.
sudo dnf upgrade
Ideally, you should use this command instead as the other methods are depreciated.
sudo dnf upgrade --refresh -y
How to Remove (Uninstall) Microsoft Teams
For users that no longer require Microsoft teams, use the following command to remove the application.
sudo dnf 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/yum.repos.d/ms-teams.repo
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.