Share your love
Add Essential Software Repositories on Fedora Linux: Copr, Flatpak, Snapd, RPM Fusion
This guide intends to teach you How To Add Essential Software Repositories on Fedora Linux. Adding Fedora software repositories allows you to install many packages and software unavailable in the default Fedora repository. The most widely used third-party software repositories include Copr, Flatpak, Snapd, and RPM Fusion. In this guide, you will learn to enable each of them on your Fedora Linux.
You can now proceed to the following steps provided by the Orcacore website to Add Essential Software Repositories on Fedora Linux.
Table of Contents
Easily Learn to Add Essential Software Repositories on Fedora Linux
As we said, you can easily install many software and packages that are not available in the default Fedora repository. These repositories include Copr, Flatpak, Snapd, and RPM Fusion.
To Add Essential Software Repositories on Fedora Linux, you must access your server as a non-root user with sudo privileges. Then, follow the guide steps to easily install and enable them.
1) How To Enable and Use Copr Repository on Fedora Linux?
Copr stands for Cool Other Package Repository. It is a community-driven platform. You can easily install and enable Copr repo on your Fedora Linux to install your desired packages.
To use the Copr Fedora repository, you must install the DNF Core Plugin. To do this, you can run the command below:
sudo dnf install dnf-plugins-core -y
Then, you can easily enable the Copr repository. You can use the following command to enable the Copr repository:
sudo dnf copr enable user/project
Note: You can find Avaiavle Copr projects on the Official website.
Next, install the package with the following command:
sudo dnf install package-name
If you plan to remove and disable the Copr package and repository, you can run the following commands:
# sudo dnf remove package-name
# sudo dnf copr disable user/project
2) How To Install and Use Snap Repository on Fedora Linux?
At this point, you can add essential software repositories on Fedora Linux with Snap. It is a universal package format created by Canonical. Snap allows you to install many popular applications.
To install Snap repo on Fedora, you can easily use the command below:
sudo dnf install snapd -y
Then, enable and start the Snapd service on Fedora:
sudo systemctl enable --now snapd.socket
To enable the Snapd classic support, you can use the command below:
sudo ln -s /var/lib/snapd/snap /snap
Finally, restart your system or log out and back in to activate Snapd.
Now you can start using Snap. To install a package with snap, you can run the command below:
sudo snap install package-name
Also, you can remove a package from Snap with the command below:
sudo snap remove package-name
If you plan to remove Snap from Fedora Linux, you can easily run the command below:
sudo dnf remove snapd -y
3) How To Install and Use Flatpak on Fedora Linux?
Another step to add essential software repositories on Fedora Linux is to use Flatpak. Flatpak is one of the most popular software repositories it is the same as the snap repository. To install Flatpak, you can easily run the command below:
sudo dnf install flatpak -y
Also, you need to enable FlatHub for searching apps with the command below:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Reboot your system to apply the changes.
Then, you can start using Flatpak on Fedora by searching and installing the app:
# sudo flatpak search Application_name
# sudo flatpak install Application_name
To uninstall an App with Flatpak, you can use the following syntax:
flatpak uninstall APP-ID
If you no longer want to use Flatpak, you can easily remove it with the command below:
sudo dnf autoremove flatpak -y
4) How To Install and Use RPM Fusion on Fedora Linux?
RPM Fusion is one of the third-party repositories for Fedora Linux and RHEL-based distros. It has two repositories including free and non-free. To install them on Fedora, you can run the commands below:
# sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
# sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
After that, you can install packages from RPM Fusion as usual with the command below:
sudo dnf install package-name -y
Note: To get more detailed information, you can check this guide on Enable RPM Fusion Repository on Fedora.
That’s it. You have become familiar with the most widely used software repositories and learned to add essential software repositories on Fedora Linux.
Conclusion
The essential software repositories are used to install packages and applications that are not included in the default Fedora repository including Copr, Snapd, Flatpak, and RPM Fusion. At this point, you have learned to enable and add essential software repositories on Fedora Linux.
Hope you enjoy using it. Also, you may like to read the following articles:
Uninstall and Remove the PPA Repository From Ubuntu and Debian
Create a Local Repository on AlmaLinux 9 / RHEL 9
Install Remi Repository on AlmaLinux 8
Set up a YUM repository on Centos 7
Quick Setup For Flatpak on AlmaLinux 9 and RHEL 9
FAQs
What are software repositories in Fedora Linux?
Software repositories are collections of software packages that users can download and install on their systems. Repositories like Copr, Flatpak, Snapd, and RPM Fusion provide access to a wide range of applications.
How is Copr different from Fedora’s main repositories?
Copr allows Fedora community members to publish experimental or niche software that may not yet be in Fedora’s main repositories.
Is it safe to add third-party repositories on Fedora?
Yes, these repositories are widely used and generally considered safe. RPM Fusion, Flatpak (especially Flathub), and Snapd are officially maintained or recognized by Fedora, while Copr is a community-supported platform.