From a6636deee7db04b08e78e7fcc9b6a0b8e9ce60ee Mon Sep 17 00:00:00 2001 From: mirkobrombin Date: Wed, 31 Jul 2024 14:52:08 +0200 Subject: [PATCH] chore: update steam documentation to orchid --- articles/en/install-steam.md | 103 ++++------------------------------- 1 file changed, 11 insertions(+), 92 deletions(-) diff --git a/articles/en/install-steam.md b/articles/en/install-steam.md index af3ba42..42272bc 100644 --- a/articles/en/install-steam.md +++ b/articles/en/install-steam.md @@ -7,8 +7,6 @@ Authors: - mirkobrombin --- -> This guide is for Kinetic (22.10), not Orchid. The documentation for Orchid is still being written. - ## What is Steam? [**Steam**](https://steampowered.com) is the most popular gaming platform. It allows you to download and play a vast library of games. It's client is available natively on Linux. @@ -20,15 +18,11 @@ On 21 August 2018, Steam introduced the [**Proton**](https://github.com/ValveSof In Vanilla OS there are many ways to install Steam. The easiest way is to use [**Flatpak**](https://flatpak.org), which is a universal package manager for Linux. But it is also possible to install Steam using [**apx**](https://documentation.vanillaos.org/docs/apx/) -the default package manager of Vanilla OS. +the default package manager of Vanilla OS to get the best flexibility. ### Flatpak -If you chose to install Flatpak during [**First Setup**](/2022/11/18/first-setup.html), -you will be able to install applications directly from GNOME Software, as -explained [**here**](/2022/12/09/install-flatpaks.html#title3). - -You can also install the Steam Flatpak from the terminal using the following command: +You can proceed using the GNOME Software application as documented [here](https://docs.vanillaos.org/handbook/en/install-and-manage-applications#managing-applications-through-gnome-software) or use the command line as shown below: ```bash flatpak install flathub com.valvesoftware.Steam @@ -36,104 +30,29 @@ flatpak install flathub com.valvesoftware.Steam ### Apx -**apx** is a package manager which installs software in containers thanks to -[**Distrobox**](https://github.com/89luca89/distrobox). In our tests, Fedora is the best distro to run Steam in a container. We highly recommend using it to install Steam. - -#### Fedora container - -First, we need to install the RPM Fusion repository, which contains the rpm packages we need to install Steam using the following commands: - -```bash -apx --dnf enter -sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm -exit -``` - -We also need to install the drivers for our graphics card: - -**NVIDIA** - -```bash -apx --dnf install xorg-x11-drv-nvidia-libs.i686 akmod-nvidia -``` - -**AMD** - -```bash -apx --dnf install xorg-x11-drv-amdgpu mesa-libGL.i686 mesa-dri-drivers.i686 -``` - -**Intel** - -```bash -apx --dnf xorg-x11-drv-intel mesa-libGL.i686 mesa-dri-drivers.i686 -``` - -We can now install Steam using the following command: - -```bash -apx --dnf install steam -``` - -##### Run Steam - -To run Steam, you can use the icon from the applications menu or issue the command `apx --dnf run steam`. +We'll use apx to install Steam on a Ubuntu-based subsystem, assuming you have already configured an Ubuntu subsystem using apx. we'll refer to it as `my-ubuntu`, so change this to your container name if it's different. -If the icon doesn't appear in the applications menu, you can add it manually using the following command: +Enter the container using the following command:- ```bash -apx --dnf export steam +apx my-ubuntu enter ``` -#### Ubuntu container - -On Ubuntu, we need to add the `multiverse` repository to our sources list using the following command: +then install Steam using the following command:- ```bash -apx --apt enter sudo apt install software-properties-common sudo add-apt-repository multiverse +sudo apt update +sudo apt install steam-launcher exit +apx my-ubuntu export -a steam ``` -We also need to install the drivers for our graphics card. - -**NVIDIA**:- - -First, we need to check the version for the host drivers: - -```bash -nvidia-smi --query-gpu=driver_version --format=csv | tail -n +2 -``` - -which is `525.60.11` in my case. Then we need to install the drivers for the container: - -```bash -apx install nvidia-driver-525 -``` - -**AMD/Intel**:- - -```bash -apx --apt install mesa-utils mesa-utils-extra -``` - -We can now install Steam using the following command: - -```bash -apx --apt install steam-launcher -``` - -##### Run Steam +#### Run Steam To run Steam, you can use the icon from the applications menu or issue the -command `apx run steam`. - -If the icon doesn't appear in the applications menu, you can add it manually using the following command: - -```bash -apx export steam -``` +command `apx my-ubuntu run steam`. ## Run Windows games (Steam Play - Proton)