Categories: Development

Installing and setting up SteamCMD on Ubuntu

SteamCMD is the official command line version of the Steam client. Through the command line of SteamCMD you can install, update and run Steam game servers, making it ideal for Linux systems.

This post is a guide on installing and setting up SteamCMD on an Ubuntu server.

Creating new user

Best security practises means not running Steam as root user, so create a new user:

adduser steam

Switch to the new user

su – steam

Create a new directory for SteamCMD:

mkdir /home/steam/steamcmd

Move into the directory:

cd /home/steam/steamcmd

Downloading and installing SteamCMD

Use wget to download the SteamCMD installer tool:

wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz

Now extract it:

tar -xvzf steamcmd_linux.tar.gz

Move into the directory

cd /home/steam/steamcmd

Run the installer with:

./steamcmd.sh

If it does not work and says: /home/steam/steamcmd/linux32/steamcmd: No such file or directory you will need to install lib32gcc1:

apt-get install lib32gcc1

Now re-run ./steamcmd.sh

Now you will see SteamCMD go through the download and installation progress.

SteamCMD will be active as per the

Steam>

Logging in

SteamCMD allows for anonymous login to download and run Steam based servers.

login anonymous

Or you can use your Steam account:

login YOURUSERNAME

That’s the installation of SteamCMD done, up next will be a game server download and install.

Share

Recent Posts

Kennington reservoir drained drone images

A drained and empty Kennington reservoir images from a drone in early July 2024. The…

2 years ago

Merrimu Reservoir drone images

Merrimu Reservoir from drone. Click images to view larger.

2 years ago

Early September spring shots

Some early September spring shots from a bushwalk, It is still too early for wildflowers.

3 years ago

Cloning an NVMe to SK Hynix Platinum P41 NVMe

I recently needed to clone over a smaller NVMe to a 2TB SK Hynix Platinum…

3 years ago

Using Laravel’s deleteDirectory to delete folders and their contents

If you ever needed a simple solution in Laravel to delete an entire directory and…

3 years ago

How to allow only 1 user to register in a Laravel application

How to enforce only one user to register or be registered in a Laravel web…

3 years ago