How to Install TeamViewer via Command Line on Ubuntu
You install TeamViewer on Ubuntu via the command line by first downloading the correct `.deb` package and then using the `dpkg` command to install it.
TeamViewer is a popular remote desktop application that enables you to control other computers over the internet, perfect for remote assistance or system administration.
Using the command line for installation, specifically the `dpkg -i teamviewer_15.x.x_amd64.deb` command (replace with your actual version number), bypasses the graphical interface. This method is significantly faster and more efficient for deploying software across multiple machines or when you need to automate the process.
Download the `.deb` package from the TeamViewer website using `wget`. Then, update your package index with `sudo apt update` and install TeamViewer using `sudo apt install ./teamviewer_amd64.deb`.
Install TeamViewer on Ubuntu Linux
Since TeamViewer is proprietary software, you won’t find its executable files in the default repositories for Ubuntu.
You’ll need to download the installer package directly from the TeamViewer website.
First, open your Terminal app (Ctrl+Alt+T) on Ubuntu. Then, run the command below to download the TeamViewer installer package.
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
Once the download finishes, run the command below to update your package list and install TeamViewer.
sudo apt update sudo apt install ./teamviewer_amd64.deb
Once TeamViewer is installed, you can launch it from the command line by typing teamviewer, or by clicking the TeamViewer icon in your Applications menu.

During the installation, the official TeamViewer repository gets added to your machine. This means the next time a newer version is released, your system will install it automatically, alongside other package updates.
That should do it!
Conclusion:
- TeamViewer is a versatile tool for remote access and support.
- Installing TeamViewer via the command line offers more customization options and efficiency.
- The process involves downloading the installer package and running terminal commands.
- After installation, TeamViewer can be easily launched from the command line or the Applications menu.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!