Installing rpm package can be tricky, sometimes dependecies that required are not met.
I’ve experienced this when installing TeamViewer for fedora 28. Here’s just another snippet to installing the TeamViewer on fedora 28 with nice and easy.
Download teamviewer from the source:
$ wget https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm
Install the dependencies and the rpm target:
$ sudo dnf install qt5-qtwebkit qt5-qtquickcontrols -y $ sudo rpm -i teamviewer.x86_64.rpm