Steam is a cross-platform online gaming platform developed by Valve Corporation. It supports buying, selling, creating, and playing video games. Using this platform, you can choose from thousands of video games and can also meet new people. Although, initially Steam games were available only for PC, later they expand their availability to home video game consoles like the Xbox and Sony PlayStation.
Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to perform related Linux gaming queries.
In this context, we shall look into the installation of Steam on a CentOS 8 machine.
Steps to Install Steam on CentOS
Here, we are going to install Steam on CentOS machine via Flatpak. Flatpak is a package management tool that allows you to install and manage packages without having to manually deal with dependencies. Now, follow the the following outlined process.
1. Add EPEL Repository
First, add EPEL repository on your CentOS system using the below command:
$ sudo dnf install epel-release
Provide sudo password and if ask for confirmation, hit y to confirm.
2. Install Flatpak
Flatpak comes preinstalled on CentOS systems. We can verify if Flatpak is installed on our system as follows:
$ flatpak --version
This will display the version of Flatpak installed on our system.
If Flatpak is missing from your system, you can install it as follows:
$ sudo dnf install flatpak
Provide sudo password and if ask for confirmation, hit y to confirm. After this, the installation of Flatpak will be started.
3. Add Flathub Repository
Then in order to get the Flatpak applications, you will need to enable the Flathub repository on your system. Use this command for adding the Flathub repository:
$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
You will not see any output after running the above command which indicates the repository has been added.
4. Install Steam
Now that the Flathub repository has been added, you can install steam as follows:
$ flatpak install flathub com.valvesoftware.Steam -y
This command will install Steam on your CentOS system.
Once the installation is finished, you will observe the Installation complete message at the end of the output.
5. Launch Steam
In order to launch Steam, hit the super key and type steam in the search bar that appears at the top. When the search result appears, click the Steam application icon to launch it.
You will see the Steam window the first time you launch it. Here, you can either create a new Steam account or use an existing Steam account for login.
How to Uninstall Steam from your CentOS 8 machine ?
In case you no longer require Steam on your CentOS machine, it can be uninstalled as follows:
$ sudo flatpak uninstall com.valvesoftware.Steam
This command will uninstall Steam from your CentOS machine.
[Need assistance in Installing gaming Software on any Linux system ? We can help you. ]