How To Install and Use TeamViewer On Ubuntu Linux?

TeamViewer is a remote desktop application in simple terms. TeamViewer provides a lot of features beyond the remote desktop-like Remote Device Control , Cross-Platform Access , Secure Unattended Access etc. Ubuntu is popular Linux distribution which is generally used by end-users and corporates. In this tutorial, we will learn “How To Download, Install and Use TeamViewer On Ubuntu?”

Download TeamViewer Installation Deb Package

TeamViewer is a cross-platform application where it supports Ubuntu, Debian officially. So it provides installation packages for Ubuntu and Debian. Ubuntu and Debian users deb extension so TeamViewer installation packages can be downloaded from the following link. TeamViewer installation files are provided both 32 and 64-bit architecture.

https://www.teamviewer.com/en/download/linux/

Download TeamViewer Installation Deb Package
Download TeamViewer Installation Deb Package

Alternatively, we can download with the following command by using wget and given a download link. We will download the 64-bit version. We can also see the most recent version is 14.5currently.

$ wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
Download TeamViewer Installation Deb Package
Download TeamViewer Installation Deb Package

Install TeamViewer

We will use dpkg command in order to install TeamViewer. dpkg is the main tool used to install debpackages. But also keep in mind that installing a package in Linux systems requires root privileges. So we will also use sudo like below in order to elevate root privileges. We will provide the -i option for the dpkg command for installation.

$ sudo dpkg -i teamviewer_amd64.deb

TeamViewer package requires some packages as dependencies. If they are not installed currently we will get an error about dependency problem like below.

As we get dependency errors. We can install all required dependencies and also the TeamViewer with the apt install -f command like below.

$ sudo apt install -f
Install TeamViewer Dependencies
Install TeamViewer Dependencies

Launch TeamViewer

We can launch the TeamViewer in different ways like the command line, menu, application launch, etc. First, we will launch TeamViewer from the command line. If we are launching the TeamViewer for the first time we have to Accept License Agreement in order to use.

$ teamviewer
Launch TeamViewer From Command Line
Launch TeamViewer From Command Line

Here is the TeamViewer License Agreement.

Accept TeamViewer License Agreement
Accept TeamViewer License Agreement

We will see the following TeamViewer screen. It will automatically talk with the TeamViewer servers and get a unique ID with a password.

TeamViewer On Ubuntu
TeamViewer On Ubuntu

Update TeamViewer

During the installation, the TeamViewer official repository will be added to the current system repositories. When we try to update Ubuntu with the apt update command the TeamViewer will be also updated automatically. So we can use the following commands in order to update TeamViewer.

$ sudo apt update

$ sudo apt dist-upgrade

The TeamViewer sources list is stored in the /etc/apt/sources.list.d/teamviewer.list file which can be printed like below.

$ cat /etc/apt/sources.list.d/teamviewer.list
TeamViewer Repository
TeamViewer Repository

Uninstall TeamViewer

We can also uninstall the TeamViewer with the apt remove command. We will also provide the sudo command for root privileges too.

$ sudo apt remove teamviewer
Uninstall TeamViewer
Uninstall TeamViewer

Leave a Comment