Steam: Difference between revisions

From Alpine Linux
(Created page with "[http://store.steampowered.com/about/ Steam] is a popular game distribution platform by Valve. {{Note|Steam for Linux only supports Ubuntu LTS. Thus, do not turn to Valve for...")
 
Line 22: Line 22:


By default Steam doesn't have permission to read your controllers.
By default Steam doesn't have permission to read your controllers.
This can be fixed by installing an udev rule.
This can be fixed by installing an udev rule from the official Steam package.
The one from [https://raw.githubusercontent.com/rpmfusion/steam/master/60-steam-input.rules rpmfusion's Steam package] seems to work well.


   $ curl -O https://raw.githubusercontent.com/rpmfusion/steam/master/60-steam-input.rules
   $ curl -O https://repo.steampowered.com/steam/pool/steam/s/steam/steam_1.0.0.68.tar.gz
   # install -Dm644 60-steam-input.rules -t /etc/udev/rules.d
  $ tar xzf steam_1.0.0.68.tar.gz
   # udevadm control --reload-rules && udevadm trigger # or reboot
   # install -Dm644 steam-launcher/subprojects/steam-devices/60-steam-input.rules -t /etc/udev/rules.d
   # install -Dm644 steam-launcher/subprojects/steam-devices/60-steam-vr.rules -t /etc/udev/rules.d
 
Make sure to replace "1.0.0.68" with the latest version of the Steam package.
The versions available are listed at https://repo.steampowered.com/steam/pool/steam/s/steam

Revision as of 10:51, 11 February 2021

Steam is a popular game distribution platform by Valve.

Note: Steam for Linux only supports Ubuntu LTS. Thus, do not turn to Valve for support for issues with Steam on Alpine Linux.

Installation

Steam requires glibc to run, and thus doesn't straight up run on Alpine Linux. To work around this problem, we'll use Flatpak. Make sure you have the Flathub repository installed.

 # apk add flatpak
 $ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
 $ flatpak install com.valvesoftware.Steam

After installation Steam can be started using it's .desktop file or on the command line:

 $ flatpak run com.valvesoftware.Steam

Troubleshooting

My controllers aren't detected

By default Steam doesn't have permission to read your controllers. This can be fixed by installing an udev rule from the official Steam package.

 $ curl -O https://repo.steampowered.com/steam/pool/steam/s/steam/steam_1.0.0.68.tar.gz
 $ tar xzf steam_1.0.0.68.tar.gz
 # install -Dm644 steam-launcher/subprojects/steam-devices/60-steam-input.rules -t /etc/udev/rules.d
 # install -Dm644 steam-launcher/subprojects/steam-devices/60-steam-vr.rules -t /etc/udev/rules.d

Make sure to replace "1.0.0.68" with the latest version of the Steam package. The versions available are listed at https://repo.steampowered.com/steam/pool/steam/s/steam