How to Install TeamViewer on Ubuntu 20.04 LTS

TeamViewer is a global remote connectivity platform that provides secure access to any device globally. It’s used for online meetings and file sharing between computers and remotely controlled instrumentation such as robots or industrial machinery via VPN connections (virtual private networks).

The following tutorial will teach you how to install TeamViewer on Ubuntu 20.04 LTS Focal Fossa. The tutorial will import the official repository and gpg key and update and remove the remote desktop software using the command line terminal.

Update Ubuntu

Before proceeding with the tutorial, ensuring your system is up-to-date with all existing packages is good.

sudo apt update && sudo apt upgrade -y

Install Required Packages

The following dependencies will need to be installed. Most of these packages are already on your system, but running the command can help ensure they’re installed.

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

If you skip and encounter issues, return and just run the command.

Install TeamViewer

The first step is to import the GPG key to verify the authenticity of the packages. In your terminal, execute the following command to import to your keychain.

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

Next, import the repository.

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

Now run an APT update to reflect the newly imported repository.

sudo apt update

Finally, you can install the TeamViewer using the following command.

sudo apt install teamviewer -y

Note that you may see a keep source or import maintainer during the installation. Ideally, choose to compare changes; keep the original if they are still the same.

Example:

keep current teamviewer source ubuntu 20.04 lts
keep current teamviewer source ubuntu 20.04 lts

Type N for no to proceed, do not enter yes for the answer, or you will replace the source list format with a less secure one that may not work with your system for future updates.

How to Launch TeamViewer

Launching can be done in a few ways now that you have the software installed.

Using the command line terminal, you can open it quickly by using the following command.

teamviewer

The best way to use TeamViewer for desktop users that prefer not to use the command line terminal is to open the GUI of the application by following the path.

Activities > Show Applications > TeamViewer.

Example:

launch teamviewer ubuntu 20.04 lts
launch teamviewer ubuntu 20.04 lts

Once open, you can begin connecting with TeamViewer; ensure you reset your password when you give it out to remote people who need to connect to your system after they have finished.

Example:

teamviewer ubuntu 20.04 lts
teamviewer ubuntu 20.04 lts

For novice users or users new to computing, remember to proceed with caution with who you give your details. This goes for any software of this type, and it is highly recommended to use the refresh button on the password to generate a new one every time someone externally has finished.

How to Update/Upgrade TeamViewer

The software should update by itself with your system packages for desktop users using the APT package manager. For users who want to check manually, use the following command in your terminal.

sudo apt update && sudo apt upgrade

How to Remove (Uninstall) TeamViewer

When you no longer want the video conference software installed on your system, use the following command to remove it.

sudo apt autoremove teamviewer --purge -y

Remove the repository if you plan not to re-install the software again.

sudo rm /etc/apt/sources.list.d/teamviewer.list

After removing the repository list file, remove the GPG.

sudo rm /usr/share/keyrings/teamviewer.gpg

Comments and Conclusion

TeamViewer is a global remote connectivity platform that provides secure access to any device globally. It has been one of the most used in recent years, with intense competition from AnyDesk. TeamViewer is free for individual use. However, any commercial use will require a license to be purchased.



Follow LinuxCapable.com!

Like to get automatic updates? Follow us on one of our social media accounts!