I’ve been using Raspberry Pis since their first release for various purposes (I still have all of them, and they still work with the latest OS even after a decade).

Image of an old Raspberry Pi Model B manufactured in 2011
An old Raspberry Pi Model B manufactured in 2011

Since 2014, I’ve been using them as a home entertainment system. In 2022, I’m using a Raspberry Pi 4 Model B 4 GB and LibreELEC as the operating system, and this post is all about showing how to set up your own home entertainment system with this hardware and software.

Image of a Raspberry Pi 4 Model B manufactured in 2018
A newer Raspberry Pi 4 Model 4B

Hardware Requirements

  • Raspberry Pi 4 (2GB should work, but 4GB+ recommended)
  • microSD card (4GB and above)
  • HDMI cable (HDMI to Micro HDMI or a regular HDMI cable and a Micro HDMI to HDMI Adapter) CableTV or monitor (with a built-in speaker or an audio port to connect to an external speaker)
  • Raspberry Pi USB-C power adapter
  • Remote control or keyboard/mouse
  • (Optional) Raspberry Pi case with cooling
  • (Optional) Ethernet cable

Software Requirements

Installation

Step 1: Download the latest LibreELEC release for Raspberry Pi

Go to the LibreELEC Raspberry Pi page and download the latest release

LibreELEC RAspberry Pi download page

Step 2: Extract the compressed archive

The downloaded file is a compressed archive. Extract the img file inside this by double-clicking on macOS. On Windows, you will need an external tool such as 7-zip.

LibreELEC downloaded .img.gz file and the extracted .img file

Step 3: Run balenaEtcher

balenaEtcher opening screen showing flashing options (file, URL, clone drive)

Click Flash from file

Navigate to the LibreELEC image and click Open.

balenaEtcher showing the Select target button highlighted

Click Select target, select your microSD card and click the Select button.

balenaEtcher showing the target selected

Finally, click the Flash! button.

balenaEtcher showing the Flash! button highlighted

The flashing process shouldn’t take too long (it depends on the size of the card and your computer performance)

balenaEtcher showing the flashing progress

Wait until you see the successful completion

balenaEtcher showing Flash Complete! message

Now you can remove the microSD card from your computer.

Step 4: Insert everything into Raspberry Pi and power it on.

Make sure you’ve plugged in

  • microSD card
  • HDMI cable
  • Remote control or keyboard

As listed on the hardware requirements, you should have a Micro HDMI to HDMI cable or an adapter:

On the left, HDMI to Micro HDMI cable. On the right, HDMI to Micro HDMI adapter.

I use a DroiX remote control:

DroiX remote control in its box

Step 5: Configure Kodi

You should now see LibreELEC booting and resizing the SD card.

LibreELEC boot screen - resizing the SD card

Wait until it reboots and comes back to the configuration screen.

LibreELEC welcome screen asking to select the language

A remote control is great for day-to-day use with Kodi, but for the initial setup, I’d recommend having a keyboard plugged in for faster typing.

Select your language and click Next.

On the next screen, focus on the hostname and press enter.

LibreELEC showing the default hostname

Give it a unique name so you can later identify it in your network.

Input screen for the new hostname

Select your network. I used a wired network for simplicity and performance. If you are using WiFi, select your network and enter your passphrase.

LibreELEC showing the selected and available networks

Accept the default for SSH and Samba settings. They are not needed to consume shared content. It’s a good practice to keep these settings off if you are not going to use them for security purposes.

LibreELEC showing SSH and Samba configuration screen

You should see the message for completion

LibreELEC showing the setup completion screen

Click the Next button to close the window, and now you have a working Kodi on your Raspberry Pi 4.

Kodi default screen

Conclusion

In this article, you learned how to install Kodi on Raspberry Pi 4.

You can now test your installation by plugging in a USB with some media on it. Also, you might want to backup your microSD card to an image file. This way, if your microSD card gets corrupted, you can flash your image to a new one and carry on without having to install it from scratch.

You will most likely want to access some shared content by a NAS or a file server over the network. There will be more articles about Kodi and its use as a media centre and home entertainment system. Stay tuned and enjoy your Kodi! See you at the next one!