- How to Install Steam on Arch Linux
- Install Steam with Pacman
- Install Steam with Flatpak
- Check if Flatpak is installed
- Install Flatpak
- Install Steam
- Install Steam with Snap
- How to Install and Use Steam on Arch Linux
- Modify the Pacman Configuration File
- System Upgrade
- Install Steam
- Launch Steam to Configure
- Set-up the Proton
- Conclusion
How to Install Steam on Arch Linux
In this tutorial I will show you how to install Steam on freshly-installed Arch Linux with Gnome desktop. There are 3 main ways to install Steam on Arch:
Install Steam with Pacman
Pacman is a default package manager utility in Arch linux, so it’s the best way to install software. Steam is available in multilib repository, which means that multilib should be enabled in pacman configuration file. Archlinux wiki has detailed instructions on how to do it.
To install Steam with pacman simply open a terminal and type:
-S tells pacman that we want to update or install packages, -y asks pacman to refresh the package database and -u tells pacman to upgrade all out-of-date packages.
Unless your system up-to-date, you will probably see some updates available. Type y and press Enter to install them. After updating the system type
You will see an output similar to this one. Type y and press Enter to install Steam with its dependencies and wait for the installation to finish. The output will be similar to this one
Now you can find and launch steam from the application menu. Here is a screenshot from Gnome desktop.
Install Steam with Flatpak
Check if Flatpak is installed
First, check if Flatpak is installed on your system. Open the terminal and type
If Flatpak is installed you will see it’s version number. For example
If not, then the shell will give you this error
bash: flatpak: command not found
Install Flatpak
If you don’t have Flatpak, then update the packages / database first by typing
and then install Flatpak with this command
Check that Flatpak was installed by typing
You should see its version number
Install Steam
Once you made sure that Flatpak is installed, you can install Steam by typing
flatpak install flathub com.valvesoftware.Steam
in the terminal. You will see this output
Looking for matches… Required runtime for com.valvesoftware.Steam/x86_64/stable (runtime/org.freedesktop.Platform/x86_64/21.08) found in remote flathub Do you want to install it? [Y/n]:
Type y and press Enter. Flatpak will need to install a few dependencies as well. Just type y and press Enter when it asks for confirmation.
Now you can launch Steam from the application menu. You can also do it from the terminal, just type
flatpak run com.valvesoftware.Steam
Install Steam with Snap
While Flatpak usually comes with Gnome desktop, especially if you used the installer to install Arch linux, Snap doesn’t. This means that you will have to install it first.
First, update the system by typing
After that check if you have git
If you get command not found error, install git by typing
Then type y and press Enter to confirm.
Once you have git, you can install Snap.
First, clone the snap repository on AUR
git clone https://aur.archlinux.org/snapd.git
Then change the directory to snapd, build and install Snap.
Press y to confirm.
Install Snap on Arch Linux
After the installation you will need to start the snap service. Type
sudo systemctl enable --now snapd.socket
Next, create a symlink to the binary file
sudo ln -s /var/lib/snapd/snap /snap
And finally, install Steam
sudo snap install steam --beta
Now you can launch steam from the application menu.
How to Install and Use Steam on Arch Linux
A digital distribution channel for programs and video games is called Steam. The Valve Corporation created and supported it. Steam may be downloaded from the official repositories and is installed on Arch Linux using the pacman development kit. One benefit of using Steam on Arch Linux is that it offers a practical method to download and manage the games. Additionally, it provides functions like online storage and automated upgrades. Steam has a sizable user and developer community which results in a diverse selection of games and applications that are being offered on the site. This article discusses how to set up and utilize Steam on Arch Linux.
Modify the Pacman Configuration File
Before working with Steam, we should enable the multilib repository that is disabled by default. For this, we should modify the pacman configuration file. The following command uses the “nano” text editor to open and edit the “/etc/pacman.conf” file:
This file is a configuration file for the package manager on the system. It contains the settings that determine how pacman behaves when it is used to install, update, and manage the software packages on the system. Search for the following attached two lines and un-comment them. The changes that are done in this file are saved after the user exits the nano editor by saving the changes.
Include = / etc / pacman.d / mirrorlist
System Upgrade
It’s time to do a full system upgrade using the pacman utility. The command that is used for this is the –S option. Synchronize (download) the package databases from the –y server. Refresh all local -u package databases. Perform an upgrade of the packages. As a result, all installed packages are updated to the most recent version and are checked for updates. After synchronizing the package databases, the command starts the “full system upgrade” process.
[ omar @ omar ~ ] $ sudo pacman -Syu
:: Synchronizing package databases.
core is up to date
extra is up to date
community is up to date
multilib 164.9 KiB 52.5 KiB / s 00:03 [ ###########################################] 100%
:: Starting full system upgrade.
there is nothing to do
Install Steam
Now, it’s time to install the Steam package using the pacman utility followed by the “-S” option. The command starts by resolving the dependencies of the Steam package. It checks for any other packages that the Steam package depends on and needs to be installed for steam to work properly. After resolving the dependencies, it proceeds to download and install the package and its dependencies, showing the progress of the installation.
[ omar @ omar ~ ] $ sudo pacman -S steam
resolving dependencies.
:: There are 5 providers available for lib32-vulkan-driver:
:: Repository multilib
1 ) lib32-amdvlk 2 ) lib32-nvidia-utils 3 ) lib32-vulkan-intel 4 ) lib32-vulkan-radeon 5 ) lib32-vulkan-virtio
Enter a number ( default = 1 ) :
looking for conflicting packages.
Packages ( 57 ) Size: 124.61 MiB
Total Installed Size: 488.00 MiB
:: Proceed with installation? [ Y / n ] y
:: Retrieving packages.
Optional dependencies for lib32-openssl
ca-certificates [ installed ]
Optional dependencies for lib32-mesa
Optional dependencies for steam
:: Running post-transaction hooks.
( 1 / 4 ) Reloading device manager configuration.
( 2 / 4 ) Arming ConditionNeedsUpdate.
( 3 / 4 ) Updating icon theme caches.
( 4 / 4 ) Updating the desktop file MIME type cache.
Launch Steam to Configure
Search for the Steam utility in your activity search area as “steam”. The installed “Steam” utility will pop up. Tap on it to open it quickly.
It might take more than 10 minutes to update the steam environment as the following dialog appears. Wait until it is ready for use.
The following screen appears if you are using Steam for the first time in your Arch Linux system. This is a sign-in screen of Steam as you can see. You must register for a Steam account if you don’t have one. For that, tap the underlined “Create a Free Account” under the QR image or sign in with your username and password.
After creating an account, it needs your verification. For illustration, we provided it with a dummy email. It verifies it by sending an email. You need to open the email that is sent by the Steam platform in your Gmail to get verified.
When your newly created account’s email address is successfully verified by the official Steam platform, you are then navigated to the following screen as shown in the image:
After the email verification, when you open the Steam utility that you just installed, you get the following success message on your screen. Tap “Continue” to open the Steam game area.
It requires you to log in from the newly made account using the username and password that you provided during the process of account creation as shown in the following:
Wait until you can access the Steam area.
Here is the home screen of the Steam platform that is opened in your Arch Linux. You can check for the games from the “GAMES” section under the “HOME” menu.
Set-up the Proton
By utilizing the Steam client, Valve Corporation’s Proton compatibility layer enables the Windows-only video games to operate on Linux-based systems. As opposed to using Wine on its own to run games, Proton gives the players an access to the features like built-in gamepad compatibility, enhanced visuals, and superior performance. Therefore, we use Proton to install and run the games on Steam within the Arch Linux which only works for Windows-like operating systems. For this, we need to set up a Proton in Arch Linux first. The command to install Proton starts with the “yay” utility followed by the “-S” option and the “proton” keyword. When the command is run, yay lists 5 providers that are available for the “proton” package. These providers are the different versions or variants of the package that are available in the AUR.
To choose a certain provider to deploy, the user is asked to input a number. The command also lists the providers that are available for other packages such as “afdko” and “python-ufonormalizer”. The user is prompted to select a provider for each of these packages. Finally, yay checks for conflicts and inner conflicts before installing the package. The package proton-1:7.0.6-2 is installed in this scenario. After installing the Proton utility, make sure to restart the Steam application that you just installed. Now, you will be able to install and run the games which you used to play in your Windows environment and which were not able to play on Linux before.
[ omar @ omar ~ ] $ yay -S proton
:: There are 5 providers available for proton:
:: Repository AUR
1 ) proton 2 ) proton-experimental 3 ) proton-ge-custom 4 ) proton-ge-custom-bin 5 ) proton-git
Enter a number ( default = 1 ) :
:: There are 2 providers available for afdko:
:: Repository AUR
1 ) afdko 2 ) afdko-git
Enter a number ( default = 1 ) :
== > 1
:: There are 2 providers available for python-ufonormalizer:
:: Repository AUR
1 ) python-ufonormalizer 2 ) python-ufonormalizer-git
Enter a number ( default = 1 ) :
== > 1
:: There are 2 providers available for python-defcon:
:: Repository AUR
1 ) python-defcon 2 ) python-defcon-git
Enter a number ( default = 1 ) :
== > 1
:: Checking for conflicts.
:: Checking for inner conflicts.
[ Aur: 1 ] proton- 1 :7.0.6- 2
Conclusion
This guide explains the use of the Steam distribution channel for games in the Arch Linux System. For this, we modified the configuration file for the pacman package manager of Arch Linux to enable the multilib repository. After upgrading the Arch Linux system, we installed the Steam utility using the pacman package manager. After configuring it in our system and creating an account, we successfully launched it. Additionally, we also installed the proton utility in Arch Linux with the help of the “yay” utility to run the window-like games in the Arch Linux system.