How to Uninstall TeamViewer on Linux Mint 22: A Complete Guide
If you have installed TeamViewer on your Linux Mint computer and decided you no longer need it, you have come to the right place. This guide will show you how to completely remove TeamViewer and all its configuration files from your Linux Mint system.
Step 1: Verify the Package Name
First, you can run this command to find the exact name of the TeamViewer package installed on your computer:
dpkg -l | grep -i teamviewer
As shown in the following screenshot, the package name is simply teamviewer.

Step 2: Uninstall the TeamViewer Package
To uninstall the TeamViewer package, run the following command in your terminal:
sudo apt purge teamviewer
Using the purge command ensures that both the application and its system-wide configuration files are removed.
Step 3: Remove Unused Dependencies
After uninstalling TeamViewer, run this command to clean up any unwanted dependencies that are no longer needed:
sudo apt autoremove
Step 4: Delete Local Configuration Files
Finally, run the following command to remove the TeamViewer folder from your home directory. This ensures a completely clean uninstallation:
rm -rf ~/.config/teamviewer
You have now successfully uninstalled TeamViewer from your Linux Mint system.
Reinstalling or Finding Alternatives
- Need to reinstall? Check out our guide on How to Install the Latest Version of TeamViewer on Linux Mint 22.
- Looking for an alternative? If you need a different remote desktop solution, read our installation guide for AnyDesk on Linux Mint 22.