Gaming on Alpine
It is possible to game on Alpine Linux.
Installing Games
Like with installing any other package, run the following:
# apk add [game]
Where [game]
is the name of the package containing the game, like micro-tetris
.
Steam
Wine
wine allows you to run some Windows software, including games, under Linux. A 32-bit Alpine chroot/multiboot might be required to use 32 bit Windows games under Wine. If you use x86_64, you can only run 64 bit Windows programs.
To run windows app/games inside a docker container with alpine Linux, libcap is required to fix issues related to raw sockets
RUN apk add --no-cache libcap RUN setcap cap_net_raw+epi /usr/bin/wine-preloader
Permissions
To make sure your account is in the "games" group, run the following:
# adduser youruser games
Log-off and then log back on in order for the changes to take effect. Most games don't require this in order to work.
List of games
Below is the list of games packages available in Alpine Linux:
- AdvanceMAME (advancemame) - Arcade simulator.
- Aisleriot (aisleriot) - Solitaire card games.
- DOSBox (dosbox) - DOS-emulator that uses SDL.
- Frotz (frotz) - Z machine (Infocom interactive fiction) Interpreter.
- FlightGear (flightgear) - Flight simulator.
- Freedoom+Chocolate Doom - (freedoom, chocolate-doom) -- a free Doom game and an engine to run it. For a more modern game engine resembling modern FPSes compatible with Doom WADs, try GZDoom - gzdoom (or the legacy version lzdoom).
- GNU Chess (gnuchess) - Play chess against the computer.
- LBreakout2 (lbreakout2) - Ball-and-paddle game.
- LBreakoutHD (lbreakouthd) - The successor to LBreakout2. Note: no level editor available. lbreakout2 is needed for level creation.
- LPairs (lpairs2) - Classical memory game.
- Micro Tetris (micro-tetris) - A version of Tetris that uses ANSI escape sequences and can fit in embedded devices.
- Minetest (minetest) - An inspired Minecraft game.
- NetHack - Rogue-like dungeon crawler.
- OpenRCT2 - A free and open-source reimplementation of RollerCoaster Tycoon 2 but requires original RollerCoaster Tycoon 2 assets.
- OpenTTD (openttd) - A business simulation game.
- RetroArch (retroarch) - Frontend for emulators, game engines, and media players using libretro.
- SuperTux (supertux) - Classic 2D jump'n'run side-scroller game in a style similar to the original Super Mario games.
- SuperTuxKart - Kart racing game with OSS mascots.
- Xonotic (xonotic) - A free and open-source FPS.
See Also
- Steam on Alpine Linux
- Wine FAQ
- OBS Studio (obs-studio) - Used by live streamers on streaming platforms such as YouTube and Twitch.
- How to Install Wine on Alpine Linux 3