How to Install Teamviewer on Ubuntu 18.04

In this article, we are going to show you how to install Teamviewer on your Ubuntu 18.04 and Debian 9.4 system from the command line.

Teamviewer is a software application that allows users to securely gain remote access to any computer in the world that has an internet connection and Teamviewer installed. In addition, it allows file transfers between remote computers and can facilitate web-conference meetings.

Installation of Teamviewer on Ubuntu 18.04

Since Teamviewer is not contained in Ubuntu repositories, we are going to make use of gdebi command to install Teamviewer. First, let's install the gdebi-core package. Log in as root as execute the following commands:

apt install gdebi-core

Sample Output

how to install teamviewer

Next, we'll download the latest Teamviewer package using the wget command as shown below


Sample Output

how to install teamviewer

After downloading the Teamviewer package, we are going to install Teamviewer using the gdebi-core package

gdebi teamviewer_amd64.deb

After successful installation of Teamviewer, Launch Teamviewer from the command line as shown below


You'll be presented with a pop-up window prompting you to accept the Terms and conditions of Teamviewer. Click on "I agree".

how to install teamviewer

Finally, a Teamviewer front-end window will be displayed indicating that it is ready to connect.

how to install teamviewer

Note :

If you are running on Wayland graphical display, you will get an error "WayLand Detected" as seen above and this cannot allow incoming connections. To go around this problem, disable the Wayland display and enable Xorg display.

Uninstalling TeamViewer

To uninstall TeamViewer completely from your system, run the following command as root

apt-get purge teamviewer

You can also use the wildcard method

apt-get remove teamv*

Upgrade Teamviewer on Ubuntu

To upgrade Teamviewer, you first need to uninstall/remove the old version. This is done using the following command as earlier seen.

apt-get purge teamviewer

This completely erases TeamViewer from the system. Now we can begin installing the latest version. Run


This downloads the latest TeamViewer i386 package.

To install TeamViewer, cd to the folder containing the TeamViewer package and run the following command as root

dpkg -i teamviewer_i386.deb

To install missing dependencies , run

apt-get -f install

Now, you will have successfully updated your TeamViewer.

Installation of Teamviewer on Debian 9.4

Since TeamViewer is an i386 application, we are going to enable a multi-arch on our Debian system

dpkg --add-architecture i386

Thereafter, update the system

apt update

Next, we are going to install the tools and prerequisites required for the installation.

apt install libjpeg62-turbo:i386 wget gdebi-core

After successful installation, we are now going to download and install Teamviewer

Download and Install Teamviewer

Use wget command to download Teamviewer package.


At this point, you should see the TeamViewer package already in your system by running the ls command.
Next, use gdebi to install Teamviewer

gdebi teamviewer

Sample Output
How to install teamviewer

Launching Teamviewer

To launch TeamViewer, execute the command below in terminal.


A 'Licence and Agreement' Window will pop-up. Click on 'Accept License Agreement'

How to install teamviewer

The TeamViewer front-end graphical window will appear ready for a remote connection!

How to install teamviewer

Upgrade Teamviewer on Debian

First, uninstall the old version

apt-get purge teamviewer

Download the latest version from TeamViewer


Finally, install the TeamViewer package

gdebi teamviewer

Now, you will have successfully updated your TeamViewer.

For the best outcome, ensure that you have a good internet connection - this applies both to a primary and remote site. You are welcome to try out the commands. Keep it locked for more insightful tutorials. Thank you.

Jamie Arthur 12:42 pm


Your email address will not be published. Required fields are marked *

All comments are subject to moderation.


  1. hi jamie - i noticed a small typo in thre command.. gdebi teamviewer_amd63.deb - (64)
    thanks for posting the guide