Install and Use TeamViewer on Ubuntu 22.04

TeamViewer is a secure remote connectivity software that permits you to connect to any device across the globe. With the help of VPN connections, it is utilized for sharing files, web conferences, online meetings, and establishing desktop sharing sessions. You can install this remote desktop sharing software on different operating systems including macOS, Windows, and Linux-based systems such as Ubuntu 22.04.

This write-up will discuss the procedure to install and use TeamViewer on Ubuntu 22.04. So, let’s start!

Install TeamViewer on Ubuntu 22.04

You must follow the below-given step-by-step instructions for installing TeamViewer on Ubuntu 22.04.

Step 1: Update system repositories
Press “CTRL+ALT+T” to open the terminal of your Ubuntu 22.04 and run the below-given commands to update system repositories:

$ sudo apt update

$ sudo apt upgrade

Step 2: Install required packages
After updating the system repositories, execute the following command to install the required packages for TeamViewer:

$ sudo apt install wget apt-transport-https gnupg2 -y

Step 3: Import TeamViewer GPG key
In the next step, import the GPG key of the TeamViewer by utilizing the below-given “wget” command:

$ wget -O- https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc | gpg --dearmor | sudo tee /usr/share/keyrings/teamview.gpg

Now, move to the next step.

Step 4: Add TeamViewer repository
Then, add the TeamViewer repository to your Ubuntu 22.04 system:

$ echo "deb [arch=amd64 signed-by=/usr/share/keyrings/teamview.gpg] \ http://linux.teamviewer.com/deb stable main" \ | sudo tee /etc/apt/sources.list.d/teamviewer.list

Step 5: TeamViewer installation on Ubuntu 22.04
Lastly, utilize the following command for TeamViewer installation:

$ sudo apt install teamviewer -y

The above-given output signifies that TeamViewer is successfully installed on our Ubuntu 22.04 system. Now, let’s check out the method to use TeamViewer.

Use TeamViewer on Ubuntu 22.04

As a Linux user, you can also utilize TeamViewer to share files or access another system remotely. In this section, we will teach you the procedure to use TeamViewer for accessing a remote desktop.

For this purpose, open up “teamviewer” by typing the following command in the terminal:

$ teamviewer

You can also search in the “Activities” menu and open “TeamViewer” from there:

After doing so, you will be asked to read the TeamViewer License Agreement, mark the “I accept from EULA and the DPA” checkbox and click on the “Continue” button:

TeamViewer will provide an “ID” and “Password” for your system. These credentials can be then utilized for accessing another system:

In the other case, you can type out your “Partner ID” to access another system remotely:

After clicking on the “Connect” button, TeamViewer will ask to type out the Password of your Partner’s TeamViewer account:

That’s it. Now you are all ready to access the other remote desktop:

How to uninstall TeamViewer from Ubuntu 22.04

Want to uninstall TeamViewer from Ubuntu 22.04? If yes, then execute the following command:

$ sudo apt autoremove teamviewer --purge -y

We have compiled the basic method related to the installation and usage of TeamViewer on Ubuntu 22.04.


For the installation of TeamViewer on Ubuntu 22.04, first, update the system repositories, add the TeamViewer GPG key, import its repository, and then execute the “$ sudo apt install teamviewer -y” apt command. After successfully installing TeamViewer, you can utilize it to share files, and connect to a remote desktop using the provided ID and password. This write-up will discuss the method of installing and using TeamViewer on Ubuntu 22.04.

About the author

Sharqa Hameed

I am a Linux enthusiast, I love to read Every Linux blog on the internet. I hold masters degree in computer science and am passionate about learning and teaching.