Gaming on Alpine: Difference between revisions

From Alpine Linux
(Rewrite intro and installation sections, reorganize game list, update game info for some games, and rename last section to "See Also")
(Added category:Gaming and links to other articles)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
It is possible to game on Alpine Linux.
It is possible to game on Alpine Linux.


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


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


<pre>
{{Cmd|# apk add [game]}}
sudo apk add [game]
</pre>


Where <code>[game]</code> is the name of the package containing the game, like <code>micro-tetris</code>.
Where <code>[game]</code> is the name of the package containing the game, like <code>micro-tetris</code>.
== Steam ==
{{Main|Steam}}
== 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.
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 ==
Line 15: Line 28:
To make sure your account is in the "games" group, run the following:
To make sure your account is in the "games" group, run the following:


sudo gpasswd -a name games
{{Cmd|# 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.
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 available on Alpine Linux ==
== List of games ==
 
Below is the list of games packages available in Alpine Linux:


* [http://www.advancemame.it/ AdvanceMAME] (<code>advancemame</code>) - Arcade simulator.
* [https://www.advancemame.it/ AdvanceMAME] ({{Pkg|advancemame}}) - Arcade simulator.
* [https://wiki.gnome.org/Apps/Aisleriot Aisleriot] (<code>aisleriot</code>) - Solitaire card games.
* [https://wiki.gnome.org/Apps/Aisleriot Aisleriot] ({{Pkg|aisleriot}}) - Solitaire card games.
* [https://www.dosbox.com/ DOSBox] (<code>dosbox</code>) - DOS-emulator that uses SDL.
* [https://www.dosbox.com/ DOSBox] ({{Pkg|dosbox}}) - DOS-emulator that uses SDL.
* [http://frotz.sourceforge.net/ Frotz] (<code>frotz</code>) - Z machine (Infocom interactive fiction) Interpreter.
* [https://frotz.sourceforge.net/ Frotz] ({{Pkg|frotz}}) - Z machine (Infocom interactive fiction) Interpreter.
* [http://home.flightgear.org FlightGear] (<code>flightgear</code>) - Flight simulator.
* [https://home.flightgear.org FlightGear] ({{Pkg|flightgear}}) - Flight simulator.
* [https://freedoom.github.io/ Freedoom]+[https://www.chocolate-doom.org/ Chocolate Doom] - (<code>freedoom</code>, <code>chocolate-doom</code>) -- a free Doom game and an engine to run it.
* [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://en.wikipedia.org/wiki/GNU_Chess GNU Chess] (<code>gnuchess</code>) - 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] (<code>lbreakout2</code>) - Ball-and-paddle game.
* [https://lgames.sourceforge.io/LBreakout2 LBreakout2] ({{Pkg|lbreakout2}}) - Ball-and-paddle game.
* [https://lgames.sourceforge.io/LBreakoutHD LBreakoutHD] (<code>lbreakouthd</code>) - The successor to LBreakout2. Note: no level editor available. lbreakout2 is needed for level creation.
* [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] (<code>lpairs</code>) - Classical memory game.
* [https://lgames.sourceforge.io/LPairs LPairs] ({{Pkg|lpairs2}}) - Classical memory game.
* [https://github.com/troglobit/tetris Micro Tetris] (<code>micro-tetris</code>) - A version of Tetris that uses ANSI escape sequences and can fit in embedded devices.
* [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] (<code>minetest</code>) - An inspired Minecraft game.
* [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://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] (<code>openttd</code>) - A business simulation game.
* [https://en.wikipedia.org/wiki/OpenTTD OpenTTD] ({{Pkg|openttd}}) - A business simulation game.
* [http://www.retroarch.com RetroArch] (<code>retroarch</code>) - 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.nethack.org NetHack] - Rogue-like dungeon crawler.
* [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] (<code>supertux</code>) - 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.
* [http://www.xonotic.org/ Xonotic] (<code>xonotic</code>) - A free and open-source FPS.
* [https://www.xonotic.org/ Xonotic] ({{Pkg|xonotic}}) - A free and open-source FPS.


== See Also ==
== See Also ==
* [[Steam]] - It is possible to install Steam on Alpine, but Valve only officially supports using Steam on Ubuntu.
* [[Steam|Steam on Alpine Linux]] 
* [https://en.wikipedia.org/wiki/Wine_(software) Wine] (<code>wine</code>) - 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.
* [https://gitlab.winehq.org/wine/wine/-/wikis/FAQ  Wine FAQ]
* [https://obsproject.com/ OBS Studio] (<code>obs-studio</code>) - 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]
[[category:Gaming]]

Latest revision as of 03:44, 18 October 2024

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:

See Also