You can’t install TeamViewer from the default Ubuntu repos as it’s proprietary. You’ll instead have to download the deb package and install it locally.
The latter method is very easy too, but users sometimes get stuck due to dependency-related errors. So, we’ll walk you through the entire process with this step-by-step guide.
Install TeamViewer Graphically
- Go to the TeamViewer download page and download the deb package that matches your system architecture. Mine is x86-64bit, so I’ll download the amd64 version.
- Right-click the downloaded deb file and select Open with another application.
- Select Software Install and press Enter.
- Click on Install and enter your password for authentication.
- After it’s installed, search ‘TeamViewer’ and launch it from the applications menu.
Install Using Deb Package (CLI)
If you’re unable to install TeamViewer from the Software Center, you can resolve the dependency issues by following the CLI installation method.
Step 1: Download TeamViewer Package
First, download the deb package if you haven’t already done so.
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
Step 2: Install TeamViewer
After the download completes, use apt to install TeamViewer like so.
sudo apt install ./teamviewer_amd64.deb -y
Situational: Fix Dependency Errors
If the installation is interrupted due to unmet dependencies, try to install the dependencies with
sudo apt --fix-broken install
Now, try installing TeamViewer again
sudo apt install ./teamviewer_amd64.deb -y
Step 3: Launch TeamViewer
After TeamViewer is installed, you can run it from the terminal by entering
teamviewer
Using & Managing TeamViewer
As stated, you can run TeamViewer from the terminal or by opening it from the Applications menu.
Generally, TeamViewer runs smoothly on Ubuntu, but you might experience some crashes. This often happens because Wayland support is still experimental, and as a result, not that stable. In that case, you can switch the default display server from Wayland to Xorg on the Ubuntu login screen.
Aside from this, you can manually update TeamViewer when a new version is available with
sudo apt-get install --only-upgrade teamviewer
And you can remove TeamViewer with
sudo apt remove teamviewer