---
title: "Getting Started With TeamViewer on Ubuntu"
description: "Make sure you can access your Ubuntu Linux system anywhere with TeamViewer on Ubuntu and take control of your system remotely!"
canonical: "https://adamtheautomator.com/teamviewer-on-ubuntu/"
---

# Getting Started With TeamViewer on Ubuntu

> Make sure you can access your Ubuntu Linux system anywhere with TeamViewer on Ubuntu and take control of your system remotely!

Source: https://adamtheautomator.com/teamviewer-on-ubuntu/

---

ATA Learning

Tap to hide

[

ATA Learning

](/)

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Search for:  

*   [](https://twitter.com/adbertram)
*   [](https://github.com/Adam-the-Automator)
*   [](https://www.linkedin.com/company/adam-the-automator-llc)
*   [](/feed/)

![Getting Started With TeamViewer on Ubuntu](https://adamtheautomator.com/wp-content/uploads/2022/11/Getting-Started-With-TeamViewer-on-Ubuntu.jpg)

# Getting Started With TeamViewer on Ubuntu

[![](https://secure.gravatar.com/avatar/2788bb1a3f735603f81eca51d68daec56a9d97e805a10268fb2c20afcc76b81b?s=192&d=mm&r=g)Nicholas Xuan Nguyen](https://adamtheautomator.com/author/nicholas-xuan-nguyen/)16 November 20225 min. read

Categories: [IT Ops](/category/it-ops/)

Tags:[Teamviewer](/tag/teamviewer/)[Ubuntu Linux](/tag/ubuntu-linux/)

Table of Contents

*   [Prerequisites](#prerequisites)
*   [Installing TeamViewer on Ubuntu via the Software Center](#installing-teamviewer-on-ubuntu-via-the-software-center)
*   [Installing TeamViewer via the Terminal](#installing-teamviewer-via-the-terminal)
*   [Connecting to a Remote Computer](#connecting-to-a-remote-computer)
*   [Installing the TeamViewerPS PowerShell Module](#installing-the-teamviewerps-powershell-module)
*   [Using the TeamViewerPS PowerShell Module](#using-the-teamviewerps-powershell-module)
*   [Conclusion](#conclusion)

Connecting to people and machines worldwide is now easier than ever with TeamViewer. But installing TeamViewer on Ubuntu is not as straightforward as on Windows.

No worries! This tutorial will walk you through the process of installing TeamViewer on Ubuntu.

Read on and stay connected with your team with TeamViewer!

## Prerequisites

This tutorial will be a hands-on demonstration. To follow along, be sure you have the following:

*   An Ubuntu machine to install TeamViewer on – This tutorial uses Ubuntu 20.04 LTS, but any recent Ubuntu will work fine.

Related:[How to Install Ubuntu 20.04 \[Step-by-Step\]](https://www.notion.so/c64f1f9b571d4826aade3a53cc992993)

*   A [TeamViewer account](https://login.teamviewer.com/LogOn).
    
*   [PowerShell installed](https://learn.microsoft.com/en-us/powershell/scripting/install/install-ubuntu?view=powershell-7.2) on your Ubuntu machine.
    

Related:[What is PowerShell and Why Use It?](https://adamtheautomator.com/what-is-powershell/)

## Installing TeamViewer on Ubuntu via the Software Center

TeamViewer supports Cross-platform connections. But since TeamViewer does not come installed by default on Ubuntu, you first have to install this tool on your machine.

The most user-friendly way to install TeamViewer on Ubuntu is via the Software Center, a one-stop shop for all your software needs.

To install TeamViewer from the Software Center:

1\. Open your favorite web browser, and visit the official [download page](https://www.teamviewer.com/en/download/linux/?) for TeamViewer.

2\. Under Ubuntu, [Debian](https://adamtheautomator.com/install-deb-packages-on-ubuntu/) (lower-left), click the x86 64bit option to download the TeamViewer package for 64-bit Ubuntu systems.

Related:[Comprehensive Guide to Install Deb Packages on Ubuntu](https://adamtheautomator.com/install-deb-packages-on-ubuntu/)

![Downloading the TeamViewer deb package](https://adamtheautomator.com/wp-content/uploads/2022/11/image-170.png)

Downloading the TeamViewer deb package

3\. Once downloaded, open your file manager, right-click the _.deb_ package and select Open with Software Install. Doing so opens the Ubuntu Software Center and begins installing TeamViewer.

![Open the TeamViewer deb package in Software Install](https://adamtheautomator.com/wp-content/uploads/2022/11/image-171.png)

Open the TeamViewer deb package in Software Install

4\. Now, click Install on TeamViewer’s overview page to install TeamViewer.

![Installing TeamViewer](https://adamtheautomator.com/wp-content/uploads/2022/11/image-172.png)

Installing TeamViewer

5\. Enter your password when prompted and click Authenticate to continue with the installation.

![Authenticating the package installation](https://adamtheautomator.com/wp-content/uploads/2022/11/image-173.png)

Authenticating the package installation

Below, you can see TeamViewer’s installation progress.

![Viewing TeamViewer’s installation](https://adamtheautomator.com/wp-content/uploads/2022/11/image-174.png)

Viewing TeamViewer’s installation

Once installed, you will see a delete icon, as shown below.

![Verifying TeamViewer is installed](https://adamtheautomator.com/wp-content/uploads/2022/11/image-175.png)

Verifying TeamViewer is installed

6\. Lastly, click on Activities, search for and click TeamViewer to launch the tool.

![Launching TeamViewer on Ubuntu](https://adamtheautomator.com/wp-content/uploads/2022/11/image-176.png)

Launching TeamViewer on Ubuntu

## Installing TeamViewer via the Terminal

Not a fan of clicking and switching between different windows to install packages? If you are a command-line person, you can install TeamViewer via the terminal in Ubuntu.

1\. Run the [apt update](https://linuxize.com/post/how-to-use-apt-command/#updating-package-index-apt-update) command below to update your system’s package index.

```bash
sudo apt update -y
```

Related:[Learning Ubuntu Apt Get Through Examples](https://adamtheautomator.com/ubuntu-apt-get/)

![Updating the package index](https://adamtheautomator.com/wp-content/uploads/2022/11/image-177.png)

Updating the package index

2\. Next, run the below wget command to add the TeamViewer’s GPG key since you will install TeamViewer from an external repository.

Why add the GPG key? While installing packages for the first time, APT checks and ensures that it downloads the correct file by matching the cryptographic signature. If there is a mismatch, APT will not install that package.

```bash
wget -O - https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc | sudo apt-key add -
```

Related:[PowerShell wget : Awesome Way to Download a File](https://adamtheautomator.com/powershell-download-file/)

![Adding the TeamViewer’s GPG key](https://adamtheautomator.com/wp-content/uploads/2022/11/image-178.png)

Adding the TeamViewer’s GPG key

3\. Run the following [apt-add-repository](https://manpages.ubuntu.com/manpages/trusty/man1/add-apt-repository.1.html) command to add the TeamViewer repository to your system.

Ubuntu’s default repositories might not contain the latest version of the software. But adding TeamViewer’s repository ensures you get the latest stable version as soon as it is available.

```bash
sudo apt-add-repository "deb http://linux.teamviewer.com/deb stable main"
```

![Adding the TeamViewer repository](https://adamtheautomator.com/wp-content/uploads/2022/11/image-179.png)

Adding the TeamViewer repository

4\. Now, rerun the below command to update the package index to include the TeamViewer repository.

```bash
sudo apt update -y
```

![Updating the package index to include the Team Viewer repository](https://adamtheautomator.com/wp-content/uploads/2022/11/image-180.png)

Updating the package index to include the Team Viewer repository

5\. Once updated, run the [apt-cache](https://debian-handbook.info/browse/stable/sect.apt-cache.html) command below to check the TeamViewer’s repository configuration.

```bash
apt-cache policy teamviewer
```

If the TeamViewer repository is correctly configured, you will see an output similar to the one below.

![Checking if the TeamViewer repository is correctly configured](https://adamtheautomator.com/wp-content/uploads/2022/11/image-181.png)

Checking if the TeamViewer repository is correctly configured

6\. Next, run the following [apt install](https://linuxize.com/post/how-to-use-apt-command/#installing-packages-apt-install) command to install TeamViewer.

```bash
sudo apt install teamviewer -y
```

![Installing TeamViewer on Ubuntu](https://adamtheautomator.com/wp-content/uploads/2022/11/image-182.png)

Installing TeamViewer on Ubuntu

7\. Once the installation completes, run the teamviewer command below to launch TeamViewer from your terminal.

```bash
teamviewer
```

![Launching TeamViewer via Terminal](https://adamtheautomator.com/wp-content/uploads/2022/11/image-183.png)

Launching TeamViewer via Terminal

8\. Finally, tick the I accept the EULA and the DPA checkbox and click Continue to accept the license agreement. This prompt only shows the first time you launch TeamViewer.

![Tick the checkbox next to I accept the EULA and the DPA](https://adamtheautomator.com/wp-content/uploads/2022/11/image-184.png)

Tick the checkbox next to I accept the EULA and the DPA

The main interface of TeamViewer will now be shown, like the one below. You can see in the middle that you have been assigned a unique ID and password. This information is required when connecting to this computer from another using TeamViewer.

On the right side, you will see a field where you can enter a partner’s ID to connect to their computer or perform a file transfer.

![Viewing the TeamViewer main interface](https://adamtheautomator.com/wp-content/uploads/2022/11/image-185.png)

Viewing the TeamViewer main interface

## Connecting to a Remote Computer

Now that you have installed TeamViewer on your computer, you have come to the most exciting part — connecting to a remote machine. This tutorial uses another Ubuntu computer, but you can connect to any machine with TeamViewer running and is connected to the internet.

1\. Sign in to your account on your TeamViewer.

![Signing in to TeamViewer](https://adamtheautomator.com/wp-content/uploads/2022/11/image-186.png)

Signing in to TeamViewer

2\. Next, get the remote machine’s Partner ID and password, and connect to the remote machine with the following:

*   Type in the other machine’s Partner ID in the Partner ID field on TeamViewer on your machine.
*   Ensure the Remote control option is selected.
*   Click Connect to establish a connection between your local and remote machine.

![Connecting to a remote machine](https://adamtheautomator.com/wp-content/uploads/2022/11/image-187.png)

Connecting to a remote machine

3\. Enter the remote machine’s connection password, and click Log On to authenticate the connection.

![Authenticating the remote connection](https://adamtheautomator.com/wp-content/uploads/2022/11/image-188.png)

Authenticating the remote connection

You will see the remote machine’s desktop in a new window if successfully connected.

Below, the right side of the TeamViewer window displays a toolbar with options to chat, transfer files, and so on.

Congratulations! You can now work on the remote machine as if sitting in front of it!

![Verifying the local machine has control over the remote machine](https://adamtheautomator.com/wp-content/uploads/2022/11/image-189.png)

Verifying the local machine has control over the remote machine

## Installing the TeamViewerPS PowerShell Module

You now have control over the remote machine, which is cool. But do you have to manage everything on the remote machine manually?

Why not install the TeamViewerPS module? The TeamViewerPS is a PowerShell that allows you to interact with TeamViewer API and the local TeamViewer client.

To install the TeamViewerPS module:

1\. Login as root, and run the below command on your terminal to launch a new PowerShell session.

```powershell
pwsh
```

![Launching a new PowerShell session](https://adamtheautomator.com/wp-content/uploads/2022/11/image-190.png)

Launching a new PowerShell session

2\. Next, run the [Install-Module](https://learn.microsoft.com/en-us/powershell/module/powershellget/install-module) command below to install the TeamViewerPS module.

```bash
Install-Module TeamViewerPS
```

Type A and press Enter to continue with the installation.

![Confirming the TeamViewerPS module installation](https://adamtheautomator.com/wp-content/uploads/2022/11/image-191.png)

Confirming the TeamViewerPS module installation

Confirming the TeamViewerPS module installation

3\. Now, run the following [Update-Module](https://learn.microsoft.com/en-us/powershell/module/powershellget/update-module?view=powershell-7.2) command to update the TeamViewerPS module to the latest version.

```powershell
Update-Module TeamViewerPS
```

![Updating the TeamViewerPS module](https://adamtheautomator.com/wp-content/uploads/2022/11/image-192.png)

Updating the TeamViewerPS module

## Using the TeamViewerPS PowerShell Module

After installing the TeamViewerPS Module, it is time to see if the module actually works. The TeamViewerPS module lets you automate tasks such as but not limited to the following.

*   Retrieving a list of online clients.
*   Connecting or disconnecting from machines.
*   Or even uninstalling the TeamViewer application.

But since these tasks require a paid [TeamViewer subscription](https://www.teamviewer.com/en/buy-now/), you will run the basic commands instead to test the TeamViewerPS PowerShell module.

1\. Run the below command to check the TeamViewer version installed on your machine.

> _Note that all the below commands must be run as the root user._

Related:[Learning the Linux Delete User or Linux Add User Commands](https://adamtheautomator.com/linux-delete-user/)

```powershell
Get-TeamViewerVersion
```

![Checking the TeamViewer version](https://adamtheautomator.com/wp-content/uploads/2022/11/image-193.png)

Checking the TeamViewer version

2\. Next, run the following command to retrieve the TeamViewer ID of the local machine.

```powershell
Get-TeamViewerId
```

You will see a similar output to the one below. As you can see, the TeamViewerID is printed in the STDOUT stream. You can save this information in a variable you can use in your CI/CD pipelines.

Related:[Discover Untapped Potential with CI/CD by JetBrains TeamCity](https://adamtheautomator.com/jetbrains-teamcity/)

![Retrieving the TeamViewer ID of the local machine](https://adamtheautomator.com/wp-content/uploads/2022/11/image-194.png)

Retrieving the TeamViewer ID of the local machine

3\. Lastly, run the below [Get-Help](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/get-help?view=powershell-7.2) command to learn more about the TeamViewerPS module.

```powershell
Get-Help about_TeamViewerPS
```

![Viewing information about the TeamViewerPS module](https://adamtheautomator.com/wp-content/uploads/2022/11/image-195.png)

Viewing information about the TeamViewerPS module

Related:[Discover the Unknown with the PowerShell Get-Help Command](https://adamtheautomator.com/powershell-get-help/)

## Conclusion

The need for remote management tools has never been greater, especially with the current pandemic. In this tutorial, you installed TeamViewer on Ubuntu and learned how to connect to a remote machine with a few clicks.

With TeamViewer, you can easily connect to and manage remote machines running any operating system from the comfort of your machine. You can now save time by automating tasks with TeamViewer and the TeamViewerPS PowerShell module.

With this newfound knowledge, why not start [creating a web API](https://www.teamviewer.com/en/for-developers/) to automate some of your TeamViewer tasks?

Share this article

[Share on X](https://twitter.com/intent/tweet?url=https%3A%2F%2Fadamtheautomator.com%2Fteamviewer-on-ubuntu%2F&text=Getting%20Started%20With%20TeamViewer%20on%20Ubuntu)[Share on Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fadamtheautomator.com%2Fteamviewer-on-ubuntu%2F)[Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fadamtheautomator.com%2Fteamviewer-on-ubuntu%2F)

## Related Posts

![](https://adamtheautomator.com/wp-content/uploads/2024/03/openldap-4.jpg)

### [How to Install and Configure an OpenLDAP Ubuntu Server](/openldap/)

Unlock the power of OpenLDAP on Ubuntu for centralized user authentication, seamless access control management, and enhanced directory services!

![](https://adamtheautomator.com/wp-content/uploads/2024/03/ubuntu-ntp.jpg)

### [How to Setup Ubuntu NTP Server](/ubuntu-ntp/)

Learn to configure an Ubuntu NTP server for precise time synchronization across your network. Ensure seamless operations with accurate timekeeping!

![](https://adamtheautomator.com/wp-content/uploads/2022/04/How-to-Install-Apache-on-Ubuntu.jpg)

### [Install Apache on Ubuntu and Master Website Traffic Management](/install-apache-on-ubuntu/)

Ready to optimize your website for high traffic? Install Apache on Ubuntu with this step-by-step guide and ensure smooth performance under heavy loads.

## Categories

*   [IT Ops](/category/it-ops/)
*   [Cloud](/category/cloud/)
*   [DevOps](/category/devops/)
*   [Home Ops](/category/home-ops/)
*   [Information Security](/category/infosec/)
*   [Software Development](/category/software-development/)

## Site

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Copyright 2026© ATA Learning | [Privacy Policy](/privacy/)
