Gaming on Alpine: Difference between revisions

From Alpine Linux
(Added category:Gaming and links to other articles)
(Update note on 32-bit apps on 64-bit wine)
 
Line 14: Line 14:
== 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}} 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]
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]

Latest revision as of 20:10, 21 December 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, 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