Subscribe

How to Install Kodi on Linux (2026 Updated Guide)


⚠️ STATUS DISCLAIMER

Current Status: 🟢 FULLY OPERATIONAL (Verified August 3, 2026)

🚨 CRITICAL UPDATE – TEAM KODI PPA OFFICIALLY RETIRED:

The official Team Kodi PPA (ppa:team-xbmc/ppa) has been officially retired as of March 2024. The PPA is no longer maintained for Ubuntu 26.04 and newer releases. Do not attempt to use it—it will break your system updates.

The new recommended installation method is Flatpak. This guide covers all verified methods for 2026.


What Is Kodi?

Kodi (formerly XBMC) is an award-winning, free, and open-source media player and entertainment hub that turns any Linux machine into a home theater frontend. It plays local video, music, and photos, connects to streaming add-ons, manages your library with metadata scrapers, and supports live TV through tuner cards.

Target Audience: Linux users of all levels—from beginners using Ubuntu or Linux Mint to advanced users on Arch or Fedora.

Key Features:

  • 🎬 Plays virtually every audio/video format
  • 📺 10-foot user interface optimized for TVs and remote controls
  • 🔌 Extensive add-on ecosystem (streaming, PVR, gaming, and more)
  • 🖥️ Supports X11, Wayland, and GBM windowing systems
  • 🌐 Stream media from local network or the Internet

📋 “No-Click” Quick-Reference Cheatsheet

For experienced users—skip the reading and install now.

DistributionRecommended MethodCommand
Ubuntu 26.04+Flatpak (Recommended)flatpak install flathub tv.kodi.Kodi
Ubuntu 24.04 & 22.04APT (Universe) or Flatpaksudo apt install kodi
Linux MintFlatpak or APTflatpak install flathub tv.kodi.Kodi
Fedora 42–44Flatpak or RPM Fusionflatpak install flathub tv.kodi.Kodi
Arch LinuxPacman (Official Repo)sudo pacman -S kodi
DebianAPT (Official Repo)sudo apt install kodi
Any DistributionFlatpak (Universal)flatpak install flathub tv.kodi.Kodi

🟢 Kodi Status Report & Testing Log

MetricStatus
Current Stable VersionKodi 21.3 (Omega)
Development VersionKodi 22.0 (nightly builds available)
Tested PlatformsUbuntu 26.04 LTS, Fedora 44, Arch Linux, Debian 13
Window SystemsX11 ✅ / Wayland ✅ / GBM ✅
Hardware AccelerationVA-API, VDPAU, NVDEC, Intel QuickSync
HDR SupportYes (via kodi-gles on Arch / GBM backend)
Minimum RAM2 GB (1080p) / 4 GB+ recommended for 4K
Storage Required~500 MB (Flatpak/APT) / 4+ GB (source build)

📥 Main Installation Tutorial

Prerequisite Phase (Part 1): System Preparation

Before installing Kodi, ensure your system meets these requirements:

Verify OpenGL Support

Kodi requires OpenGL to render its interface. Run:

sudo apt install -y mesa-utils  # Debian/Ubuntu
glxinfo | grep "OpenGL version"

You should see output like OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.x.x. If you see an error, fix your GPU driver first—Kodi cannot run without OpenGL.

Update Your System

# Debian/Ubuntu/Linux Mint
sudo apt update && sudo apt upgrade -y
# Fedora
sudo dnf upgrade -y
# Arch Linux
sudo pacman -Syu

Why this matters: A full system update ensures Kodi’s dependencies resolve against the latest libraries. On Ubuntu 26.04, stale caches can cause dependency conflicts.

Remove Old PPA (Ubuntu Users ONLY)

If you previously added the Team Kodi PPA, remove it immediately:

sudo add-apt-repository --remove ppa:team-xbmc/ppa
sudo apt update

The PPA has no Release file for Ubuntu 26.04 and will block all system updates.


Execution Phase (Part 2): Installation by Distribution


Method 1: Flatpak (Recommended – All Distributions)

Flatpak is now the official recommended installation method for Kodi on Linux.

Step 1: Install Flatpak (if not already installed)

