TeamViewer is a global remote connectivity platform that provides secure access to any device, anywhere in the world. It’s used for online meetings and file sharing between computers and controlled instrumentation such as robots or industrial machinery remotely via VPN connections (virtual private networks).
In the following tutorial, you will learn how to install TeamViewer on Debian 11 Bullseye. The tutorial will import the official repository and gpg key and update and remove the remote desktop software using the command line terminal.
Table of Contents
Before proceeding with the tutorial, it is good to ensure your system is up-to-date with all existing packages.
sudo apt update && sudo apt upgrade -y
The following dependencies will need to be installed. Most of these packages would already be present 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.
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.
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, during the installation, you may see keep source or import maintainer, ideally, choose to compare changes if they are still the same keep original.
Now that you have the software installed, launching can be done in a few ways.
Using the command line terminal, you can open quickly by using the following command.
If you would like to launch and use the terminal at the same time, send it to the background:
The best way to use TeamViewer for desktop users that prefer not using the command line terminal is to open the GUI of the application by following the path:
Activities > Show Applications > TeamViewer.
Once open, you can begin using TeamViewer by connecting to a remote PC by getting its address.
How to Update TeamViewer
The software should update by itself with your system packages for desktop users, using the APT package manager. For users that would like 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
In the tutorial, you have learned how to install TeamViewer on Debian 11 Bullseye using the official repository and maintain and remove it if need be.
TeamViewer is a global remote connectivity platform that provides secure access to any device, anywhere in the world. In recent years, it has been one of the most used with strong competition coming from AnyDesk. TeamViewer is free for individual use. However, any commercial use will require a license to be purchased.