There is still a long way to go in Linux gaming, but the truth is that there are more and more tools, and one of them is SteamCMD. So, this post is about how to install SteamCMD in Ubuntu 20.04, and we will do it getting the latest stable version.
First, what is SteamCMD?
Steam is one of the most important game and application stores in the world. In addition to being a gaming reference on all platforms. Through it, you can buy, download, update and start the games or applications that you have purchased.
SteamCMD was born to deploy servers for certain games. It is a CLI tool that works like the graphical client but from the terminal.
According to the Steam developers Wiki, “its primary use is to install and update various dedicated servers available on Steam using a command-line interface”. So many sysadmin or gaming enthusiasts use it as their main tool to create dedicated servers for their favorite games.
One thing to note is that it works with games that use the SteamPipe content system. Therefore, not in all games you will be able to create dedicated servers.
The installation is simple. Let’s go for it.
Preparing the system for SteamCMD installation
Before making any changes to the system, it is advisable to update it completely.
sudo apt update sudo apt upgrade
With this, our system will have all the security patches installed, and we will be able to continue with total security.
The next step is to install some necessary packages for SteamCMD.
sudo apt install wget screen lib32gcc1
Now it’s time to install SteamCMD by choosing one of these two methods.
Method 1: Install SteamCMD using the official repositories of Ubuntu 20.04
This method is the most recommended because we don’t have to do much, and it will be perfectly integrated into the system.
First, enable the
multiverse repository by running
sudo add-apt-repository multiverse
then enable the support for the i386 architecture
sudo dpkg --add-architecture i386
sudo apt update
And finally install SteamCMD
sudo apt install lib32gcc-s1 steamcmd
Finally, create a symbolic link
sudo ln -s /usr/games/steamcmd /home/steam/steamcmd
and to run it
cd ~ steamcmd
Method 2: Install SteamCMD on Ubuntu 20.04 manually
This method provides us with the latest stable version as well as being very flexible. First, it installs a package needed for the process.
sudo apt install lib32gcc1
Then, it is a good practice to have a dedicated user running SteamCMD who is not root.
Assign a strong password and complete the process.
Then, change the login to the user we just created.
su - steam
Create the folder required for downloading and installing SteamCMD.
mkdir -p /home/steam/steamcmd
Now access it
Now from there, download SteamCMD using wget
Then, decompress the file
tar -xvzf steamcmd_linux.tar.gz
Access the newly created folder
And finally run SteamCMD
When you run it, it will start downloading and updating the whole application.
Finally, you will see how the prompt changes
To finish, you can exit by pressing the keys
CTRL + C and to restart it.
We are done.
SteamCMD is yet another effort to push Linux gaming forward and grow over time. So in this post, you learned how to install SteamCMD using two different methods to do so.
I hope you found this post useful. Share it and help us to grow.