File how_to_install_on_ubuntu.txt of Package teams-for-linux

Installation on Ubuntu
======================

Tested on Ubuntu 22.04 LTS

1. Install electron
===================

a) Write in terminal:

sudo apt-get update && sudo apt-get install nodejs npm

b) Install electron globally for all users.
Write in terminal:

sudo npm i electron -g

1.1 Update global npm packages
==============================

Updating globally-installed packages 
will apply the update action to each 
globally installed package that is outdated.

Write in terminal:

sudo npm update -g

1.2 Uninstall electron, nodejs and npm
======================================
# Uninstall electron with terminal command:
sudo npm r electron

# Uninstall nodejs and npm with terminal command:
sudo apt-get remove --purge nodejs npm && sudo apt autoremove

2. Install teams-for-linux
==========================

Install for your version of Ubuntu.
Open the following address in a webbrowser:

https://software.opensuse.org

Search for:

teams-for-linux

Follow the "Expert" installation instructions
for your version of Ubuntu by adding the correct 
repository.

2.1 Uninstall teams-for-linux
=============================

Write in terminal:

sudo apt-get remove --purge teams-for-linux && sudo apt autoremove

3. Launch teams-for-linux
=========================

Write in terminal (or use the application menu):

teams-for-linux

Sign in through the web app and click on
tiny text to the right at the bottom of the
window saying: 

"Use the web app instead"

Do not click on the button "Get the linux app".
openSUSE Build Service is sponsored by