In this tutorial we will install SteamCMD. SteamCMD 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
- A Server running CentOS 7 or Debian 8.
- A user account for
steam
.
Before We Begin
One of the best practices when using Linux is to ensuring your server is always updated. Additionally, it is best for your security to 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, if you have Steam Guard enabled, you have to check your email for the code to login.