Looking to turn your Raspberry Pi into a sleek media center? In 2026, Kodi (formerly XBMC) remains the go‑to solution for streaming movies, TV, music, and more. This guide walks you through the latest, hassle‑free installation on modern Pi hardware.

What You’ll Need
- Raspberry Pi 4 (4 GB) or newer — Pi 5 is even better for 4K HDR.
- ≥16 GB Class 10 microSD card (or a USB‑SSD for top performance).
- Power supply: 5 V 3 A USB‑C (Pi 4) or 5 V 3 A USB‑C (Pi 5).
- HDMI cable (4K‑compatible) & a reliable internet connection.
- Keyboard & mouse for initial setup (optional after first boot).
- Optional: CEC‑compatible TV for remote control.
Choose a Kodi‑Ready Distribution
Three dedicated OSes bundle Kodi out‑of‑the‑box. Choose the one that matches your workflow:
- LibreELEC — lightweight, auto‑updates, and the most stable for Pi 4/5.
- OSMC — Ubuntu‑based, offers a desktop environment if you want a full Linux box.
- LibreELEC‑Kodi 20 (Nexus) / 21 (Omega) — the newest Kodi releases with hardware‑accelerated HEVC.
Why LibreELEC in 2026?
LibreELEC continues to lead with fast boot times, built‑in support for Pi 4/5 GPU acceleration, and a streamlined web‑UI for updates. It also ships with the latest Kodi 20 (Nexus) and optional Kodi 21 (Omega) packages.
Step‑by‑Step Installation
- Download the image — go to LibreELEC downloads and select the Raspberry Pi 4/5 64‑bit image (latest version, e.g., 10.0.0).
- Flash the media — use Balena Etcher (available for Windows, macOS, Linux) to write the image to your microSD or USB‑SSD.
- Insert & power up — plug the card into the Pi, connect HDMI, Ethernet (or Wi‑Fi), and power it on.
- First‑boot wizard — LibreELEC will auto‑expand the filesystem and prompt you to set language, time zone, and network.
- Enable CEC (optional) — go to Settings → System → Input → Enable HDMI‑CEC to control Kodi with your TV remote.
- Update Kodi — from the LibreELEC web UI (http://libreelec.local), navigate to System → Updates and install the latest Kodi 20/21 package.
Post‑Installation Tweaks
- Performance — set
gpu_mem=256in/flash/config.txtfor 4K playback. - Backup — after customizing add‑ons and skins, back up the
/storage/.kodifolder usingrsyncor the “Backup” add‑on. - Network shares — add SMB/NFS sources under Videos → Files → Add source for your media library.
- Power management — enable System → Power saving → Shutdown timer to automatically turn off the Pi when idle.
Common Issues & Solutions
| Issue | Cause | Fix |
|---|---|---|
| No video output (black screen) | Incorrect HDMI mode or insufficient power. | Force HDMI mode in /flash/config.txt with hdmi_force_hotplug=1 and use a 3 A power supply. |
| HEVC playback stalls | Out‑dated GPU driver. | Update LibreELEC to the latest build or switch to Kodi 21 (Omega) which includes newer drivers. |
| Remote control not working | CEC not enabled or TV doesn’t support CEC. | Verify CEC support in TV spec and enable it in Kodi settings. |
FAQ
{ "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [ {"@type": "Question", "name": "Can I use Raspberry Pi 5 with Kodi?", "acceptedAnswer": {"@type": "Answer", "text": "Yes – LibreELEC and OSMC both provide builds for Pi 5 with full 4K HDR support and hardware-accelerated HEVC decoding."}}, {"@type": "Question", "name": "Do I still need to install XBMC separately?", "acceptedAnswer": {"@type": "Answer", "text": "No. Kodi is the successor to XBMC and is bundled with LibreELEC/OSMC. Install the OS and Kodi is ready to use out of the box."}}, {"@type": "Question", "name": "What’s the best storage for smooth 4K playback?", "acceptedAnswer": {"@type": "Answer", "text": "A USB-SSD (or a high-speed UHS-III microSD) provides the fastest read speeds and eliminates stutters during 4K streaming."}}, {"@type": "Question", "name": "How can I back up my Kodi configuration?", "acceptedAnswer": {"@type": "Answer", "text": "Copy the /storage/.kodi folder to another drive or use the built-in Kodi ‘Backup’ add-on to create a restore point."}}, {"@type": "Question", "name": "Is a wired Ethernet connection necessary?", "acceptedAnswer": {"@type": "Answer", "text": "While Wi‑Fi works, a wired Ethernet connection ensures stable bandwidth for high‑bitrate 4K streams, especially for large libraries."}} ] }
With these steps you’ll have a modern, future‑proof Kodi media center on your Raspberry Pi, ready for 4K streaming, add‑ons, and all the latest features.
