Follow these steps to install it on Ubuntu Linux.
Installation:1. Download teamviewer .deb file
2. Install teamviewer using dpkg
sudo dpkg -i teamviewer*.deb
3. Install the dependencies
sudo apt-get -f install
Usage:Open up Teamviewer by searching the same in the dashboard.
Under the Remote Control option, Enter the partner ID of the computer that you want to connect to control and then enter the password when asked.
or, similarly give your Id and Password to the other computer, you want that computer to control your desktop.