How to Install TeamViewer on Ubuntu 26.04, 24.04 and 22.04

Install TeamViewer on Ubuntu 26.04, 24.04 and 22.04 via APT setup. Covers remote access, CLI commands, and removal steps.

Last updatedAuthorJoshua JamesRead time5 minGuide typeUbuntu

Remote support on Ubuntu works best when the client also keeps itself updated. To install TeamViewer on Ubuntu, download TeamViewer’s official Debian/Ubuntu package, install it with APT, and let the package add TeamViewer’s APT source for future updates.

The commands below install the TeamViewer full client on Ubuntu 26.04, 24.04, and 22.04. TeamViewer’s published support matrix currently names Ubuntu 24.04 and 22.04 among LTS releases, while the same generic Linux package and repository install flow also works on Ubuntu 26.04. If you need vendor-supported coverage for a business environment, check TeamViewer’s supported operating systems page before rolling it out.

Install TeamViewer on Ubuntu

TeamViewer offers more than one Linux download, so choose the package that matches the machine’s role before running commands.

TeamViewer packageBest fitUbuntu install path
Full clientRemote support, outgoing connections, attended access, and normal desktop useUse the official TeamViewer Linux download shown below
TeamViewer Host24/7 unattended access on managed devicesUse the Host subsection below or TeamViewer’s Linux download portal; it cannot be installed beside the full client
QuickSupportReceiving one-time support without a permanent installUse TeamViewer’s tar.gz QuickSupport download from the Linux download portal instead of the APT-managed client

Update Ubuntu Packages Before TeamViewer

Refresh APT first so dependency resolution uses current Ubuntu package metadata:

sudo apt update
sudo apt upgrade

These commands use sudo for system-level package changes. If your account cannot run sudo yet, follow the guide to add a user to sudoers on Ubuntu before continuing.

Confirm Ubuntu System Architecture

Most Ubuntu desktops and laptops use the 64-bit x86 package. Confirm that before downloading the standard TeamViewer DEB file:

uname -m

Expected output for the package used in this article:

x86_64

If you are installing on ARM hardware, use TeamViewer’s Linux download portal to choose the matching arm64 or armv7 package instead.

Download TeamViewer DEB Package

Install wget if a minimal Ubuntu image does not already include it, then download the current TeamViewer full-client package. The -O flag saves the redirected download under a stable filename so the next APT command stays copy-friendly.

sudo apt install wget
wget -O teamviewer_amd64.deb https://download.teamviewer.com/download/linux/teamviewer_amd64.deb

The download URL redirects to the latest TeamViewer 15.x package. If you want to inspect or script more download behavior, the wget command examples guide covers common flags and output patterns.

Install TeamViewer DEB Package with APT

Install the downloaded package with APT so Ubuntu can resolve any missing libraries automatically:

sudo apt install ./teamviewer_amd64.deb

The package creates /etc/apt/sources.list.d/teamviewer.list and stores the signing key at /usr/share/keyrings/teamviewer-keyring.gpg. Refresh APT once after installation so the new TeamViewer repository appears in package metadata:

sudo apt update

Verify TeamViewer Installation on Ubuntu

Check the installed TeamViewer version:

teamviewer version

The output should print a TeamViewer 15.x version line with (DEB) at the end.

Confirm the daemon is running:

systemctl is-active teamviewerd

A running daemon returns:

active

Verify that future updates come from TeamViewer’s APT source:

apt-cache policy teamviewer

Relevant output includes the TeamViewer repository. Version numbers change as TeamViewer publishes new 15.x builds:

teamviewer:
  Installed: 15.76.5
  Candidate: 15.76.5
  Version table:
 *** 15.76.5 500
        500 https://linux.teamviewer.com/deb stable/main amd64 Packages
        100 /var/lib/dpkg/status

Install TeamViewer Host Instead of Full Client

Use TeamViewer Host when the Ubuntu machine mainly needs unattended access. TeamViewer’s Linux installation notes state that teamviewer and teamviewer-host cannot be installed side by side, so remove the full client first if you already installed the earlier package.

wget -O teamviewer-host_amd64.deb https://download.teamviewer.com/download/linux/teamviewer-host_amd64.deb
sudo apt install ./teamviewer-host_amd64.deb

TeamViewer Host uses the same teamviewer terminal command for version, repository, daemon, and account setup checks:

teamviewer version
systemctl is-active teamviewerd

Use the same interpretation as the full-client verification above: a TeamViewer 15.x DEB version line plus active means Host installed and the daemon started.

Launch and Configure TeamViewer on Ubuntu

Start TeamViewer Desktop Client

Open TeamViewer from the applications menu by searching for TeamViewer. On GNOME-based Ubuntu desktops, the launcher appears after the package installs its desktop entry.

You can also start the desktop client from a terminal:

teamviewer

Check TeamViewer ID and Daemon Status

Use the terminal when you need the installed version, daemon state, or TeamViewer ID without opening the full interface:

teamviewer info

If the ID is blank immediately after installation, restart the daemon and check again:

sudo teamviewer daemon restart
teamviewer info

Configure Unattended TeamViewer Access

For unattended access with the full client, either set a permanent password or assign the device to your TeamViewer account. To set a local unattended-access password, run:

sudo teamviewer passwd

To assign the device to your TeamViewer account instead, start the setup flow:

