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