How to Install Kodi on Fedora 40 or 39

Kodi is a comprehensive media center software that transforms your Fedora Linux system into a powerful multimedia hub. It allows for the organization and playback of videos, music, and photos, all within a customizable and intuitive interface. Kodi’s adaptability is highlighted by its extensive support for various media formats and capability to stream content over the network. Users benefit from various add-ons, from weather updates to streaming services. Its open-source nature fosters a collaborative development environment and ensures that Kodi is free and adaptable to users’ needs.

Additionally, to full appreciate Kodi’s capabilities, consider these key features that enhance your multimedia experience:

  • Comprehensive Media Organization: Streamline your digital media library with advanced organization features.
  • Broad Format Compatibility: Play almost any media format you encounter.
  • Enhanced Streaming: Access content from various online sources through add-ons.
  • User Interface Customization: Tailor Kodi’s appearance with themes and skins.
  • Add-on Library: Expand Kodi’s functionality with plugins for extra features.
  • Cross-Platform Use: Enjoy a consistent experience across different devices.
  • Open-Source Development: Benefit from software that evolves with user input.
  • Community Driven: Leverage the knowledge and support of a global user community.

Now, let’s proceed to the installation steps on Fedora 40 or 39 Linux.

Install Kodi via RPM Fusion

Import RPM Fusion Repository for Kodi Installation

You must add the RPM Fusion repository before installing Kodi on your Fedora Linux system. RPM Fusion provides additional software packages that are unavailable in the official Fedora repositories. You can access the Kodi package and its dependencies by enabling RPM Fusion.

To import the RPM Fusion repository, execute the following command in the terminal:

sudo dnf install -y$(rpm -E %fedora).noarch.rpm$(rpm -E %fedora).noarch.rpm

This command downloads and installs the RPM Fusion free and non-free repositories on your Fedora system.

Install Kodi via DNF Command

Now that you have added the RPM Fusion repository, you can install Kodi. Run the following command to install Kodi along with its dependencies:

sudo dnf install kodi

Wait for the installation process to complete.

Configure FirewallD For Kodi

Check if FirewallD is Installed

Fedora Linux defaults to using FirewallD as its firewall management tool. Ensure its installation on your system before you configure it to secure Kodi by executing the following command:

sudo systemctl status firewalld

If your system does not have FirewallD installed, use the following command to install it:

sudo dnf install -y firewalld

After installation, enable and start the FirewallD service with these commands:

sudo systemctl enable --now firewalld

Configure FirewallD For Kodi

When allowing external access to Kodi while keeping security intact, configure FirewallD with specific rules. Since Kodi utilizes multiple ports for different services, such as HTTP, UPnP, and EventServer, create new FirewallD services or modify existing ones to open these ports.

For instance, create a new FirewallD service file named kodi-http.xml to allow HTTP access to Kodi:

sudo nano /etc/firewalld/services/kodi-http.xml

Insert the following content into the file:

<?xml version="1.0" encoding="utf-8"?>
  <short>Kodi HTTP</short>
  <description>Allow access to Kodi via HTTP</description>
  <port protocol="tcp" port="8080"/>

Save and close the file. Reload the FirewallD configuration and add the new service to your active firewall zone with the commands:

sudo firewall-cmd --reload
sudo firewall-cmd --add-service=kodi-http --permanent
sudo firewall-cmd --reload

Although this example only pertains to HTTP access, you can create additional FirewallD service files for other Kodi services, such as UPnP (kodi-upnp.xml) and EventServer (kodi-eventserver.xml), following the same steps and modifying the port numbers as needed.

Ensure you substitute the port number in the <port> tag with the correct value for each service. After generating the necessary service files, reload the FirewallD configuration and add the services to your active firewall zone, as previously illustrated.

Launching Kodi

CLI Method to Launch Kodi

To launch Kodi using the CLI method, open a terminal window and enter the following command:


This command will start the Kodi application in a new window. You can now explore its features, customize the interface, and enjoy your media content.

GUI Method to Launch Kodi

Using the GUI method, you can quickly locate and launch Kodi from your desktop. Here’s how:

  1. Access the Application Menu: Depending on your desktop environment (such as GNOME, KDE, or XFCE), click on the “Applications” or “Show Applications” icon in the bottom-left corner or the top-left corner of your screen.
  2. Search for Kodi: In the application menu, type “Kodi” in the search bar. The Kodi media player icon should appear in the search results.
  3. Launch Kodi: Click on the Kodi icon to launch the application. A new window will open, allowing you to access and manage your media content.

Additional Kodi Commands

Update Kodi

To ensure you’re using the latest version of Kodi with all the newest features and security patches, it’s essential to keep it updated. Since you installed Kodi from the RPM Fusion repository, you can use the DNF package manager to update the software with the following command:

sudo dnf upgrade --refresh

Remove Kodi

If you decide that you no longer need Kodi on your Fedora system, you can remove it using the DNF package manager with the following command:

sudo dnf remove kodi


We’ve just navigated through installing Kodi on Fedora 40 or 39 Linux, equipping your system with a robust media center. This guide aimed to simplify the process, ensuring you can now leverage Kodi’s extensive features regardless of your Fedora version. Dive into its vast array of add-ons, tailor the interface to suit your style, and enjoy endless streaming possibilities.

Useful and Relevant Links

Here are some valuable links related to using Kodi:

  • Kodi Official Website: Visit the official Kodi website for information about the media player, its features, and download options.
  • Kodi Wiki: Access the Kodi Wiki for comprehensive documentation, tutorials, and user guides.
  • Kodi Documentation: Explore detailed documentation for installing, configuring, and using Kodi.
  • Kodi Development Kit: Access resources for developing addons and customizations for Kodi.
  • Kodi Forum: Join the Kodi forum to discuss issues, share solutions, and get support from the community.
  • Kodi Developers: Learn how to contribute to Kodi development and join the developer community.
  • Kodi GitHub Repository: Visit the Kodi GitHub repository to view the source code, report issues, and contribute to the development.
Joshua James
Follow me

Leave a Comment