How to: Install Teamviewer on CentOS / Redhat / Fedora / SUSE

This guide will explain how to install Teamviewer (TV) on CentOS with a terminal. I use this to externally access my webserver which is running an intranet website. To better understand this guide I recommend to use the cheat sheet for the commands below so you know what you’re doing.

 

Introduction

As explained above we will be using TV to access our server from outside the network. If you don’t have TV you can either set-up a VPN or open your ports. Please also note that TV only supports Linux since version 11.

 

Preparation

We need to make sure we have the following:

  • CentOs, Redhat, Fedora OR SUSE Operating System
  • Internet access
  • About 10 minutes of time

Configuring Linux

Boot up your Linux distro. To ensure the Operating System is up-to-date, we’re going to update the system. Run the following code:

sudo yum -y update

Installing Teamviewer

Now our OS is up-to-date we’re going to install Teamviewer. First we’re going to install wget, if you already have this package, skip this step:

sudo yum install wget

Use the following command to download the RPM file:

sudo wget http://download.teamviewer.com/download/teamviewer.i686.rpm

If this download is finished you can find the file laying in your home directory. If you changed your directory use the following commands to change back to your home directory:

cd

Now use this commands to install the package:

sudo yum install teamviewer.i686.rpm

If this doesn’t work check if the filename in the commands is correct. If it asks you to install press yes (y).

Teamviewer Install

After you install make sure to reboot your computer or VM. Use the following command to do so:

sudo reboot

Once you reboot the system run the following commands to continue the installation:

sudo teamviewer setup

The installer will now ask you to accept the license agreement. Like everyone else, just press yes (y).

The installer will now ask for your Teamviewer account credentials. You can also leave this field empty. If you’ve set-up two factor authentication it will ask you for the authenticator code.

Teamviewer Install Username

It will ask you to add your current machine to a TV group. You can choose either yes or no.

Teamviewer Install Done

Teamviewer is now installed.

If you wish to uninstall at a later time, use the command:

sudo yum remove teamviewer

See the table on this page for a list of common Teamviewer commands.