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.
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.
We need to make sure we have the following:
- CentOs, Redhat, Fedora OR SUSE Operating System
- Internet access
- About 10 minutes of time
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
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:
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).
After you install make sure to reboot your computer or VM. Use the following command to do so:
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.
It will ask you to add your current machine to a TV group. You can choose either yes or no.
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.