To install TeamViewer (Classic) on CentOS 8 and Red Hat Enterprise Linux 8, a few things have to be considered. Please see below for more information.

This article applies to all TeamViewer (Classic) users.

All RPM systems (including Fedora)

An alert may appear when installing a TeamViewer (Classic) on a RPM system for the first time via command line, asking about a missing key to verify the signature of the package. You can either ignore/override this or install our public key first.

Download the public key file here and import the key by using the following command as an administrator:

rpm --import TeamViewer_Linux_PubKey.asc 

Red Hat Enterprise Linux

On RHEL, TeamViewer (Classic) can currently only be installed with a Workstation or Server subscription. With the RHEL Desktop subscription, not all dependencies (namely qt5-qtdeclarative) can be resolved.

Additionally, the epel repository needs to be enabled.

Required steps:

# RHEL 7 preparation
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install ./epel-release-latest-7.noarch.rpm

# RHEL 8 preparation
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
yum install ./epel-release-latest-8.noarch.rpm

# download TeamViewer Host for 64bit
wget https://download.teamviewer.com/download/linux/teamviewer-host.x86_64.rpm
# alternatively, download full client
wget https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm

# install the package (RHEL 7)
yum install ./teamviewer*.rpm
# install the package (RHEL 8)
yum --enablerepo epel-playground install ./teamviewer*.rpm

CentOS

On CentOS 7 and 8, the epel repository is required.

Required steps:

# preparation: install epel-release
yum install epel-release

# download and install (example: TeamViewer Host, 64 bit)
wget https://download.teamviewer.com/download/linux/teamviewer-host.x86_64.rpm
yum install ./teamviewer-host*.rpm

📌Note: During the transition from 7.3 to 7.4 the cr repository was also required. In case some dependencies cannot be satisfied, you can try with yum install ./teamviewer-host*.rpm --enablerepo="cr".