Install and Play Games on Raspberry Pi
Learn how to find, install, launch, and quit Raspberry Pi games using the desktop software catalog or APT in the terminal.
Raspberry Pi can run many types of games, including small terminal games, desktop games, and software distributed through a graphical application catalog. This lesson uses Raspberry Pi OS, which older instructions may call Raspbian.
Game availability depends on your Raspberry Pi model, operating system release, configured software repositories, graphics support, and whether a particular game is still maintained. A game that appears on one Raspberry Pi installation might not appear on another.
Ways to Install Raspberry Pi Games
A package is a distributable unit of software and related metadata. A repository is a configured software source containing packages that APT can find and install. APT is the Debian-family package-management tool used by Raspberry Pi OS to obtain, install, update, and remove packages.
Find Games in the Graphical Software Catalog
Open the software catalog
- Start the Raspberry Pi desktop.
- Open the desktop application menu.
- Look for the installed software-management application or graphical software catalog. Its name and location can vary between Raspberry Pi OS releases.
- Open the catalog and wait for its listings to load.
Some older Raspberry Pi instructions refer to this type of application as the Pi Store. If that menu entry is not present, use the software-management application supplied with your current desktop environment, or use APT from a terminal.
Browse the Games category
- Open the Games category, if the catalog provides categories.
- Use the search box when you already know a game title or type of game.
- Filter or sort the results by options such as popularity, cost, or user rating when those controls are available.
Catalog features differ by application and operating system release. You might see free and paid software, ratings, screenshots, descriptions, or compatibility information. Do not assume that every listing works equally well on every Raspberry Pi model.
Review and install a game
- Select a game listing to open its details.
- Read the description to understand the game's purpose and controls.
- Check compatibility information, system requirements, price, and user ratings.
- Choose the install button or equivalent action.
- Authenticate if the catalog requests administrator permission, then wait for the download and installation to finish.
- Open the desktop application menu and look in the Games category or the category shown by the catalog.
- Select the newly installed game to launch it.
If the game does not appear immediately, close and reopen the application menu. Some graphical games use a different category or provide a launcher with a name that differs slightly from the package or listing name.
Install Games from the Terminal with APT
Understand administrator privileges
A terminal is a text-based interface for running commands. Installing system packages changes protected parts of the operating system, so the command normally requires administrator privileges.
sudo is a command prefix that runs an authorized command with administrator privileges. When prompted, enter the password for an account that is allowed to use sudo. The password may not appear on screen while you type.
Update package information
Before installing software, refresh the local list of packages and versions available from your configured repositories:
sudo apt updateThis command refreshes package information; it does not normally install operating-system upgrades. Wait until it finishes. Read any errors about network access, repository sources, or signatures before continuing.
Install atris
atris is a Tetris-style game package. Install it with:
sudo apt-get install atrisAPT may display the packages it will install and ask you to confirm. Type Y when prompted, if the proposed installation is correct. Wait until APT finishes downloading, unpacking, and configuring the package. A successful installation normally ends without an error and returns you to the shell prompt.
Launch and Quit atris
Many command-line applications can be started by entering their executable name in a terminal. After installing atris, run:
atrisThe game should open in the terminal or in its own window, depending on the package and desktop environment. While atris is running, press Q to quit.
Controls and exit methods differ between games. Check the game's help screen, start screen, manual, or package documentation instead of assuming that Q will work for another title.
Discover More Games with APT
Search the configured repositories for packages whose names or descriptions contain the word game:
apt search gameReview the results carefully. Read package descriptions to identify the type of game, display requirements, input method, and any required dependencies. A package name is not always the same as the command used to launch the application.
- Run the search command.
- Choose a package whose description matches your needs.
- Read its package information or documentation when available.
- Install it with APT, using
sudowhen system privileges are required. - Use the documented launcher command or find the new entry in the desktop application menu.
Repository-provided games are managed through the operating system's package system. External game downloads may use different installers, file formats, dependencies, and update procedures. Before installing external software, verify its source and understand what the installer will change. Prefer trusted sources and avoid running commands you do not understand with sudo.
Troubleshooting
The Pi Store entry is missing
The current Raspberry Pi OS release may use a different graphical software-management application, or the installed desktop image may not include one. Open the software application that is available in the desktop menu. If no graphical catalog is available, search and install games with APT in a terminal.
APT cannot find atris
- Refresh package information with
sudo apt updateand try again. - Confirm that the Raspberry Pi has internet access.
- Check that the configured package sources are correct for your Raspberry Pi OS release.
- The package may not be available for your release or enabled repositories. Search for alternative games with
apt search game.
Installation fails because of permissions
Run the installation command with sudo. If the account is not authorized to use sudo, sign in with an administrator-authorized account or ask the device administrator to install the package.
The game command does not launch
- The executable name may differ from the package name. Check the package description or documentation.
- The installation may not have completed successfully. Review the APT output and retry if necessary.
- The game may be graphical and intended to start from the desktop application menu rather than the terminal.
The game is slow or does not support the device
The game might require more CPU performance, graphics capability, memory, or storage than your Raspberry Pi provides. Check its hardware and operating-system requirements, try a lower-demand game, or reduce graphics settings when the game supports that option. Keeping Raspberry Pi OS and trusted dependencies up to date can also resolve missing-driver or compatibility problems.
Exam-Relevant Notes
- Raspberry Pi OS is the current name of the commonly used Raspberry Pi operating system; Raspbian is its former name.
- A graphical software catalog discovers applications through categories, search, and listing details.
- APT obtains packages from configured repositories.
sudorequests administrator privileges for commands such as package installation.- The usual APT workflow is to refresh package lists with
sudo apt update, then install a package. - The example installation command is
sudo apt-get install atris, the launch command isatris, and the atris quit key isQ. - Package availability varies with the Raspberry Pi model, OS release, repository configuration, and package maintenance status.
For related administration skills, see Update Raspbian, Raspbian Repository, and Install Applications from the Pi Store.