Install Kodi on Raspberry Pi – Guide (Pi 4 & Pi 5)
Kodi turns the Raspberry Pi into a fully-featured media center – with access to streaming libraries, live TV via waipu.tv, local media collections, and streaming services. In this guide I’ll show you how to install Kodi 21 Omega on Raspberry Pi OS, enable hardware acceleration, and set up the most important add-ons.
sudo nor apt.
Hardware: What You Need
| Component | Recommendation | Note |
|---|---|---|
| Raspberry Pi | Raspberry Pi 5 (4 GB)* or Pi 4 (4 GB)* | Pi 5 noticeably smoother; Pi 4 sufficient for a pure media center |
| Power supply | Official Pi 5 power supply (27 W)* | Enough power for stable playback |
| HDMI cable | Micro-HDMI to HDMI (Pi 4/5)* | Pi 4 and Pi 5 have Micro-HDMI ports |
| SD card | SanDisk Extreme PRO 32 GB* | Min. 32 GB (Raspberry Pi’s recommendation for Raspberry Pi OS with desktop), fast card for smooth performance |
| Cooling | Official Active Cooler* | Pi 5 only, prevents throttling during long playback |
Install Kodi on Raspberry Pi OS
Kodi is part of the regular Raspberry Pi OS package sources, so there’s no PPA or third-party repository to add:
sudo apt update && sudo apt upgrade -y sudo apt install kodi
This installs Kodi 21.3 Omega, the current stable release from October 2025. Many older guides still use sudo apt install kodi21. That package only existed for the previous version of Raspberry Pi OS, and on the current system the command fails with “Unable to locate package kodi21”. Kodi 22 “Piers” isn’t finished yet (a release candidate as of October 2026). There’s a preview build in the kodi22 package, but for everyday use stick with kodi.
Start Kodi once to make sure everything works. Do this from a terminal on the desktop, since over SSH Kodi has no screen to draw on:
kodi
Enable Hardware Acceleration (DRM PRIME)
Without hardware acceleration, video decoding runs in software and unnecessarily loads the CPU. Raspberry Pi OS’s Kodi package already has DRM PRIME switched on out of the box. Here’s how to check:
- Open Kodi → Settings (gear icon)
- Player → Videos
- Click Standard at the bottom left until Advanced appears
- “Allow using DRM PRIME decoder” should be ON. If it isn’t, switch it on
Set Up Autostart
For permanent TV use, Kodi should start straight after booting, with no desktop and no login. A systemd service takes care of that. The desktop must not run at the same time, otherwise the two fight over the screen. So first switch the Pi to boot into the console:
sudo raspi-config
System Options → S5 Boot → B1 Console → Finish. You can skip this step on Raspberry Pi OS Lite.
Create the service file:
sudo nano /etc/systemd/system/kodi.service
Paste in the following and replace USERNAME (it appears twice) with your user name. Run whoami if you’re not sure. Raspberry Pi OS hasn’t had a default “pi” user since April 2022:
[Unit] Description=Kodi standalone After=remote-fs.target systemd-user-sessions.service network-online.target sound.target bluetooth.target Wants=network-online.target Conflicts=getty@tty1.service [Service] User=USERNAME Group=USERNAME PAMName=login TTYPath=/dev/tty1 ExecStart=/usr/bin/kodi-standalone --windowing=gbm ExecStop=/usr/bin/killall --exact --wait kodi.bin Restart=on-abort StandardInput=tty StandardOutput=journal [Install] WantedBy=multi-user.target
Save with Ctrl+O and Enter, then exit nano with Ctrl+X. Now enable the service and reboot:
sudo systemctl enable kodi sudo reboot
From now on Kodi starts automatically after every boot and goes straight into the full-screen interface. If Kodi doesn’t start, log in over SSH and run sudo systemctl status kodi or sudo journalctl -u kodi -b to see what’s wrong. The usual culprit is a wrong user name in User= or Group=. To get the desktop back, run sudo systemctl disable kodi and pick B2 Desktop in raspi-config.
Older templates end with Alias=display-manager.service instead of WantedBy=multi-user.target. On Raspberry Pi OS with desktop, systemctl enable then fails with “already exists”, because the login screen already owns that name.
Control Kodi with Your TV Remote (HDMI-CEC)
If your TV supports HDMI-CEC, you don’t need a separate remote: Kodi on the Raspberry Pi comes with CEC support, so the arrow keys on your TV remote drive the interface directly. Manufacturers give the feature their own names, such as Anynet+ (Samsung), SimpLink (LG) or Bravia Sync (Sony), so switch it on in your TV’s menu first. In Kodi, the options live under Settings → System → Input → Peripherals. That’s where you can decide, for example, whether the TV switches on when Kodi starts.
Set Up Add-ons
waipu.tv – Live TV Without a Cable Connection
waipu.tv is the easiest way to get live TV on the Pi. Instead of a DVB stick or a cable connection, all you need is an internet connection. On Raspberry Pi OS, though, you won’t find the PVR client in Kodi’s add-on browser. On Linux, PVR clients and other binary add-ons come as apt packages instead. Close Kodi and install the client together with InputStream Adaptive, which handles playback:
sudo apt install kodi-pvr-waipu kodi-inputstream-adaptive
- Start Kodi → Add-ons → My add-ons → PVR clients → waipu.tv PVR Client → Enable
- Configure → set Provider to Waipu.tv (Device Login)
- Kodi shows a code. Open the address shown next to it on your phone or computer, sign in to waipu.tv and enter the code
- Restart Kodi → your channels appear under TV
Some channels are encrypted and need the Widevine module. If a few channels stay black, go to the add-on’s settings and run “(Re)install Widevine CDM library…”.
Outside Germany? waipu.tv is a German service: you need a German address to sign up, and it only works temporarily in other EU countries, for example on holiday. A free alternative is Pluto TV, whose PVR client is in Raspberry Pi’s own package archive: sudo apt install kodi-pvr-plutotv. Then enable it under My add-ons → PVR clients just like above. No account needed.
ARD/ZDF Media Library
The ARDundZDF add-on covers ARD, ZDF, 3sat, Arte, funk, KIKA and more – with live TV, recordings, and podcasts. It is installed via the Kodinerds repository:
- Kodi → Settings → System → Add-ons → turn on Unknown sources and confirm the warning. Without it, Kodi won’t install anything from a ZIP file
- Download the Kodinerds repository ZIP (
repository.kodinerds-….zip) from repo.kodinerds.net - Kodi → Add-ons → package icon → Install from zip file → pick the ZIP you downloaded
- Then: Install from repository → Kodinerds Addon Repo → Video add-ons → ARDundZDF → Install
Netflix, Disney+ and Other Streaming Services
There’s no official Kodi add-on for Netflix, Prime Video or Disney+. The well-known Netflix add-on (by CastagnaIT) comes from a third-party repository, it’s no longer developed, and according to its developers playback is limited to SD when it works at all. For Netflix, use a browser on Raspberry Pi OS instead, ideally Firefox or Google Chrome. Firefox comes preinstalled on Raspberry Pi OS with desktop; all you have to do is turn on DRM playback in its settings. There’s no need to install a separate Widevine package.
Keep your expectations in check, though: Netflix streams at up to Full HD on Linux, and users report that Prime Video only plays in SD in a browser. A Pi 5 is the better choice here: according to Raspberry Pi, it’s two to three times faster than a Pi 4 at CPU-heavy work. The browser also needs the desktop, whereas the Kodi autostart above boots the Pi to the console. Our Raspberry Pi as Smart TV guide shows how to set up Firefox and Chrome and launch the browser full screen.
Kodi vs. LibreELEC – Quick Comparison
| Criterion | Kodi on Pi OS | LibreELEC |
|---|---|---|
| Setup | More configuration needed | Simpler, boots straight into Kodi |
| Boot time | Longer (full OS) | Very fast |
| Resources | Higher overhead | Minimal, optimized |
| Other software | Full Linux access | Kodi only |
| Kodi version | Kodi 21.3 via apt | Kodi 21.3 (LibreELEC 12.2.1) |
| Recommendation | Pi with multiple tasks | Dedicated media center Pi |
On Raspberry Pi OS, sudo apt install kodi gives you Kodi 21.3 Omega, the current stable release from October 2025. LibreELEC 12.2.1 ships with Kodi 21.3 as well. Kodi 22 is still in testing.
Yes. Kodi runs very smoothly on the Pi 5. Important: the Pi 5 has no hardware decoder for H.264 – it runs in software, but handles 1080p without issues. HEVC/H.265 up to 4K is hardware-accelerated via DRM PRIME.
LibreELEC boots directly into Kodi and uses fewer resources – ideal for a dedicated media center Pi. Kodi on Pi OS makes sense when the Pi needs to handle multiple tasks (e.g. also acting as a server). For a pure media center: LibreELEC.
Not reliably. The unofficial Netflix add-on by CastagnaIT is no longer developed, and according to its developers playback is limited to SD when it works at all. For Netflix, use a browser on Raspberry Pi OS instead, ideally Firefox or Google Chrome, which gets you up to Full HD on Linux.
Via a systemd service using kodi-standalone. After setup, Kodi starts directly after booting without a desktop – ideal for permanent TV use. The exact steps are in the ‘Set Up Autostart’ section above.
Conclusion
Kodi 21 Omega runs smoothly on both the Raspberry Pi 4 and Pi 5, and DRM PRIME hardware decoding handles HEVC/H.265 up to 4K. A single apt command installs it, and a systemd service turns the Pi into a TV box that boots straight into Kodi. Add waipu.tv or Pluto TV as a PVR add-on and you’ve got live TV without a DVB stick. For a dedicated media center Pi, though, I’d still go with LibreELEC: it boots faster, uses fewer resources and needs less setup. Kodi on Raspberry Pi OS pays off when the Pi has other jobs to do as well.
