How to install Teamviewer on Fedora Workstation 39

Endrit Qerreti

Endrit Qerreti

When it comes to Fedora, Teamviewer is not included in the default repositories, which means after a fresh install of Fedora, if you wanted to install teamviewer, you would need to add teamviewer repository, or install teamviewer manually.

In this tutorial, we'll install Teamviewer on Fedora, via two different methods.

In the first method, we'll install Teamviewer manually, by downloading the official Teamviewer rpm binary.

In the second method, we'll install Teamviewer by setting up Teamviewer repository, so that we can install Teamviewer directly from the terminal.

Method 1 : Install Teamviewer via rpm binary

Step 1 - Download Teamviewer

First, you need to download Teamviewer rpm file in your system, by using wget or curl, or any other tool that allows you to download a file easily through the terminal.

To download Teamviewer rpm binary, we'll be using wget, to do so, simply run the command below.

wget -q https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm

Step 2 - Install Teamviewer

Once you have downloaded the rpm binary of Teamviewer, you can proceed to install it.

To install Teamviewer rpm binary is quite simple, and it can be done by using the dnf package manager.

To do so, simply run the command below.

sudo dnf install ./teamviewer.x86_64.rpm

Step 3 - Launch Teamviewer

Teamviewer is now installed in your Fedora machine, and you should be able to launch it.

You can find Teamviewer on the applications menu, and you can launch it easily by clicking Teamviewer icon.

You can also use terminal if you like, and use it to launch teamviewer. To do so, simply issue the following.

teamviewer

Uninstall Teamviewer

If you no longer need Teamviewer that you installed manually via the rpm binary, you can easily uninstall it also by using dnf.

To do so, execute the command below.

sudo dnf uninstall teamviewer

Method 2: Install Teamviewer via rpm repository

Step 1 - Update the system

Before installing Teamviewer, ensure you don't have outdated packages installed on your Fedora machine.

To update Fedora, is quite easy, and it can be done by using dnf package manager.

To do so, simply run the following.

sudo dnf update -y

Step 2 - Add Teamviewer repository

Installing Teamviewer via the official teamviewer repository in Fedora, is quite simple, and it can be done easily via a few steps. All you have to do is add Teamviewer repository in your system, and then use that repository to install Teamviewer.

Installing Teamviewer via its own repository, not only allows you to install Teamviewer easily directly from the terminal, but it also makes it easier for you to update Teamviewer, as updates are received automatically through the Teamviewer repository.

To add Teamviewer repository, first create the teamviewer repository in the yum.repos.d directory.

sudo nano /etc/yum.repos.d/teamviewer-repository.repo

Next, copy the following, into the repository file that you created.

[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

Once teamviewer repository is added in your system, press CTRL + X to save changes.

Step 3 - Install Teamviewer

Now you can proceed to install Teamviewer on your system, directly from your terminal.

To do so, simply run the command below.

sudo dnf install teamviewer

Step 4 - Launch Teamviewer

Now that Teamviewer is installed via the Teamviewer repository, you should be able to launch teamviewer.

To launch teamviewer via terminal, simply issue the command below.

teamviewer

Uninstall Teamviewer on Fedora 39

To uninstall Teamviewer that was installed through Teamviewer repository, all you need to do is run the command below.

sudo dnf uninstall teamviewer

Conclusion

In this tutorial, you learned how to install Teamviewer on Fedora, by downloading Teamviewer rpm binary manually, and by setting up Teamviewer repository in Fedora.