Gaming on Alpine: Difference between revisions

From Alpine Linux
(Replace dosbox by dosbox-staging)
(Add more games)
Line 39: Line 39:
* [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-staging.org/ DOSBox Staging] ({{Pkg|dosbox-staging}}) - DOS-emulator that uses SDL.
* [https://www.dosbox-staging.org/ DOSBox Staging] ({{Pkg|dosbox-staging}}) - DOS-emulator that uses SDL.
* [https://freeciv.fandom.com Freeciv] ({{Pkg|freeciv}}) - Free and Open Source empire-building strategy game.
* [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.
* [https://freedoom.github.io/ Freedoom]+[https://www.chocolate-doom.org/ Chocolate Doom] - ({{Pkg|freedoom}}, {{Pkg|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 [https://zdoom.org GZDoom] - {{Pkg|gzdoom}} (or the legacy version {{Pkg|lzdoom}}).
* [https://freedoom.github.io/ Freedoom]+[https://www.chocolate-doom.org/ Chocolate Doom] - ({{Pkg|freedoom}}, {{Pkg|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 [https://zdoom.org GZDoom] - {{Pkg|gzdoom}} (or the legacy version {{Pkg|lzdoom}}).
* [https://gcompris.net GCompris] ({{Pkg|gcompris-qt}}) - Educational software suite comprising of numerous activities for children aged 2 to 10.
* [https://en.wikipedia.org/wiki/GNU_Chess GNU Chess] ({{Pkg|gnuchess}}) - Play chess against the computer.
* [https://en.wikipedia.org/wiki/GNU_Chess GNU Chess] ({{Pkg|gnuchess}}) - Play chess against the computer.
* [https://lgames.sourceforge.io/LBreakout2 LBreakout2] ({{Pkg|lbreakout2}}) - Ball-and-paddle game.
* [https://lgames.sourceforge.io/LBreakout2 LBreakout2] ({{Pkg|lbreakout2}}) - Ball-and-paddle game.
Line 52: Line 54:
* [https://en.wikipedia.org/wiki/OpenTTD OpenTTD] ({{Pkg|openttd}}) - A business simulation game.
* [https://en.wikipedia.org/wiki/OpenTTD OpenTTD] ({{Pkg|openttd}}) - A business simulation game.
* [https://www.retroarch.com RetroArch] ({{Pkg|retroarch}}) - Frontend for emulators, game engines, and media players using libretro.
* [https://www.retroarch.com RetroArch] ({{Pkg|retroarch}}) - Frontend for emulators, game engines, and media players using libretro.
* [https://www.scummvm.org/ ScummVM] ({{Pkg|scummvm}}) - Engine for several graphical adventure games.
* [https://www.supertux.org/ SuperTux] ({{Pkg|supertux}}) - Classic 2D jump'n'run side-scroller game in a style similar to the original Super Mario games.
* [https://www.supertux.org/ SuperTux] ({{Pkg|supertux}}) - Classic 2D jump'n'run side-scroller game in a style similar to the original Super Mario games.
* [https://supertuxkart.net/Main_Page SuperTuxKart] - Kart racing game with OSS mascots.
* [https://supertuxkart.net/Main_Page SuperTuxKart] - Kart racing game with OSS mascots.

Revision as of 22:33, 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