TeamViewer is the most popular remote desktop and support application used in the IT world. TeamViewer can be used to connect remote systems from different operating systems and platforms like Windows, Android, Linux, MacOSX, etc. This makes TeamViewer cross-platform. TeamViewer is also free which is very attractive for the end-users. In this tutorial, we will learn “How To Install TeamViewer On Linux?” for different distributions in different ways.
Install TeamViewer For Ubuntu, Debian, Mint, and Kali
Ubuntu, Debian, Mint, and Kali are all deb
based distributions where they are using deb
packages, apt, dpkg for package management. Debian is also upstream for distributions like Ubuntu, Mint, and Kali.
Download TeamViewer For Ubuntu, Debian, Mint, and Kali
We will download the TeamViewer from the following URL. As we can see 32 and 64-bit architectures are supported for installation.
https://www.teamviewer.com/en/download/linux/

OR we can use wget
in order to download the package from the command line.
$ wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb

Install For Ubuntu, Debian, Mint, and Kali
We will use dpkg
command in order to install the downloaded package named teamviewer_amd64.deb
. We will also use sudo
for root privileges.
$ sudo dpkg -i teamviewer_amd64.deb

AND as we can see in previous command output there are some dependency errors which will cancel TeamViewer installation. We can complete the installation by installing the dependencies and TeamViewer with the following command.
$ sudo apt-get install -f

Update For Ubuntu, Debian, Mint, and Kali
We can update TeamViewer by using the apt
command like below.
$ sudo apt update && sudo aptdist-upgrade
Remove/Delete For Ubuntu, Debian, Mint, and Kali
We can remove the TeamViewer for Ubuntu, Debian, Mint, and Kali with the following apt remove
command.
$ sudo apt remove teamviewer

Install TeamViewer For Fedora, Red Hat and CentOS
TeamViewer is also provided for the rpm
based distributions like Fedora, Red Hat and CentOS. All of these rpm distributions are related to each other to provide support, testbed, etc.
Download TeamViewer For Fedora, Red Hat and CentOS
We will download the TeamViewer installation package from the same URL with the deb package which is like below. We will use the 64-bit package but also 32-bit package is provided too.

$ wget https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm

Install TeamViewer For Fedora, Red Hat and CentOS
In order to install TeamViewer package for Fedora, Red Hat and CentOS we have to install some dependencies which are mainly qt5 library-related. We will use the following command to install dependencies.
$ sudo dnf install qt5-qtwebkit qt5-qtquickcontrols

Then we can use rpm
package manager to install the downloaded package with the -i
option like below.
$ sudo rpm -i teamviewer.x86_64.rpm
In Fedora, CentOS, Red Hat TeamViewer runs are services which name is teamviewerd
. We can start, stop and list status with the following command.
#START TeamViewer Service $ sudo systemctl start teamviewerd #STOP TeamViewer Service $ sudo systemctl stop teamviewerd #LIST TeamViewer Service $ sudo systemctl status teamviewerd

Update TeamViewer For Fedora, Red Hat and CentOS
As the installation of the TeamViewer package also adds TeamViewer repositories we can use yum
or dnf
command for TeamViewer update.
$ sudo yum update
OR
$ sudo dnf update
Remove/Delete TeamViewer For Fedora, Red Hat and CentOS
We can remove the installed TeamViewer with the dnf
or yum
command. This will also remove the TeamViewer service too.
$ sudo dnf remove teamviewer
OR
$ sudo yum remove teamviewer
Install TeamViewer For All (Generic) Linux Distributions
TeamViewer is also provided as binary with its dependencies. It is called Tar package or Linux generic installation. It is provided as a compressed tar file and used by just downloading and extracting it. Keep in mind that this version is not officially supported but will work in most of the cases for different Linux distributions.
Download TeamViewer For All (Generic) Linux Distributions
We can download the tar.xz
file for TeamViewer from the following URL.
https://www.teamviewer.com/en/download/linux/

We can use wget command to download like below.
$ wget https://download.teamviewer.com/download/linux/teamviewer_amd64.tar.xz

Install TeamViewer For All (Generic) Linux Distributions
Installing the generic TeamViewer is just extracting the downloaded tar archive. We will use tar
command with the xvf
options and then enter the extracted directory and run the teamviewer
binary.
$ tar xvf teamviewer_amd64.tar.xz
We will navigate to the directory named teamviewer
and then run the teamviewer
binary like below.
$ cd teamviewer/ $ ./teamviewer
First Run Of TeamViewer
TeamViewer is a closed source or paid application where there is an End-User License Agreement. We have to accept the license agreement in the first run of the TeamViewer like below.

Running TeamViewer
TeamViewer can be started or launched in different ways. It can also change according to the installation.
Run From Command Line
We can start the TeamViewer command line with the teamviewer
command like below.
$ teamviewer

Run From Start Menu
In desktop environments like XFCE, LXDE or GNOME Menu TeamViewer can be provided in different categories like the Internet, System etc like below.

Run From Application List
Desktop environments like KDE, Unity, Gnome provides advanced search or application lists like below. We can open the teamviewer just typing team
etc.
