Hello, fellow gamers. In this post, you will learn how to install SteamCMD on Ubuntu 20.04 quickly and easily. It will be a short post because the application is quite simple to install.
SteamCMD is a terminal interface tool that allows us to create dedicated Steam platform game servers. This way we can have an easy-to-use tool that allows us to personally manage some games. As an example, with SteamCMD we can create a CS:GO server, one of the most popular games nowadays.
It is worth noting that it works with games that use a SteamPipe content system. With this in mind, we can quickly understand the usefulness of the tool.
The installation is quite easy and quick to do so this is a short post.
First, open a terminal instance or connect via SSH. After that, you need to make sure your system is fully updated.
sudo apt update sudo apt upgrade
Next, switch to the root user of the system
And from there create a new Steam user.
The above command creates a new user named
steam. You can rename it. There you will have to provide information about the user and assign a new password.
Next, you will need to install a package called
lib32gcc1 which is a dependency of SteamCMD.
Fortunately, it is included in the official repositories, so to install it we just need to run it:
apt-get install lib32gcc1 Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: gcc-10-base lib32gcc-s1 libc6-i386 libgcc-s1 libstdc++6 The following NEW packages will be installed: lib32gcc-s1 lib32gcc1 libc6-i386 The following packages will be upgraded: gcc-10-base libgcc-s1 libstdc++6 3 upgraded, 3 newly installed, 0 to remove and 68 not upgraded. Need to get 3,337 kB of archives. After this operation, 14.9 MB of additional disk space will be used. Do you want to continue? [Y/n]
Now, we need to log into the
steam user and make it temporarily able to use
su -ls /bin/bash steam
And from there with the help of the
wget command download the tool.
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz --2021-07-06 17:45:35-- https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz Resolving steamcdn-a.akamaihd.net (steamcdn-a.akamaihd.net)... 18.104.22.168, 22.214.171.124 Connecting to steamcdn-a.akamaihd.net (steamcdn-a.akamaihd.net)|126.96.36.199|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2428561 (2.3M) [application/octet-stream] Saving to: ‘steamcmd_linux.tar.gz’ steamcmd_linux.tar.gz 100%[=====================================================================================>] 2.32M --.-KB/s in 0.06s 2021-07-06 17:45:35 (39.8 MB/s) - ‘steamcmd_linux.tar.gz’ saved [2428561/2428561]
Now decompress it
tar xvf steamcmd_linux.tar.gz
And then you just need to run the executable file
After executing the command, the whole process of downloading the necessary packages and libraries will start.
When you get an output screen like the following then you know that SteamCMD has been successfully installed.
Every day there is better and better support for gamers on Linux and a lot of the blame for this goes to Steam. Thanks to this kind of tool we can enjoy games on our system every day.
So, enjoy it