How to install TeamViewer on a Linux system with no graphical user interface

100% helpful (1/1)

To install TeamViewer on a headless Linux system (without a graphical user interface), download the installation file of the TeamViewer full version for Linux either directly on the Linux system via a link or by calling it from a USB stick.

The installation for both use cases is described below.

Note: The installation of TeamViewer on a headless Linux system requires root rights.

 

Via link

To install TeamViewer on a headless Linux system via a link, follow these steps:

  1. Call up the path of an internally accessible installation file (.rpm/.deb) or an installation file on our website (https://www.teamviewer.com/download/linux/) in the Terminal with the wget command. Make sure that you use the installation file of the full version.
  2. Start the installation.
  3. Run the command “teamviewer setup” after the installation is completed.
  4. Accept the end-user license agreement.
  5. Enter the login credentials for your TeamViewer account. This will assign the Linux device to your account and set up unattended access.
    • A group in your Computers & Contacts list will be shown. The device is added to this group and can later be moved within the Computers & Contacts list. 
  6. Confirm the assignment.
    • The device appears in your Computers & Contacts list. Connect with a double-click. During a session, a TeamViewer icon appears in the top right corner on the remote device. 

Via USB stick

Note: The used USB stick must be mounted before installation.


To install TeamViewer on a headless Linux system from a USB stick, follow these steps: 

  1. Download the TeamViewer full version from https://www.teamviewer.com/download/linux/.
  2. Copy the .deb/.rpm file to a USB stick.
  3. Connect the USB stick to the Linux system.
  4. Call up the USB folder via the text console/console.
  5. Start the installation.
  6. Run the command “teamviewer setup” after the installation is completed.
  7. Accept the end-user license agreement.
  8. Enter the login credentials for your TeamViewer account. This will assign the Linux device to your account and set up unattended access.
    • A group in your Computers & Contacts list will be shown. The device is added to this group and can later be moved within the Computers & Contacts list. 
  9. Confirm the assignment.
    • The device appears in your Computers & Contacts list. Connect with a double-click. During a session, a TeamViewer icon appears in the top right corner on the remote device.

Uninstall

To uninstall TeamViewer on a headless Linux system, follow these steps:

  1. Open the Terminal.
  2. Depending on the operating system, launch one of the following commands:
    • Debian-based distributions: 
      sudo apt-get purge teamviewer
    • RedHat, CentOS, Fedora based distributions: 
      yum remove teamviewer
    • SUSE-based distributions: 
      zypper remove teamviewer
  3. The account assignment will automatically be removed. 
Note: Remove the device manually from your Computers & Contacts list, to prevent errors when re-installing.


Note: To get an overview of the input commands, run the command:
teamviewer help


Hint: To restart the TeamViewer process in case of errors, run the teamviewer daemon restart command.

 

Please find further information under: Install TeamViewer on Linux: “How do I install TeamViewer on my Linux distribution?“ 

Version History
Revision #:
4 of 4
Last update:
March
Updated by:
 
Labels (3)
Contributors