Steam is a video game cross-platform that Valve created. It was launched as a standalone software client in September 2003 as a way for Valve to provide automatic updates for their games and expanded to include games from third-party publishers. Nowadays, the Steam library is filled with thousands, if not tens of thousands of games across all gaming consoles. Originally, Steam was only available for Windows, but it has since been ported to macOS, Linux, iOS, Android, and even the Nintendo Switch.
In addition to providing a convenient way to purchase and download games, Steam offers features like user-created mods, achievements, and cloud saves. The Steam Workshop makes it easy to find and install community-created content for your favorite games.
In the following tutorial, you will learn how to install Steam on Linux Mint 21 LTS release series desktop using the command line terminal and APT package manager utilizing the default APT repository or importing the official steam repository, which you can then install the stable branch, or for users that want to see the next version release of Steam’s launcher, you can install the beta branch.
Table of Contents
Update Linux Mint
Before you begin, run a quick system update to ensure all packages are up-to-date to avoid any conflicts during the installation of Steam.
sudo apt update && sudo apt upgrade
Install Required Packages
The following packages must be installed to assist in installing the software.
sudo apt install dirmngr ca-certificates software-properties-common gnupg gnupg2 apt-transport-https curl -y
If unsure, run the command; it will not harm you.
These are the most common software packages found on nearly all Linux distributions.
Enable 32-bit Support
For users who wish to have 32-bit and 64-bit support to play the many games of Steams library that require this, use the following command.
sudo dpkg --add-architecture i386
Most users should enable this for lower-end systems that can only play lower-end games that come in 32bit format more often than not, and high-powered systems will not notice any impact having the packages installed.
Install Steam – Default APT Repository
The first method of installing Steam is to install the client using the standard default repository.
Use the following command to install the client.
sudo apt install steam-installer -y
Install Steam – APT with Steam Repository
The second method of installing Steam, which utilizes the APT package manager, is to import the official steam repository. This method is perhaps the best solution; however, it is just a little bit longer to set up, but the benefits of grabbing the packages directly from Steam mean you will always be up-to-date.
First, import the GPG key required to verify the authenticity of the Steam package installer.
curl -s http://repo.steampowered.com/steam/archive/stable/steam.gpg | sudo tee /usr/share/keyrings/steam.gpg > /dev/null
When installing Steam from their official repository, you can install the stable branch that most users should use first and foremost, or for users who want to have the beta releases and live on the edge.
PLEASE NOTE YOU CAN ONLY IMPORT ONE REPOSITORY AT A TIME, DO NOT IMPORT BOTH AS THEY CAN NOT BE INSTALLED SEPARATELY.
Import Steam Launcher Stable (Recommended)
echo deb [arch=amd64 signed-by=/usr/share/keyrings/steam.gpg] http://repo.steampowered.com/steam/ stable steam | sudo tee /etc/apt/sources.list.d/steam.list
Import Steam Launcher Beta
echo deb [arch=amd64 signed-by=/usr/share/keyrings/steam.gpg] http://repo.steampowered.com/steam/ beta steam | sudo tee /etc/apt/sources.list.d/steam.list
Now, run an APT update to reflect the new packages that have been imported.
sudo apt update
Now install the Steam Launcher as follows.
sudo apt-get install \ libgl1-mesa-dri:amd64 \ libgl1-mesa-dri:i386 \ libgl1-mesa-glx:amd64 \ libgl1-mesa-glx:i386 \ steam-launcher
During the installation you may be prompted to replace the ‘/etc/apt/sources.list.d/steam.list’. Type N to keep the default and proceed.
Check the version that was installed using the apt-cache policy.
apt-cache policy steam-launcher
Example apt-cache policy:
Note that I recommend using Steam’s stable repository over the beta.
How to the Launch Steam Client
With the installation complete from either method, you can run Steam in a few different ways.
First, while you are in your terminal, you can use the following command to launch Steam:
However, this isn’t practical, and you would use the following path on your desktop.
Taskbar > Games > Steam
The first time you launch Steam, you will see a notification of the installation wizard in a terminal window informing you that the launcher needs to download additional packages and what those packages are.
Press return (enter key) to proceed with the installation. Note that you will be prompted to enter your password.
Next, you will likely see a second terminal window advising you to press return (enter key), do this to proceed, and complete the required package installation setup.
Once done, you will see a series of automatic popups of Steam performing downloading and updating. For now, sit back and wait until it is done. For most users, this takes only a few minutes.
Once complete, you will finally arrive at the Steam launcher login window.
From here, log in or create an account. At this moment, you have successfully installed Steam.
How to Update/Upgrade Steam Launcher
For the most part, Steam can self-update itself, but desktop users should see notifications of upgrades due to all methods using the APT package manager if set up correctly in your system settings. However, I recommend using the terminal command to check for updates, even once in a while, to ensure you are grabbing all available updates, as the command will never fail.
sudo apt update
If any Steam updates are available, use the upgrade command.
sudo apt upgrade
How to Remove (Uninstall) Steam Launcher
To remove the Steam software from your system, run the following command in your terminal.
sudo apt autoremove steam*
Note for full removals, and you can add –purge flag to the end of the command that removes all data created with Steam.
Next, remove the repository using the following command for users who installed the Steam APT repositories.
sudo rm /etc/apt/sources.list.d/steam*
Lastly, do not use the command below for users who may switch between the Steam APT repository beta and stable. Users who remove Steam completely use the following command to remove the imported GPG.
sudo rm /usr/share/keyrings/steam*
Comments and Conclusion
Steam has come a long way from its humble beginnings as a platform for providing game updates to now being the world’s largest digital distributor of video games. It offers an extensive library of titles from major publishers and independent developers and continues to grow daily.
Steam’s most prominent feature is its community hubs, allowing gamers to communicate, share tips and tricks, and form groups around their favorite games. This sense of community is one of the things that makes Steam so unique and keeps gamers coming back for more.