Get Rewarded! We will reward you with up to €50 credit on your account for every tutorial that you write and we publish!

Installation of SteamCMD

profile picture
Author
Markus
Published
2019-04-05
Time to read
2 minutes reading time

Introduction

This tutorials is about installing and configuring SteamCMD on Linux systems. The installation and setup of game servers is covered in subsequent tutorials.

Game server tutorials:

Requirements

  • An x86 / x64 compatible system
  • Linux operating system

Step 1 - Preparations

Create a new user to run SteamCMD and the game servers:

useradd -m -s /bin/false steamcmd

Step 2 - Installation

Install dependencies for SteamCMD.

  • Ubuntu/Debian 64-Bit:

    apt-get install lib32gcc-s1
  • RedHat/CentOS:

    yum install glibc libstdc++
  • RedHat/CentOS 64-Bit:

    yum install glibc.i686 libstdc++.i686

Create the installation directory:

mkdir /opt/steamcmd && chown steamcmd:steamcmd /opt/steamcmd

Switch to the created steamcmd user:

su --shell /bin/bash steamcmd

Download the latest version of SteamCMD:

cd /opt/steamcmd && curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -

Create a link to allow a system-wide call to SteamCMD:

Run these commands with the root user or a user with sudo permissions.

ln -s /opt/steamcmd/steamcmd.sh /usr/local/bin/steamcmd
ln -s /opt/steamcmd/linux32/ /usr/local/bin/linux32
ln -s /opt/steamcmd/linux64/ /usr/local/bin/linux64

You can then start SteamCMD from anywhere using the steamcmd command.

Conclusion

This tutorial is a starting point to installing game servers via SteamCMD.

License: MIT
Want to contribute?

Get Rewarded: Get up to €50 in credit! Be a part of the community and contribute. Do it for the money. Do it for the bragging rights. And do it to teach others!

Report Issue

Discover our

Dedicated Servers

Configure your dream server. Top performance with an excellent connection at an unbeatable price!

Want to contribute?

Get Rewarded: Get up to €50 credit on your account for every tutorial you write and we publish!

Find out more