Skip to content

Commit

Permalink
chore: update steam documentation to orchid
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin committed Jul 31, 2024
1 parent 5c4b69a commit a6636de
Showing 1 changed file with 11 additions and 92 deletions.
103 changes: 11 additions & 92 deletions articles/en/install-steam.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -20,120 +18,41 @@ 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
```

### 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)

Expand Down

0 comments on commit a6636de

Please sign in to comment.