DistributionCommand
Ubuntu/Debian/Linux Mintsudo apt install flatpak
Fedorasudo dnf install flatpak
Arch Linuxsudo pacman -S flatpak

Step 2: Add Flathub Repository

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Step 3: Install Kodi

flatpak install flathub tv.kodi.Kodi

Step 4: Grant External Storage Permissions

By default, Flatpak sandboxes Kodi and restricts access to external storage. To allow Kodi to access your media folders, run this command immediately after installation:

# Allow access to all user files
sudo flatpak override tv.kodi.Kodi --filesystem=home
# Or grant access to a specific directory
sudo flatpak override tv.kodi.Kodi --filesystem=/path/to/your/media

You can also use Flatseal (a graphical permission manager) for more granular control:

flatpak install flathub com.github.tchx84.Flatseal

Step 5: Launch Kodi

flatpak run tv.kodi.Kodi

You can also launch Kodi from your desktop application menu.

Note: Flatpak runs Kodi in a sandboxed container. The --filesystem override grants necessary permissions for media playback.


Method 2: APT (Ubuntu / Debian / Linux Mint)

For Ubuntu 24.04, 22.04, and older LTS releases (not Ubuntu 26.04+):

sudo apt update
sudo apt install kodi

This installs the version included in Ubuntu’s universe repository:

  • Ubuntu 26.04: Kodi 21.x
  • Ubuntu 24.04: Kodi 20.x
  • Ubuntu 22.04: Kodi 19.x

For Debian:

sudo apt update
sudo apt install kodi

This also installs kodi-repository-kodi, which provides access to the official Kodi add-on repository.


Method 3: DNF (Fedora)

Kodi is not in the official Fedora repositories—you need RPM Fusion.

Step 1: Enable RPM Fusion

sudo dnf install -y \
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Step 2: Install Kodi

sudo dnf install kodi

Method 4: Pacman (Arch Linux)

Kodi is available in the official Extra repository.

sudo pacman -S kodi

For HDR support, install the kodi-gles package instead:

sudo pacman -S kodi-gles

Review optional dependencies listed by pacman to enable additional functionality.


Method 5: Snap (Ubuntu)

An unofficial Snap package is available for Ubuntu and other distributions:

sudo snap install kodi-omega

This Snap contains the Omega branch and supports both X11 and Wayland.

Important: On first start, Kodi will prompt you to enable or disable available add-ons. You can press “s” to skip and disable all add-ons by default, then enable only the ones you need.


Cleanup Phase (Part 3): Post-Installation

There is no APK file to delete—Kodi is installed via your package manager.

To keep your system clean:

  • Flatpak users: Run flatpak uninstall --unused periodically to remove unused runtimes.
  • APT/DNF/Pacman users: Run sudo apt autoremove (or equivalent) to remove unused dependencies.

🎮 Post-Installation UI/UX Walkthrough

First Launch Experience:

  1. Welcome Screen: Kodi displays a setup wizard on first launch.
  2. Add-on Prompt (Snap users only): You’ll be prompted to enable or disable available add-ons. Press “s” to skip and disable all by default.
  3. Language Selection: Choose your preferred language.
  4. Media Sources: Add your local media folders or network shares.
  5. Add-on Browser: Explore and install official add-ons from the Kodi repository.

Window System Options:

Kodi supports multiple windowing systems. You can select which one to use:

kodi --windowing=x11      # X11 (most feature-rich)
kodi --windowing=wayland  # Wayland
kodi --windowing=gbm      # GBM (HDR support, standalone)

🧰 Troubleshooting: How to Fix Common Kodi Errors

