Gaming on Alpine: Difference between revisions

From Alpine Linux
m (simplified the sentence)
 
(21 intermediate revisions by 14 users not shown)
Line 1: Line 1:
'''Gaming on Alpine''' is a thing.
This page documents the various game related packages available in Alpine Linux and lists alternate ways to game. If you are interested in developing games on Alpine Linux visit [[Game development on Alpine Linux]].


== Installing games ==
== Installing Games ==


sudo apk add micro-tetris
Like with installing any other package, run the following:
 
{{Cmd|# apk add [game]}}
 
Where <code>[game]</code> is the name of the package containing the game, like <code>micro-tetris</code> from among the [[#List of games|available games]].
 
== Steam ==
{{Main|Steam}}
Steam, a popular game distribution platform by Valve can be run on Alpine Linux through [[Flatpak]].
== 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, 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 [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]
 
<Pre>
RUN apk add --no-cache libcap
RUN setcap cap_net_raw+epi /usr/bin/wine-preloader
</Pre>


== Permissions ==
== Permissions ==


To make sure your account is in the games group.  You could do.
To make sure your account is in the "games" group, run the following:
 
sudo gpasswd -a name games


Log off then relog back on.
{{Cmd|# adduser youruser games}}


== List of games available on Alpine Linux ==
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.


* [http://www.advancemame.it/ AdvanceMAME] - advancemame -- Arcade Simulator
== List of games ==
* [http://frotz.sourceforge.net/ Frotz] - frotz -- Z machine (Infocom interactive fiction) Interpreter
* [http://home.flightgear.org FlightGear] - flightgear -- Flight Simulator
* [https://en.wikipedia.org/wiki/GNU_Chess GNU Chess] - gnuchess -- Play chess against the computer
* [https://github.com/troglobit/tetris Micro Tetris] - micro-tetris -- Uses ANSI escape sequences and can fit in embedded devices
* [https://www.minetest.net/ Minetest] - minetest -- An Inspired Minecraft game
* [https://en.wikipedia.org/wiki/OpenTTD OpenTTD] - openttd -- A business simulation game
* [https://www.nethack.org NetHack] - Rogue-like dungeon crawler
* [http://www.xonotic.org/ Xonotic] - xonotic -- A FPS arena game


== Game related software ==
Below is the list of games packages available in 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://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://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://home.flightgear.org FlightGear]|| {{Pkg|flightgear}} || Flight simulator.
|-
|[https://freedoom.github.io/ Freedoom]|| {{Pkg|freedoom}}|| an entirely free software game running on a Doom engine.
|-
|[https://www.chocolate-doom.org/ Chocolate Doom] || {{Pkg|chocolate-doom}}|| Portable release of Doom, Heretic, Hexen, and Strife
|-
|[https://zdoom.org GZDoom] || {{Pkg|gzdoom}} || Modern game engine resembling modern FPSes compatible with Doom WADs
|-
| [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://lgames.sourceforge.io/LBreakout2 LBreakout2]|| {{Pkg|lbreakout2}}|| Ball-and-paddle game.
|-
| [https://lgames.sourceforge.io/LBreakoutHD LBreakoutHD] || {{Pkg|lbreakouthd}}|| The successor to LBreakout2. Note: no level editor available.
lbreakout2 is needed for level creation.
|-
| [https://lgames.sourceforge.io/LPairs LPairs]||{{Pkg|lpairs2}}|| Classical memory game.
|-
| [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.minetest.net/ Minetest] ||{{Pkg|minetest}}|| An inspired Minecraft game.
|-
| [https://www.nethack.org NetHack] ||{{Pkg|netHack}} || A single player Rogue-like dungeon crawler or dungeon exploration game
|-
| [https://openrct2.org/ OpenRCT2] || {{Pkg|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.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://supertuxkart.net/Main_Page SuperTuxKart] || {{pkg|supertuxkart}}|| Kart racing game with OSS mascots.
|-
|[https://www.xonotic.org/ Xonotic] ||{{Pkg|xonotic}}|| A free and open-source FPS.
|}


* [https://en.wikipedia.org/wiki/Wine_(software) Wine] - wine -- It is typically used to play Windows games - You may need to chroot/multiboot as 32-bit Alpine to use 32 bit Windows games. If you use x86_64, you can only run 64 bit Windows programs.
== See also ==
* [https://obsproject.com/ OBS Studio] - obs-studio -- It is used to live stream a gaming session
* [[Steam|Steam on Alpine Linux]] 
* [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://wine.htmlvalidator.com/install-wine-on-alpine-linux-3.html  How to Install Wine on Alpine Linux 3]
[[category:Gaming]]

Latest revision as of 12:08, 23 February 2025

This page documents the various game related packages available in Alpine Linux and lists alternate ways to game. If you are interested in developing games on Alpine Linux visit Game development 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 from among the available games.

Steam

Steam, a popular game distribution platform by Valve can be run on Alpine Linux through Flatpak.

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:

Game Package name Description
AdvanceMAME advancemame Arcade simulator.
Aisleriot aisleriot Solitaire card games.
DOSBox Staging dosbox-staging DOS-emulator that uses SDL.
Freeciv freeciv Free and Open Source empire-building strategy game.
Frotz frotz Z machine (Infocom interactive fiction) Interpreter.
FlightGear flightgear Flight simulator.
Freedoom freedoom an entirely free software game running on a Doom engine.
Chocolate Doom chocolate-doom Portable release of Doom, Heretic, Hexen, and Strife
GZDoom gzdoom Modern game engine resembling modern FPSes compatible with Doom WADs
GCompris gcompris-qt Educational software suite comprising of numerous activities for children aged 2 to 10.
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 netHack A single player Rogue-like dungeon crawler or dungeon exploration game
OpenRCT2 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.
ScummVM scummvm Engine for several graphical adventure games.
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 A free and open-source FPS.

See also