How to Install TeamViewer on CentOS 7

Published on

2 min read

Install TeamViewer on CentOS 7

TeamViewer is a cross-platform solution that can be used for remote control, desktop sharing and file transfer between computers. TeamViewer is proprietary computer software and it is not included in the CentOS repositories.

In this tutorial, we will walk through the steps necessary to install TeamViewer on CentOS 7.


You’ll need to be logged in as a user with sudo access to be able to install packages on your CentOS system.

Installing TeamViewer on CentOS

Installing TeamViewer on CentOS Linux is a relatively straightforward process and will only take a few minutes:

  1. Start by importing the GPG keys of the TeamViewer repository to your system:

    sudo rpm --import 
  2. TeamViewer depends on packages that are available in the EPEL software repository only. If the repository is not enabled on your system, enable it by typing:

    sudo yum install epel-release
  3. Download the latest TeamViewer .rpm package with the following wget command:

  4. Install the TeamViewer package by issuing the following command as a user with sudo privileges:

    sudo yum localinstall ./teamviewer.x86_64.rpm

    When prompted Is this ok [y/d/N], type y to continue the installation.

At this point, TeamViewer has been installed and ready to be used. You can now connect to your friend or customer machine and provide assistance.

Starting TeamViewer

You can start the TeamViewer applications either from the command line by typing teamviewer or by clicking on the TeamViewer icon (Applications -> Internet -> TeamViewer).

When you start TeamViewer for the first time, a window similar to the following will be displayed. Accept the terms in the license agreement by clicking on the License Agreement button.

CentOS TeamViewer Default Browser

TeamViewer will open and you’ll see something like the following.

CentOS TeamViewer Remote Control

Updating TeamViewer

During the installation process, the official TeamViewer repository will be added to your system. You can use the cat command to verify the file contents:

cat /etc/yum.repos.d/teamviewer.repo
name=TeamViewer - $basearch

This ensures that your TeamViewer installation will be updated automatically when a new version is released through your desktop standard Software Update tool.


In this tutorial, you have learned how to install TeamViewer on a CentOS 7 desktop machine.

Feel free to leave a comment below.