To install TeamViewer on CentOS 7 and Red Hat Enterprise Linux 7, a few things have to be considered.
All RPM systems (including Fedora)
When installing a TeamViewer on a RPM system for the first time via command line, it might complain 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 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.