How to Install SteamCMD on Your VPS

In this tutorial, we will install SteamCMDSteamCMD can be used to download and install a lot of Steam game servers, such as Counter-Strike: Global Offensive (CS: GO)ARK: Survival Evolved, and many more. Some games require a paid subscription/purchase before you can download their configuration files.

Prerequisites

Before We Begin

One of the best practices when using Linux is to ensure your server is always updated. Additionally, your security should create a user account on the server to run SteamCMD.

CentOS 7

yum clean all
yum update -y
yum upgrade -y
adduser steam

Then we install the necessary libraries for SteamCMD:

yum install glibc.i686 libstdc++.i686 -y

Ubuntu / Debian x64

apt-get update -y
apt-get upgrade -y
adduser steam
passwd steam

Then we install the necessary libraries for SteamCMD:

apt-get install lib32gcc1

Let’s switch to the user we just created.

su -ls /bin/bash steam
cd ~

Download SteamCMD

wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar xf steamcmd_linux.tar.gz

The next step would be running SteamCMD. Once running, the Steam daemon will download and install all the necessary files.

./steamcmd.sh +quit

Now, SteamCMD is ready to download and install server files. Please note that if you have Steam Guard enabled, you have to check your email for the code to log in.