Install Teamviewer 13/14 on CentOS 7

Article Index

I have been using Fedora on my main machine for a very long time and have loved it.  Over the years, I have installed CentOS on multiple machines and virtual machines, but, finally, took the plunge and installed it on my main machine.  Everything went well until I needed TeamViewer to access a friend's computer remotely.  I thought, how difficult could it be?  Download the rpm from the TeamViewer site and install it...wrong.  It needs dependencies, but doesn't let you know that unless you try and install it from the command line.  Their Linux support page lists some requirements, so take a look here, first.  If you find the requirement you need, then it's all good.  However, I needed to do more.

When I double-clicked the teamviewer rpm file, I received a graphical error message that read:  "Sorry, this did not work.  This file is not supported".  I was certain that I downloaded the correct version (32bit or 64bit), so this was a little confusing.  I searched the internet for a solution, but didn't find one.  I, eventually, found that TeamViewer was missing dependencies by executing the following command from root:

# rpm -ivh teamviewer_13.0.9865.x86_64.rpm

The error messages I received:
warning: teamviewer_13.0.9865.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 0c1289c0: NOKEY
error: Failed dependencies:
    /usr/lib64/qt5/qml/QtGraphicalEffects/qmldir is needed by teamviewer-13.0.9865-0.x86_64
    /usr/lib64/qt5/qml/QtQuick/Controls/qmldir is needed by teamviewer-13.0.9865-0.x86_64 >= 5.5 is needed by teamviewer-13.0.9865-0.x86_64 >= 5.5 is needed by teamviewer-13.0.9865-0.x86_64 >= 5.5 is needed by teamviewer-13.0.9865-0.x86_64 >= 5.5 is needed by teamviewer-13.0.9865-0.x86_64


I worked through the dependencies and thought I would post them since I didn't find a place on the internet that had the list.  Again, this is on a fresh CentOS 7 installation.

[edit August 2018] 

The problem still exists and the these dependencies are still needed, but I noticed that in order to install qt5-qtwebkit, you'll need to add the EPEL repo.  So, before installing, add the repo:
yum -y install epel-release


yum install qt5-qtdeclarative qt5-qtwebkit qt5-qtx11extras qt5-qtgraphicaleffects qt5-qtquickcontrols

After installing the above dependencies, I was still unable to double-click the file to install it.  I had to install it from the command line as root:

# rpm -ivh teamviewer_13.0.9865.x86_64.rpm 

It is now installed and happily running with CentOS 7.  The other cool thing the installation does is add a 'teamviewer.repo' file so updates will be done easily in the future. See the end of this page for more information.

I hope you don't have the same problems installing it, but if you do, try the above.