When running Windows applications on Linux, Wine is a popular software many people use. However, one of the issues with Wine is that it can be pretty time-consuming and prone to errors when setting up required configurations for each application. Thankfully, a great program called PlayOnLinux can make your life much easier by providing automated installation of popular apps. This can be a massive benefit for those new to using Linux or who don’t want to spend a lot of time setting things up. Fedora is one distribution that makes it easy to install PlayOnLinux with the application being available in the default repositories.
In the following tutorial, you will learn how to install PlayOnLinux on Fedora 37/36/35 Linux using the command line terminal using the default Fedora’s repository or installing the Flatpak third-party package manager for an optional choice of installation.
Table of Contents
Recommended Steps Before Installation
Before you continue, your system is advised to ensure all existing packages are up to date to avoid system conflicts.
sudo dnf upgrade --refresh -y
#1st Method – Install PlayOnLinux – Fedora Repository
The first and perhaps best method is installing PlayOnLinux directly from your Fedora repository using the DNF package manager, which can be done using the following command.
sudo dnf install playonlinux -y
For users that love using Flatpak installations, the following method would interest you more.
#2nd Method – Install PlayOnLinux – Flatpak/Flathub Repository
The second option is to use the Flatpak package manager. Flatpak should already be pre-installed on your Fedora Linux desktop unless you have removed it. Flatpaks are often ahead if the maintainer is active.
First, install the Flatpak manager if it was removed previously.
sudo dnf install flatpak -y
Optionally, rebooting your system is often recommended for users re-installing Flatpak. Failure to do this can occur in odd issues, such as wrong icon paths.
SKIP THE REBOOT IF FLATPAK IS INSTALLED.
Next, you need to enable Flatpack using the following command in your terminal.
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Now install using the following flatpak command.
flatpak install flathub org.phoenicis.playonlinux -y
If the above command does not work and you receive the “error: Unable to load summary from remote flathub: Can’t fetch summary from disabled remote ‘flathub,” use the following command.
sudo flatpak remote-modify --enable flathub
Launch PlayOnLinux on Fedora Linux
With the installation complete from one of the installation methods, you can run the application immediately from your terminal.
First, while in your terminal, you can use the following command.
Flatpak users will need to launch using the command below from a terminal instance.
flatpak run org.phoenicis.playonlinux
Most desktop users prefer to use the application icon, which can be found in the following path.
Activities > Show Applications > PlayOnLinux
Alternatively, if you cannot find it, use the search function in the Show Applications menu if you have many applications installed. Depending on your chosen method. The icons will look different due to the version differences between Fedora and Flatpak.
Once open, you can begin navigating and adding applications from the Library. The default Fedora version is plainer but straightforward to use, and more information can be found on the official wiki for further learning.
Update PlayOnLinux on Fedora Linux
Updates should appear in notifications, but if these fail to show sometimes, it is recommended to check using the terminal regardless of the following commands to check for updates.
sudo dnf update --refresh
Remove PlayOnLinux on Fedora Linux
Use one of the following commands to suit the original installation method for users who no longer require the application.
sudo dnf autoremove playonlinux -y
Flatpak Remove Method
flatpak remove --delete-data org.phoenicis.playonlinux -y
Next, run the following command for any leftover clean-ups required, similar to the autoremove command described for the DNF remove example command.
flatpak remove --unused