[Guide] Steam Installation Tutorial

Steam Installation Tutorial

Add box repositories

sudo bash -c 'if wget -q https://ryanfortner.github.io/box86-debs/box86.list -O /etc/apt/sources.list.d/box86.list; then if wget -qO- https://ryanfortner.github.io/box86-debs/KEY.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/box86-debs-archive-keyring.gpg; then echo "box86 repository and key added successfully."; else echo "Error adding box86 key."; fi; else echo "Error downloading box86 repository list."; fi; if wget -q https://ryanfortner.github.io/box64-debs/box64.list -O /etc/apt/sources.list.d/box64.list; then if wget -qO- https://ryanfortner.github.io/box64-debs/KEY.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/box64-debs-archive-keyring.gpg; then echo "box64 repository and key added successfully."; else echo "Error adding box64 key."; fi; else echo "Error downloading box64 repository list."; fi'

Installing Dependencies

First we need to install some dependencies that are required by Steam. Use the following lines:
Find your DRK version here: box86/docs/COMPILE.md at master · ptitSeb/box86 · GitHub

sudo dpkg --add-architecture armhf && sudo apt update

Fixing missing packages:

sudo apt install binutils box86-rk3588 box64-rk3588 libfaudio0 libc6:armhf libsdl2-2.0-0:armhf libsdl2-image-2.0-0:armhf libsdl2-mixer-2.0-0:armhf libsdl2-ttf-2.0-0:armhf libopenal1:armhf libpng16-16t64:armhf libfontconfig1:armhf libxcomposite1:armhf libbz2-1.0:armhf libxtst6:armhf libsm6:armhf libice6:armhf libgl1:armhf libxinerama1:armhf libxdamage1:armhf libncurses6:armhf libgl1-mesa-dri:armhf curl:armhf mesa-vulkan-drivers

if on ubuntu:

sudo add-apt-repository -y ppa:kisak/kisak-mesa

if on debian: sudo nano /etc/apt/sources.list

deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware
sudo apt update ; sudo apt install -t bookworm-backports mesa-vulkan-drivers mesa-utils

Install Steam

First we need to configure the environment for Steam. Use the following lines to add two environment variables to your Linux environment:

mkdir -p ~/steam && mkdir -p ~/steam/tmp && cd ~/steam/tmp && wget https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb && ar x steam.deb && tar xf data.tar.xz && rm ./*.tar.xz ./steam.deb && mv ./usr/* ../ && cd ../ && rm -rf ./tmp/ && bash -c 'cat <<EOF > steam && chmod +x steam && sudo mv steam /usr/local/bin/
#!/bin/bash
export STEAMOS=1
export STEAM_RUNTIME=1
export DBUS_FATAL_WARNINGS=0
export PAN_MESA_DEBUG=gofaster,gl3
box64 ~/steam/bin/steam \$@
EOF'

Now just sudo reboot

Type steam on terminal

Installation is now finished EnJoy!


Final Steps we need for ChromiumOS (FydeOS/openFyde):

Ctrl alt t - Open Crosh via Chromium Browser

vsh termina
lxc config set penguin security.privileged true
lxc restart penguin

Now on penguin terminal do sudo su to be on Root! not just sudo and type:

sudo su
tail -n 1 /etc/binfmt.d/box86.conf > /proc/sys/fs/binfmt_misc/register
tail -n 1 /etc/binfmt.d/box64.conf > /proc/sys/fs/binfmt_misc/register
exit #leave root
steam

For all games set settings to -force-opengl and maybe install proton experimental like always.. after installing steam perform a steam restart bugs may follow and retry is key.

All credits for this magical addition goes to @andrebraga !! :beer: :beer:

https://streamable.com/bnczfz


Alternatively if you can use the NicoD Script (Optional might not work of ChromiumOS):

    _   __ _               ____     ______                   _                  
   / | / /(_)_____ ____   / __ \   / ____/____ _ ____ ___   (_)____   ____ _    
  /  |/ // // ___// __ \ / / / /  / / __ / __ `// __ `__ \ / // __ \ / __ `/    
 / /|  // // /__ / /_/ // /_/ /  / /_/ // /_/ // / / / / // // / / // /_/ /     
/_/ |_//_/ \___/ \____//_____/   \____/ \__,_//_/ /_/ /_//_//_/ /_/ \__, /      
    __     _                        _____              _         __/____/       
   / /    (_)____   __  __ _  __   / ___/ _____ _____ (_)____   / /_            
  / /    / // __ \ / / / /| |/_/   \__ \ / ___// ___// // __ \ / __/            
 / /___ / // / / // /_/ /_>  <    ___/ // /__ / /   / // /_/ // /_              
/_____//_//_/ /_/ \__,_//_/|_|   /____/ \___//_/   /_// .___/ \__/              
                                                     /_/                        
git clone https://github.com/NicoD-SBC/armbian-gaming.git
cd armbian-gaming
/bin/bash ./armbian-gaming.sh

More info here: GitHub - NicoD-SBC/armbian-gaming: Tool to install gaming apps on Armbian Linux/Ubuntu/Debian arm64

2 Likes

Counter Strike Source runs at 27 fps which is… incredible :joy:


Half Life 2 Deathmatch at a ‘steady’ 30 fps

khadas@Khadas:~$ steam
steam.sh[11435]: Running Steam on ubuntu 22.04 64-bit
steam.sh[11435]: STEAM_RUNTIME is enabled by the user
setup.sh[11497]: Steam runtime environment up-to-date!
steam.sh[11435]: Can't find 'steam-runtime-check-requirements', continuing anyway
/home/khadas/.local/share/Steam/steam.sh: line 792: /home/khadas/.local/share/Steam/ubuntu12_32/steam: cannot execute binary file: Exec format error

i get this error when trying to open it

You most likely failed some step. Did this yesterday and it was working.
Edit: Try again if you need help join here Discord