Gaming on Alpine: Difference between revisions

From Alpine Linux
(Added category:Gaming and links to other articles)
m (→‎See also: 'obs-studio' syntax restored.)
 
(14 intermediate revisions by 7 users not shown)
Line 1: Line 1:
It is possible to game on Alpine Linux.
This page documents the various game-related packages that are available in Alpine Linux and lists alternative ways to game. If you are interested in developing games on Alpine Linux, visit [[Game development on Alpine Linux]].


== Installing Games ==
== Installing Games ==


Like with installing any other package, run the following:
As when installing any other package, run the following:


{{Cmd|# apk add [game]}}
{{Cmd|$ doas apk add <var>game</var>}}


Where <code>[game]</code> is the name of the package containing the game, like <code>micro-tetris</code>.
Where <var>game</var> is the name of the package containing the game, such as {{Pkg|micro-tetris}} from among the [[#List of games|available games]].


== Steam ==
== Steam ==
{{Main|Steam}}
{{Main|Steam}}
Steam, a popular game distribution platform by Valve, can be run on Alpine Linux as a [[Flatpak]] or as this [https://github.com/ivan-hc/Steam-appimage AppImage].


== Wine ==
== Wine ==


{{Pkg|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.
{{Pkg|wine}} enables a variety of Windows software to be run, including games, under Linux. If one is using x86_64 architecture, then 32-bit applications will run in Wine's ''WoW64'' mode, which may not be compatible with all software.


To run windows app/games inside a [https://www.reddit.com/r/linux4noobs/comments/1fegh0i/winealpine/ docker container] with alpine Linux, {{pkg|libcap}} is required to fix issues related to [https://gitlab.winehq.org/wine/wine/-/wikis/FAQ#failed-to-use-icmp-network-ping-this-requires-special-permissions raw sockets]
=== Wine inside docker ===
 
To run windows app/games inside a [https://www.reddit.com/r/linux4noobs/comments/1fegh0i/winealpine/ docker container] on Alpine Linux, {{pkg|libcap}} is required in order to fix issues related to [https://gitlab.winehq.org/wine/wine/-/wikis/FAQ#failed-to-use-icmp-network-ping-this-requires-special-permissions raw sockets].


<Pre>
<Pre>
Line 23: Line 26:
</Pre>
</Pre>


== Permissions ==
To make sure that your user's account (<var>youruser</var>) is in the ''"games"'' group, first check whether the group is listed in <var>youruser</var>'s groups listing:


== Permissions ==
{{Cmd|$ id <var>youruser</var>}}


To make sure your account is in the "games" group, run the following:
If ''"games"'' does not appear in the listing, then add the group to the user by executing the following:


{{Cmd|# adduser youruser games}}
{{Cmd|$ doas adduser <var>youruser</var> 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.
Log-off and then log back on in order for the changes to take effect. Most games do not require this in order to work.


== List of games ==
== List of games ==


Below is the list of games packages available in Alpine Linux:
Below is a list of game packages that are available on Alpine Linux:-
{|class="wikitable" align="center" style="width:100%; border:1px #0771a6 solid; background:#f9f9f9; text-align:left; border-collapse:collapse;"
|- style="background:#333333; color:#ffffff; font-size: 0.9em; text-align:center;"
| width="20%" |Game
|width="20%" | Package name
|| Description
|-
| [https://www.advancemame.it/ AdvanceMAME] || {{Pkg|advancemame}} || Arcade simulator.
|-
| [https://gitlab.gnome.org/GNOME/aisleriot Aisleriot] || {{Pkg|aisleriot}} || Solitaire card games.
|-
| [https://bsd-games.sourceforge.io/ bsd-games] || {{Pkg|bsd-games}} || Traditional text mode games from BSD.
|-
|[https://www.chocolate-doom.org/wiki/index.php/Chocolate_Doom Chocolate Doom] || {{Pkg|chocolate-doom}} || Portable release of Doom, Heretic, Hexen, and Strife.
|-
| [https://www.dosbox-staging.org/ DOSBox Staging] || {{Pkg|dosbox-staging}} || DOS-emulator that uses SDL.
|-
| [http://juzzlin.github.io/DustRacing2D/ Dust Racing 2D (dustrac)] || {{Pkg|dustracing2d}} || Traditional top-down car racing game including a level editor.
|-
| [http://www.flarerpg.org/ Flare (game)] || {{Pkg|flare-game}} || Fantasy action RPG using the FLARE engine (not to be confused with {{Pkg|flare}}, the unofficial Signal GTK client).
|-
| [https://www.flightgear.org/ FlightGear]|| {{Pkg|flightgear}} || Flight simulator.
|-
| [https://www.freeciv.org Freeciv]|| {{Pkg|freeciv}} || Free and Open Source empire-building strategy game.
|-
|[https://freedoom.github.io/ Freedoom]|| {{Pkg|freedoom}} || an entirely free software game running on a Doom engine.
|-
| [https://davidgriffith.gitlab.io/frotz/ Frotz] || {{Pkg|frotz}} || Z machine (Infocom interactive fiction) Interpreter.
|-
| [https://gcompris.net/index-en.html GCompris] || {{Pkg|gcompris-qt}} || Educational software suite comprising of numerous activities for children aged 2 to 10.
|-
| [https://www.gnu.org/software/chess/ GNU Chess]|| {{Pkg|gnuchess}} || Play chess against the computer.
|-
|[https://zdoom.org/index GZDoom] || {{Pkg|gzdoom}} || Modern game engine resembling modern FPSes compatible with Doom WADs
|-
| [https://gitlab.gnome.org/World/highscore Highscore] || {{Pkg|highscore}} || A 'rewrite' of Highscore, formerly known as gnome-games.
|-
| [https://apps.kde.org/kpat/ KPat (KPatience)] || {{Pkg|kpat}} || A selection of solitaire card games packaged by KDE.
|-
| [https://lgames.sourceforge.io/LBreakout2/ LBreakout2]|| {{Pkg|lbreakout2}} || Ball-and-paddle game.
|-
| [https://lgames.sourceforge.io/LBreakoutHD LBreakoutHD] || {{Pkg|lbreakouthd}} || {{Note|No level editor available.}}
The successor to LBreakout2.
{{Pkg|lbreakout2}} is needed for level creation.
|-
| [https://lgames.sourceforge.io/LPairs LPairs]|| {{Pkg|lpairs2}} || Classical memory game.
|-
| [https://www.luanti.org/ Luanti] || {{Pkg|luanti}} || An open source voxel game engine.
|-
| [https://github.com/troglobit/tetris Micro Tetris] || {{Pkg|micro-tetris}} || A version of Tetris that uses ANSI escape sequences and can fit in embedded devices.
|-
| [https://www.nethack.org NetHack] || {{Pkg|nethack}} || A single player Rogue-like dungeon crawler or dungeon exploration game.
|-
| [https://github.com/abakh/nbsdgames New BSD Games] || {{Pkg|nbsdgames}} || A package of 18 text-based modern games.
|-
| [https://openrct2.io/ OpenRCT2] || {{Pkg|openrct2}} || A free and open-source reimplementation of “RollerCoaster Tycoon 2”.
{{Note| Requires original files of “RollerCoaster Tycoon 2” to play.}}
|-
| [https://www.openttd.org/ 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.scummvm.org/ ScummVM]|| {{Pkg|scummvm}} || Engine for several graphical adventure games.
|-
| [https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ Simon Tatham's Portable Puzzle Collection] || {{Pkg|sgt-puzzles}} || Small programs offering puzzle games for one player.
|-
| [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] || {{pkg|supertuxkart}} || Kart racing game with OSS mascots.
|-
|[https://www.xonotic.org/ Xonotic] || {{Pkg|xonotic}} || The Free and Fast Arena Shooter.
Clients are: {{Pkg|xonotic-sdl}} or {{Pkg|xonotic-glx}}.  Install {{Pkg|xonotic-server}} to run a dedicated server.
|}


* [https://www.advancemame.it/ AdvanceMAME] ({{Pkg|advancemame}}) - Arcade simulator.
== Support Software ==
* [https://wiki.gnome.org/Apps/Aisleriot Aisleriot] ({{Pkg|aisleriot}}) - Solitaire card games.
{{Expand|Contributions/guidance encouraged – here or as new wiki pages. Thank you!}}{{Seealso|Gamepad}}
* [https://www.dosbox.com/ DOSBox] ({{Pkg|dosbox}}) - DOS-emulator that uses SDL.
Available on Alpine Linux:-
* [https://frotz.sourceforge.net/ Frotz] ({{Pkg|frotz}}) - Z machine (Infocom interactive fiction) Interpreter.
* {{Pkg|game-devices-udev}} - Udev rules for various game controllers.
* [https://home.flightgear.org FlightGear] ({{Pkg|flightgear}}) - Flight simulator.
* {{Pkg|gamemode}} - Optimise Linux system performance on demand.
* [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}}).
* {{Pkg|kodi-game-libretro*}} - Emulator add-ons for [[Kodi]] to enable older/retro games using the Libretro system.
* [https://en.wikipedia.org/wiki/GNU_Chess GNU Chess] ({{Pkg|gnuchess}}) - Play chess against the computer.
* {{Pkg|libgnome-games-support}} - Code shared between GNOME games.
* [https://lgames.sourceforge.io/LBreakout2 LBreakout2] ({{Pkg|lbreakout2}}) - Ball-and-paddle game.
* {{Pkg|libkdegames}} - Common code and data for many KDE games.
* [https://lgames.sourceforge.io/LBreakoutHD LBreakoutHD] ({{Pkg|lbreakouthd}}) - The successor to LBreakout2. Note: no level editor available. lbreakout2 is needed for level creation.
* {{Pkg|py3-pygame}} - Python library for making applications and games based on SDL.
* [https://lgames.sourceforge.io/LPairs LPairs] ({{Pkg|lpairs2}}) - Classical memory game.
* {{Pkg|texlive-games}} - TeX Live games typesetting tools.
* [https://github.com/troglobit/tetris Micro Tetris] ({{Pkg|micro-tetris}}) - A version of Tetris that uses ANSI escape sequences and can fit in embedded devices.
* {{Pkg|texmf-dist-games}} - Games typesetting using texmf-dist.
* [https://www.minetest.net/ Minetest] ({{Pkg|minetest}}) - An inspired Minecraft game.
* [https://www.nethack.org NetHack] - Rogue-like dungeon crawler.
* [https://openrct2.org/ OpenRCT2] - A free and open-source reimplementation of RollerCoaster Tycoon 2 but '''requires original RollerCoaster Tycoon 2 assets'''.
* [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.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://www.xonotic.org/ Xonotic] ({{Pkg|xonotic}}) - A free and open-source FPS.


== See Also ==
== See also ==
* [[Steam|Steam on Alpine Linux]]
 
* [[Steam|Steam on Alpine Linux]]
* [https://wine.htmlvalidator.com/install-wine-on-alpine-linux-3.html How to Install Wine on Alpine Linux 3]
* [https://gitlab.winehq.org/wine/wine/-/wikis/FAQ  Wine FAQ]
* [https://gitlab.winehq.org/wine/wine/-/wikis/FAQ  Wine FAQ]
* [https://obsproject.com/ OBS Studio] ({{Pkg|obs-studio}}) - Used by live streamers on streaming platforms such as YouTube and Twitch.
* [https://obsproject.com/ OBS Studio] ({{Pkg|obs-studio}}) - Used by live streamers on streaming platforms such as YouTube and Twitch.
* [https://wine.htmlvalidator.com/install-wine-on-alpine-linux-3.html  How to Install Wine on Alpine Linux 3]
* [[Using Distrobox For VR Gaming]]
 
[[category:Gaming]]
[[category:Gaming]]

Latest revision as of 05:50, 15 February 2026

This page documents the various game-related packages that are available in Alpine Linux and lists alternative ways to game. If you are interested in developing games on Alpine Linux, visit Game development on Alpine Linux.

Installing Games

As when installing any other package, run the following:

$ doas apk add game

Where game is the name of the package containing the game, such as micro-tetris from among the available games.

Steam

Steam, a popular game distribution platform by Valve, can be run on Alpine Linux as a Flatpak or as this AppImage.

Wine

wine enables a variety of Windows software to be run, including games, under Linux. If one is using x86_64 architecture, then 32-bit applications will run in Wine's WoW64 mode, which may not be compatible with all software.

Wine inside docker

To run windows app/games inside a docker container on Alpine Linux, libcap is required in order 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 that your user's account (youruser) is in the "games" group, first check whether the group is listed in youruser's groups listing:

$ id youruser

If "games" does not appear in the listing, then add the group to the user by executing the following:

$ doas adduser youruser games

Log-off and then log back on in order for the changes to take effect. Most games do not require this in order to work.

List of games

Below is a list of game packages that are available on Alpine Linux:-

Game Package name Description
AdvanceMAME advancemame Arcade simulator.
Aisleriot aisleriot Solitaire card games.
bsd-games bsd-games Traditional text mode games from BSD.
Chocolate Doom chocolate-doom Portable release of Doom, Heretic, Hexen, and Strife.
DOSBox Staging dosbox-staging DOS-emulator that uses SDL.
Dust Racing 2D (dustrac) dustracing2d Traditional top-down car racing game including a level editor.
Flare (game) flare-game Fantasy action RPG using the FLARE engine (not to be confused with flare, the unofficial Signal GTK client).
FlightGear flightgear Flight simulator.
Freeciv freeciv Free and Open Source empire-building strategy game.
Freedoom freedoom an entirely free software game running on a Doom engine.
Frotz frotz Z machine (Infocom interactive fiction) Interpreter.
GCompris gcompris-qt Educational software suite comprising of numerous activities for children aged 2 to 10.
GNU Chess gnuchess Play chess against the computer.
GZDoom gzdoom Modern game engine resembling modern FPSes compatible with Doom WADs
Highscore highscore A 'rewrite' of Highscore, formerly known as gnome-games.
KPat (KPatience) kpat A selection of solitaire card games packaged by KDE.
LBreakout2 lbreakout2 Ball-and-paddle game.
LBreakoutHD lbreakouthd
Note: No level editor available.

The successor to LBreakout2. lbreakout2 is needed for level creation.

LPairs lpairs2 Classical memory game.
Luanti luanti An open source voxel game engine.
Micro Tetris micro-tetris A version of Tetris that uses ANSI escape sequences and can fit in embedded devices.
NetHack nethack A single player Rogue-like dungeon crawler or dungeon exploration game.
New BSD Games nbsdgames A package of 18 text-based modern games.
OpenRCT2 openrct2 A free and open-source reimplementation of “RollerCoaster Tycoon 2”.
Note: Requires original files of “RollerCoaster Tycoon 2” to play.
OpenTTD openttd A business simulation game.
RetroArch retroarch Frontend for emulators, game engines, and media players using libretro.
ScummVM scummvm Engine for several graphical adventure games.
Simon Tatham's Portable Puzzle Collection sgt-puzzles Small programs offering puzzle games for one player.
SuperTux supertux Classic 2D jump'n'run side-scroller game in a style similar to the original Super Mario games.
SuperTuxKart supertuxkart Kart racing game with OSS mascots.
Xonotic xonotic The Free and Fast Arena Shooter.

Clients are: xonotic-sdl or xonotic-glx. Install xonotic-server to run a dedicated server.

Support Software

This material needs expanding ...

Contributions/guidance encouraged – here or as new wiki pages. Thank you!

Available on Alpine Linux:-

See also