teamviewer setup

Update TeamViewer on Ubuntu

After the first install, TeamViewer updates through the APT repository that the package added. Normal system updates include TeamViewer when a newer build is available:

sudo apt update
sudo apt upgrade

To update only TeamViewer without upgrading the rest of the system, use --only-upgrade:

sudo apt install --only-upgrade teamviewer

You can inspect TeamViewer’s repository configuration with its built-in repository command:

teamviewer repo
Active configuration lines in '/etc/apt/sources.list.d/teamviewer.list':
deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main

Troubleshooting TeamViewer on Ubuntu

Fix Unable to Locate TeamViewer Package

A clean Ubuntu install does not know about the teamviewer package until the official DEB package adds TeamViewer’s repository. If this command fails:

sudo apt install teamviewer

Install the official teamviewer_amd64.deb package first, then run sudo apt update. After that, apt-cache policy teamviewer should show the TeamViewer stable repository.

Fix Duplicate TeamViewer Repository Entries

Older manual or extrepo-based setups can leave duplicate TeamViewer source files. Check which TeamViewer source files exist:

ls /etc/apt/sources.list.d/ | grep -i teamviewer

The grep filter keeps the output focused on TeamViewer source files. For more pattern examples, see the grep command guide.

The current package-managed setup normally uses teamviewer.list. If you also see stale files such as teamviewer.sources or extrepo_teamviewer_default.sources, remove the stale manual files and restore TeamViewer’s package-managed source:

sudo rm -f /etc/apt/sources.list.d/teamviewer.sources
sudo rm -f /etc/apt/sources.list.d/extrepo_teamviewer_default.sources
sudo rm -f /usr/share/keyrings/teamviewer.gpg
sudo teamviewer repo default
sudo apt update

Keep teamviewer.list while the full client is installed, because TeamViewer uses that file for package updates.

Fix Wayland Detected or Incoming Control Problems

TeamViewer’s Linux support matrix still treats Wayland as experimental for incoming connections and recommends X11/Xorg for the best remote-control experience. Check your current session type:

echo $XDG_SESSION_TYPE

Typical output is one of these values:

wayland
x11

If incoming control fails on a Wayland session, sign out and choose an Xorg session from the login screen when your Ubuntu desktop offers one. Outgoing support sessions and browser-based TeamViewer workflows may still work differently, so treat the Xorg switch as an incoming-control fix rather than a universal requirement.

Use TeamViewer on Ubuntu Server or Headless Systems

TeamViewer can be configured from a terminal on headless systems, but the package still installs graphical dependencies and remote-control behavior depends on the available console, Xorg, or session type. Start with the CLI setup commands:

teamviewer info
teamviewer setup

For server access, also keep a normal SSH path available so you can recover the machine if remote desktop setup fails. The SSH server setup guide for Ubuntu covers that fallback path.

Remove TeamViewer from Ubuntu

Remove the package you installed. For the full TeamViewer client, purge teamviewer:

sudo apt remove --purge teamviewer

For TeamViewer Host, purge teamviewer-host instead:

sudo apt remove --purge teamviewer-host

Verify that no TeamViewer package remains installed:

dpkg-query -W -f='${db:Status-Abbrev} ${binary:Package}\n' teamviewer teamviewer-host 2>/dev/null | grep '^ii' || echo "no TeamViewer package is installed"
no TeamViewer package is installed

If that check reports no installed TeamViewer package, remove any leftover TeamViewer source file or keyring before refreshing APT:

sudo rm -f /etc/apt/sources.list.d/teamviewer.list
sudo rm -f /usr/share/keyrings/teamviewer-keyring.gpg
sudo apt update

Review orphaned dependencies before removing them. APT can include unrelated old packages on reused systems, so inspect the dry run first:

sudo apt autoremove --dry-run

If the preview lists only packages you no longer need, run the real cleanup:

sudo apt autoremove

Conclusion

TeamViewer is installed from the official DEB package, its APT source is ready for updates, and the daemon can be managed from either the desktop or terminal. If you want to compare remote-desktop options for Ubuntu, install AnyDesk on Ubuntu or install Remmina on Ubuntu next.

Share this guide

Help another Linux user troubleshoot faster

Share this guide with someone troubleshooting Linux systems or saving it for later.

Follow LinuxCapable

Want more LinuxCapable guides in Google?

Add LinuxCapable as a preferred source so Google can show our tutorials more often in Top Stories and mark them as preferred in AI Mode and AI Overviews when relevant.

Add LinuxCapable as a preferred source on Google
Search LinuxCapable

Need another guide?

Search LinuxCapable for package installs, commands, troubleshooting, and follow-up guides related to what you just read.

Found this guide useful?

Support LinuxCapable to keep tutorials free and up to date.

Buy me a coffeeBuy me a coffee

2 thoughts on “How to Install TeamViewer on Ubuntu 26.04, 24.04 and 22.04”

Before commenting, please review our Comments Policy.
Formatting tips for your comment

You can use basic HTML to format your comment. Useful tags currently allowed in published comments:

You type Result
<code>command</code> command
<strong>bold</strong> bold
<em>italic</em> italic
<a href="https://example.com">link</a> link
<blockquote>quote</blockquote> quote block

Add to the discussion

Questions, fixes, command output, and version notes help keep this guide current.

Verify before posting: