download teamviewer via command line 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: cmd line install team viever
$ cd /tmp
$ wget https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc