TeamViewer is a proprietary software application for remote control, desktop sharing, online meetings, web conferencing and file transfer between computers.

TeamViewer is available for Microsoft Windows, macOS, Linux, Chrome OS, iOS, Android, Windows RT, Windows Phone 8 and BlackBerry operating systems. It is also possible to access a machine running TeamViewer with a web browser. While the main focus of the application is remote control of computers, collaboration and presentation features are included.

In order to install TeamViewer on CentOS 8, we recommend you to follow the below instructions.


– download TeamViewer

As TeamViewer is not available in the official package repository of CentOS 8, you can download it from its official website and install it.

Open the official website of TeamViewer from your web browser and click on Download for free and the TeamViewer Linux download page should load.

Scroll down and click on the x86_64bit link from the Red Hat, CentOS, Fedora section.

The browser should prompt you to save the TeamViewer RPM package. Select Save File and click on OK.

Wait for download to complete.


– enable CentOS 8 EPEL repository

Before you install TeamViewer on CentOS 8 you must enable CentOS 8 EPEL repository, as it has all the required dependency packages for TeamViewer.

In order to enable EPEL repository, install epel-release package with the DNF package manager, running the following command:

$ sudo dnf install epel-release

Press Y and then press Enter to confirm the installation.

Now, epel-release package should be installed and CentOS 8 EPEL repository should be enabled.

Next, run the following command to update the CentOS 8 package repository cache:

$ sudo dnf makecache


– install TeamViewer

Use the following command to navigate to the directory where you downloaded TeamViewer RPM package file, usually the ~/Downloads directory:

$ cd ~/Downloads

The TeamViewer RPM package file teamviewer_14.7.1965.x86_64.rpm should be here.

$ ls -lh

Install the TeamViewer RPM package file teamviewer_14.7.1965.x86_64.rpm using the DNF package manager as follows:

$ sudo dnf install ./teamviewer_14.7.1965.x86_64.rpm

Confirm the installation, pressing Y and then Enter.

DNF package manager should download all the required dependency packages automatically. Then, you may be asked to add the GPG key of the CentOS 8 EPEL repository. Just press Y and then press Enter.

TeamViewer should be installed.


– start TeamViewer

After installation, you can start TeamViewer from the Application Menu of CentOS 8. The first time you run the program, TeamViewer will show you their license agreement. Click on Accept License Agreement in order to use the program. Now TeamViewer should start.

At this step, you should be able to use TeamViewer to connect to other computers remotely.

To do that, type in the TeamViewer ID of the remote computer you’re trying to connect in the Partner ID section and click on Connect.

You will be prompted for TeamViewer password. Enter the password of the remote computer and you should be connected.

– access your CentOS 8 machine remotely

In case you are using Wayland, the default display server on CentOS 8, you will only be able to connect to another computer running TeamViewer remotely.  You can’t access your CentOS 8 machine remotely from other computers.

In order to remotely connect to your CentOS 8 machine, you will have to use X11 display server. CentOS 8 server with GUI has preinstalled Wayland and X11 display servers.

To switch to X11 display server, first Log Out of the Wayland session. Click on Log Out.

From the GDM3 login screen, click on the gear icon (before SignIn). Select either Classic (X11 display server) or Standard (X11 display server) on Xorg depending on whether you like GNOME 3 classic desktop environment or the GNOME 3 modern desktop environment.

Type in your login password and click on Sign In.

Once CentOS 8 desktop environment starts, start TeamViewer.

The warning message should be gone and you should be able to remotely connect to your CentOS 8 machine from another computer using TeamViewer.

To connect to your CentOS 8 machine remotely via TeamViewer, you will need the TeamViewer ID and password as shown in the Allow Remote Control section.

Then, from another computer, start TeamViewer and type in your TeamViewer ID in the Partner ID section. Then, click on Connect.

Then, type in the TeamViewer password of your CentOS 8 machine and click on Log on.

Now you should be remotely connected to your CentOS 8 machine via TeamViewer.