❌ “Team Kodi PPA” error on apt update
Solution: The PPA is retired and has no Release file for Ubuntu 26.04+. Remove it: bash sudo add-apt-repository –remove ppa:team-xbmc/ppa sudo apt update
❌ Kodi won’t start / black screen
Solution: Check OpenGL support: bash glxinfo | grep “OpenGL version” If missing, install GPU drivers. On virtual machines, enable 3D acceleration.
❌ No sound in Kodi
Solution: Check system sound settings and ensure Kodi’s audio output device is correct. For PulseAudio/PipeWire, verify the service is running: bash systemctl –user status pulseaudio
❌ Video playback is choppy / stuttering
Solution: Enable hardware video acceleration in Kodi: Settings > Player > Videos. Set settings level to “Expert” to see all options. For Arch users, review/install optional dependencies listed by pacman.
❌ Flatpak version can’t access external storage
Solution: Grant permissions via command line: bash sudo flatpak override tv.kodi.Kodi –filesystem=home # Or for a specific directory: sudo flatpak override tv.kodi.Kodi –filesystem=/path/to/your/media Alternatively, use Flatseal for graphical permission management: bash flatpak install flathub com.github.tchx84.Flatseal
❌ Snap version permissions issues
Solution: Manage permissions via terminal: bash snap connections kodi-omega sudo snap connect kodi-omega:dvb # For DVB access Or connect all missing permissions: bash snap connections kodi-omega | awk ‘$3 == “-” {print $2}’ | while read plug; do sudo snap connect $plug; done
❌ “Could not connect to repository” error
Solution: This may indicate network issues or outdated certificates. Check your internet connection and try again later.
❌ Kodi crashes on launch with old config conflicts
Solution: Remove conflicting Kodi files from /usr/local/share/kodi. Uninstall and reinstall the latest version.
❌ Screen tearing / VSync issues
Solution: Force full composition in your GPU settings. For NVIDIA: bash nvidia-settings Navigate to Screen > Enable Full Composition.

❓ Frequently Asked Questions

What happened to the Team Kodi PPA?
The Team Kodi PPA was officially retired in March 2024 due to maintenance overhead. It is no longer maintained and does not work on Ubuntu 26.04+. The new recommended installation method is Flatpak.
Which installation method should I choose?
  • Flatpak – Recommended for most users. Always the latest upstream version, sandboxed, works on all distributions.
  • APT/DNF/Pacman – For users who prefer system-integrated packages. Versions may lag behind upstream.
  • Snap – Unofficial build, works on Ubuntu and other Snap-enabled distributions.
  • Source Build – For developers or users needing custom patches.
How do I update Kodi?
Method Command
Flatpak flatpak update
Snap sudo snap refresh
APT sudo apt update && sudo apt upgrade
DNF sudo dnf upgrade
Pacman sudo pacman -Syu
Can I install Kodi on a headless server?
Kodi is a desktop media center that requires a graphical environment—it does not run as a background server like Jellyfin or Plex. If you need a server-based solution, consider Jellyfin or Plex instead.
Does Kodi support Wayland?
Yes, Kodi supports Wayland, but there are limitations: resolution and frame rate must be set in the compositor rather than Kodi’s GUI, and VT switching is not supported. X11 and GBM currently offer the most feature-rich experience.
Does Kodi support HDR?
Yes, HDR is supported via the GBM backend. On Arch Linux, install the kodi-gles package instead of the standard kodi package for HDR support.
How do I run Kodi in standalone mode?
Kodi can run as the only graphical application on an HTPC. On Arch, use the kodi-standalone-service AUR package. This creates a dedicated user and systemd service for a kiosk-like experience.

✅ Conclusion

Installing Kodi on Linux in 2026 is straightforward—as long as you avoid the retired PPA. The Linux ecosystem has shifted toward containerized deployments, and Flatpak is now the official recommended method.

Quick Summary:

Your DistributionUse This Method
Ubuntu 26.04+Flatpak (NOT PPA)
Ubuntu 24.04 / 22.04Flatpak or APT
Linux MintFlatpak or APT
FedoraFlatpak or RPM Fusion
Arch LinuxPacman (kodi or kodi-gles)
DebianAPT
Any distributionFlatpak (universal)

Remember:

  1. Do NOT use ppa:team-xbmc/ppa – it’s retired
  2. Use Flatpak for the latest version on most distributions
  3. 🔧 Verify OpenGL support before installing
  4. 🖥️ Choose your windowing system (X11, Wayland, or GBM)
  5. 🎬 Enjoy your media center!

Tags:

Don’t Miss the Next Guide

Get Fire TV updates, Kodi builds, and VPN deals sent straight to your inbox.

Continue Reading

Share with