Gaming on Alpine: Difference between revisions

From Alpine Linux
(Update note on 32-bit apps on 64-bit wine)
(Replace dosbox by dosbox-staging)
Line 38: Line 38:
* [https://www.advancemame.it/ AdvanceMAME] ({{Pkg|advancemame}}) - Arcade simulator.
* [https://www.advancemame.it/ AdvanceMAME] ({{Pkg|advancemame}}) - Arcade simulator.
* [https://wiki.gnome.org/Apps/Aisleriot Aisleriot] ({{Pkg|aisleriot}}) - Solitaire card games.
* [https://wiki.gnome.org/Apps/Aisleriot Aisleriot] ({{Pkg|aisleriot}}) - Solitaire card games.
* [https://www.dosbox.com/ DOSBox] ({{Pkg|dosbox}}) - DOS-emulator that uses SDL.
* [https://www.dosbox-staging.org/ DOSBox Staging] ({{Pkg|dosbox-staging}}) - DOS-emulator that uses SDL.
* [https://frotz.sourceforge.net/ Frotz] ({{Pkg|frotz}}) - Z machine (Infocom interactive fiction) Interpreter.
* [https://frotz.sourceforge.net/ Frotz] ({{Pkg|frotz}}) - Z machine (Infocom interactive fiction) Interpreter.
* [https://home.flightgear.org FlightGear] ({{Pkg|flightgear}}) - Flight simulator.
* [https://home.flightgear.org FlightGear] ({{Pkg|flightgear}}) - Flight simulator.

Revision as of 22:26, 22 February 2025

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, 32-bit applications will run in Wine's experimental WoW64 mode, which may not be compatible with all software.

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:

See Also