How to Install TeamViewer on Ubuntu

Many software applications are available to access computers remotely on Linux operating system. TeamViewer is one of the popular applications to access, share and control computers remotely. The user can easily control the other’s computer for various purposes like own computer by using TeamViewer.  Some common uses of this software are file sharing, online conference or meeting, desktop sharing etc. It is free to use for personal use, but the users have to buy the license version of this software for commercial use. It is supported by many types of operating system like Windows, Linux, Mac, Android, IOS etc. How you can install and run TeamViewer on Ubuntu is shown in this tutorial.

You can install TeamViewer on your Ubuntu operating system by two ways. These are:

  • By downloading Debian package
  • By using repository

Both installation steps are shown in this tutorial. You can follow any of the ways to install it on your system.

Install Teamviewer by downloading debian package:

If you are a new user and you are less familiar with Linux commands then it will be better for you to follow the following steps for installing TeamViewer.


Open any browser and go to the following URL address to download TeamViewer installer according to the configurations and operating system of the computer. You can download the software by selecting AUTOMATED OPTIMIZED DOWNLOAD or by selecting SPECIFIC OPERATING SYSTEM. Ubuntu operating system is used in this tutorial, so click the download link for Linux (Ubuntu, Debian).



When the following window will appear then click on ‘Save File’ button to start the download process.


By default, any package file downloads on Downloads folder. Open the Files browser and click on Downloads folder to find out the downloaded package. Right click on the package file and click ‘Open with Software Install’ from the pop-up menu.


After opening the Ubuntu Software window, click on Install button to start the installation process of TeamViewer.


You need to provide root password for giving permission to install untrusted software. The above package is downloaded from the outside of ubuntu.com. So, provide root password in the following window to authenticate the package.


You can omit the steps from 3 to 5 by running the following commands from the terminal. If you want to test the following commands after completing step 5 then you must remove Teamviewer first and then try the following commands. The remove command is given in the last section of this tutorial.

Go to the folder where the package is downloaded and run dpkg command with –i option to install TeamViewer from terminal. Here, the package is stored in Downloads folder.

$ cd Downloads
$ sudo dpkg –i teamviewer*


Click on ‘Show Applications’ icon and type teamviewer to find the installed TeamViewer application. If the installation completes successfully in the previous steps then the following icon will appear.


Click on TeamViewer icon to run the application.  Click ‘Accept License Agreement’ button to run the software.


You will get your id and password to communicate with the remote computer. You  have to set your partner id to access or control the computer of your partner remotely. If you get the following window then TeamViewer is installed and working properly.

Install TeamViewer by using repository:

If you want to install TeamViewer by using command line then you can follow the following steps for the installation.


Open the terminal by pressing ‘Alt+Ctrl+T’ and run the following commands to download the repository key of TeamViewer. You can download the file on any folder. Here, Downloads folder is used.

$ cd /downloads
$ wget https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc


Run the following commands to add the repository.

$ sudo sh -c 'echo "deb http://linux.teamviewer.com/deb stable main" >>

$ sudo sh -c 'echo "deb http://linux.teamviewer.com/deb preview main" >>


Run the command to install TeamViewer with root privilege.

$ sudo apt-get install teamviewer


Run the command to check Teamviewer is running or not.

$ teamviewer

The following window will appear like previous installation.

Upgrade TeamViewer:

If you want to re-install or upgrade TeamViewer then you have to remove the previously installed version of this software from the system. You can run any of the following command from the terminal to remove the application.

$ sudo apt-get purge teamviewer
$ sudo apt-get remove teamviewer

After removing the previously installed TeamViewer, follow any of the ways which are mentioned above to re-install the new version of TeamViewer on Ubuntu.


You can use this software to share your computer related problems with your friends or colleagues for getting solution easily. After reading this tutorial, hope you will be able to install and use TeamViewer on Ubuntu and know the advantages of using this software.

About the author

Fahmida Yesmin

I am a trainer of web programming courses. I like to write article or tutorial on various IT topics. I have a YouTube channel where many types of tutorials based on Ubuntu, Windows, Word, Excel, WordPress, Magento, Laravel etc. are published: Tutorials4u Help.