TeamViewer is a widely-used remote access and control software that enables users to connect to and manage computers or servers from anywhere in the world. It is known for its ease of use, secure connections, and support for various platforms. TeamViewer is often utilized for remote support, online meetings, and file transfers, making it an essential tool for both personal and professional use.
On Fedora 40 or 39, you can install TeamViewer by using the official TeamViewer RPM repository. This method ensures that you are installing the latest version of TeamViewer and that you will receive updates directly from TeamViewer as they become available. This guide will walk you through the installation process using the command-line terminal to set up TeamViewer on your Fedora system.
Install TeamViewer via RPM
Before starting the installation, ensure that all existing packages on your system are up-to-date to avoid potential conflicts:
sudo dnf upgrade --refresh
First, import the TeamViewer repository and create the necessary file using a text editor like Nano:
sudo nano /etc/yum.repos.d/teamviewer.repo
Copy and paste the following content into the file:
[teamviewer]
name=TeamViewer - $basearch
baseurl=https://linux.teamviewer.com/yum/stable/main/binary-$basearch/
gpgkey=https://linux.teamviewer.com/pubkey/currentkey.asc
gpgcheck=1
repo_gpgcheck=1
enabled=1
type=rpm-md
Ensure that $basearch is included in the configuration; otherwise, you might encounter a 403 error. Save the file by pressing CTRL+O and exit nano with CTRL+X.
With the repository configured, proceed with the TeamViewer installation using the following command:
sudo dnf install teamviewer
If you’re new to Linux, you’ll be prompted to import the GPG key. When you see this prompt, type “Y” and press Enter to continue.
Launch TeamViewer UI
Now that TeamViewer is installed on your system, there are several ways to launch the application, catering to users with different preferences.
Command-Line Launch Method For TeamViewer
For those who prefer using the command line terminal, TeamViewer can be quickly launched by entering the following command:
teamviewer
GUI Launch Method For TeamViewer
For desktop users who would instead not use the command line terminal, TeamViewer can be opened through the graphical user interface (GUI) by navigating the application menu:
- Click on Activities in the top-left corner of your screen.
- Select Show Applications (represented by a grid icon) at the bottom of the Activities panel.
- Search for “TeamViewer” in the search bar or locate the TeamViewer icon among the listed applications.
- Click on the TeamViewer icon to launch the application.
Many Fedora users have adopted Wayland as their display server protocol or prefer using it over X.Org. However, it’s essential to note that TeamViewer does not support Wayland.
Unfortunately, Wayland’s support in TeamViewer is not expected to arrive soon. Discussions regarding this compatibility have been ongoing for several years. Given the progress, implementing Wayland support in TeamViewer might take another decade. In the meantime, to use TeamViewer on Fedora, you’ll need to switch from Wayland to GNOME on Xorg by following these steps:
- Log out of your current session.
- Click the gear icon (⚙️) next to the “Sign In” button on the login screen.
- Choose “GNOME on Xorg” from the available options.
- Log back into your Fedora system.
After launching TeamViewer with Xorg, you are ready to utilize its features. To connect to a remote PC, you can obtain the remote computer’s TeamViewer ID or share your ID with another user.
Additional Commands with TeamViewer
Update TeamViewer
The software should update itself with your system packages for desktop users using the DNF package manager. Use the following command in your terminal for users who want to check manually.
sudo dnf update --refresh
Remove TeamViewer
When you no longer want the video conference software installed on your system, use the following command to remove it.
sudo dnf remove teamviewer
Remove the repository if you plan not to re-install the software again.
sudo rm /etc/yum.repos.d/teamviewer.repo
Conclusion
With TeamViewer installed on your Fedora system via the official RPM repository, you gain a reliable tool for remote access, support, and collaboration. This method ensures that you have access to the latest features and security updates from TeamViewer, providing a seamless and secure remote management experience. Regular updates through the RPM repository will keep your installation current, enabling you to maintain efficient and secure remote connections on Fedora.