How to install newest version of teamviewer in Ubuntu 14.04 LTS 64-bit using a bash script

Posted: 2014/12/21 in Ubuntu
Tags: , , , , ,
# install Teamviewer server + client which depends on wine1.6
cd /tmp
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --force-yes purge teamviewer9
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --force-yes purge teamviewer8
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --force-yes purge teamviewer
sudo rm -rf /opt/teamviewer*
rm *.deb
wget --no-check-certificate
wget `grep deb linux.aspx |grep i386|cut -d"\"" -f6`
sudo dpkg -i teamviewer*.deb
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --force-yes -f install
# teamviewer autostart fix procedure - add configuration lines below to /etc/rc.local
sudo -k teamviewer --daemon start
cd /opt/teamviewer/tv_bin/script
sudo cp teamviewerd.sysv /etc/init.d/
sudo chmod 755 /etc/init.d/teamviewerd.sysv
sudo update-rc.d teamviewerd.sysv defaults
# !!!!!! Also add teamviewer program to KDE's Autostart (autostart launch command to use: teamviewer)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s