teamviewer for linux code example

Example 1: download teamviewer for ubuntu using terminal

#Install this package before install teamviewer
sudo apt install -y libqt5x11extras5

#Download teamviewer
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb

#Install it
sudo apt install ./teamviewer_amd64.deb

#Run it
teamviewer

Example 2: install teamviewer ubuntu 18

wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb

Example 3: teamviewer linux

sudo sh -c "echo 'deb http://linux.teamviewer.com/deb stable main' >> /etc/apt/sources.list.d/teamviewer.list"