question

VilleLiski-4094 avatar image
2 Votes"
VilleLiski-4094 asked ·

Provide repository installation instructions instead of offering rpm and deb packages

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.

It would be better to provide repository installation instructions for both apt and yum repositories and then provide the package name.

This can be offered as an alternative installation alongside the actual software installation packages is you feel that users may want to download unnecessary packages instead of using their underlying OS's package management from repositories.

teams-linux
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MarianJavorkaMSFT avatar image
1 Vote"
MarianJavorkaMSFT answered ·

Thank you for your feedback @VilleLiski-4094 . I will make sure we have our official docs updated with these instructions as well. I'll leave instructions here too

Debian and Ubuntu based distributions

 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'

 sudo dnf check-update
 sudo dnf install teams

 # alternatively
 # yum check-update
 # sudo 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
· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.