How to install RetroPie on Raspberry Pi 5: Complete Guide

Last update: 23/11/2026
Author Isaac
  • There are two main methods for implementing the system: as an application on top of the official OS or as a standalone boot image.
  • The Raspberry Pi 5 requires specific adjustments to the kernel and memory for emulators like the Nintendo 64 emulator to function correctly.
  • The ecosystem is based on RetroArch and EmulationStation, allowing the management of multiple cores and game controllers.

Overhead view of two retro video game controllers against a dark and minimalist background, evoking nostalgia for 8 and 16 bit consoles.

If you own a Raspberry Pi, you know it's essentially an electronic Swiss Army knife. From setting up a home theater server to managing your living room's smart home system, the possibilities are endless, but there's one thing you absolutely can't do without: turn it into a true retro gaming machine . To achieve this, RetroPie stands out as the most robust and professional option, allowing you to revisit thousands of classic titles in a modern and versatile format.

Despite claims from some that the project is stagnant, the reality is that RetroPie is constantly evolving thanks to a vibrant community and its developers. Although 64-bit support has been primarily driven by users, it's now integrated into the official repository, ensuring that the powerful hardware of the Raspberry Pi 5 can be fully utilized for a smooth gaming experience.

Materials needed to get started

Before we delve into the software, we need to make sure the hardware is up to the task. Ideally, you'll have a Raspberry Pi 4 or the newer 5, as older versions can struggle with demanding games. A critical factor is the power supply ; don't use just any old mobile phone charger, look for one of at least 15W (5V and 3A) to prevent the system from restarting mid-game due to insufficient power.

As for storage, don't skimp on the quality of the microSD card. It should have at least 8 GB of capacity and, above all, fast read and write speeds so the menus don't lag. To complete the kit, you'll need an HDMI cable, a compatible controller, a keyboard and mouse for the initial setup, and preferably an Ethernet connection for smooth emulator downloads.

  How to activate Explorer and system compact mode on small screens

Two people enjoying a retro gaming session at home using classic controllers, representing the ultimate goal of the RetroPie installation.

Method 1: Installation as a dedicated operating system

If you want your Raspberry Pi to be exclusively a game console, the best option is to install RetroPie as a bootable image. To do this, go to the official website and download the version compatible with Raspberry Pi 4/400, which is the one that works correctly on the Raspberry Pi 5. The file will be compressed in .gz format, so you'll need to use tools like WinRAR to extract the .img image.

To write this image to the SD card, you can use programs like Rufus or BalenaEtcher. If you choose Rufus, run it as administrator, select your Micro-SD card, and choose the downloaded image file. Keep in mind that this process will erase all the contents of the card . Once the writing is complete, insert the card into the console, and when you turn it on, you will enter the game environment directly.

Close-up of a hand inserting a microSD card into a laptop, illustrating the process of engraving the RetroPie image.

Method 2: Installation as an application on Raspberry Pi OS

If you prefer to continue using your device for other tasks, such as a server or media center, you can install RetroPie like any other application. First, install Raspberry Pi OS using the Raspberry Pi Imager tool, configuring your user and Wi-Fi settings. Once inside the system, open the terminal and updates all packages with the command sudo apt update && sudo apt upgrade.

To bring RetroPie to your system, first install the basic tools with sudo apt install git lsb-releaseNext, clone the official repository using git clone --depth=1 https://github.com/RetroPie/Retropie-Setup.gitEnter the created folder, and give the script execution permissions with chmod +x retropie_setup.sh and throw it with sudo ./retropie_setup.shIn the wizard, choose the Basic Install option to install the kernel and essential packages.

Interface and emulator configuration

Once installed, you'll find EmulationStation, the graphical menu where you manage your games . Within this environment, the 'retropiemenu' section is essential for configuring the system without writing code, while 'runcommand' is responsible for launching the emulators. To avoid always relying on the keyboard, we recommend installing joy2key, which allows you to navigate the menus using a gamepad.

  Cognitive autonomy with technology: how to use AI without losing your mind

To play, you need to install the RetroArch "cores". These are always identified by starting with the prefix lr-For example, to play NES you need to search lr-fceummAnd for PlayStation, the indicated core is lr-pcsx-rearmedIf you want the console to boot directly into the game interface when you turn it on, you must enable the EmulationStation auto-start option in the settings.

Close-up of a classic Super Nintendo controller with a blurred screen in the background, ideal for the controller configuration section.

Solving the Nintendo 64 problem on Raspberry Pi 5

The N64 emulator (lr-mupen64plus-next) often causes problems on the Raspberry Pi 5 because it requires 4KB memory pages, and the default kernel doesn't support that. First, you need to run a command in the terminal to clear the default configurations designed for older Raspberry Pi models and avoid conflicts.

The final and most decisive step is change system kernel through a series of specific commands that adjust memory management. Without this step, it's very likely that N64 games won't start or will close on their own. Once this adjustment is made, restart the machine and you'll be able to load your ROMs into the folder ~/RetroPie/romsorganizing them into the subfolders corresponding to each console.

Other interesting alternatives

While RetroPie is the standard, there are other options that might appeal to you if you're looking for something different. Batocera is an excellent and very user-friendly choice, notable for its ease of installation and support for multiple platforms, not just Raspberry Pi. On the other hand, RecalBox is very comprehensive and includes Kodi to turn your console into a media center.

If you're looking for something extremely lightweight, especially for models like the Raspberry Pi Zero, Lakka is the ideal choice since it's essentially a pure implementation of RetroArch with a very clean interface. Depending on whether you value power, ease of use, or lightweight design more, you can switch between these systems to find the one that best suits your gaming style.

  Fitness with Spotify to follow routines: a complete guide to getting the most out of it

Setting up a retro gaming station on the Raspberry Pi 5 is an exciting process that transforms a small circuit board into a powerful console. Whether you install it as a standalone system or as an application, the key is to properly configure the N64 kernel and ensure a stable power supply to avoid crashes. With RetroArch's kernel management and EmulationStation's interface, you have everything you need to relive your childhood classics with optimized performance.

FAQ

Can RetroPie and other applications be used simultaneously on the Raspberry Pi 5?

Yes, to do this you must install RetroPie as an application on top of the Raspberry Pi OS operating system instead of using the dedicated boot image.

What power supply is recommended to avoid console errors?

It is advisable to use a power adapter of at least 15W, specifically 5 volts and 3 amps, to ensure that the hardware works without interruption.

Why don't Nintendo 64 games work immediately after installation?

The N64 kernel requires the Raspberry Pi 5 kernel to manage 4KB memory pages, which necessitates a manual kernel change and the removal of old configurations.

How do I install emulators within RetroPie?

This is done through the kernels section of RetroArch, by searching for packages that begin with the prefix lr-, such as lr-fceumm for the NES.

Where should the game or ROM files be placed?

The games must be copied to the ~/RetroPie/roms directory, placing each file in the folder that bears the name of the corresponding console.

What is the difference between RetroPie, Batocera, and RecalBox?

RetroPie is more versatile and professional, Batocera is more user-friendly and up-to-date, while RecalBox integrates multimedia functions like Kodi.

Isaac

Isaac

Passionate writer about the world of bytes and technology in general. I love sharing my knowledge through writing, and that's what I'll do on this blog, show you all the most interesting things about gadgets, software, hardware, tech trends, and more. My goal is to help you navigate the digital world in a simple and entertaining way.