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…

1 year ago

Merrimu Reservoir drone images

Merrimu Reservoir from drone. Click images to view larger.

1 year ago

FTP getting array of file details such as size using PHP

Using FTP and PHP to get an array of file details such as size and…

2 years ago

Creating Laravel form requests

Creating and using Laravel form requests to create cleaner code, separation and reusability for your…

2 years ago

Improving the default Laravel login and register views

Improving the default Laravel login and register views in such a simple manner but making…

2 years ago

Laravel validation for checking if value exists in the database

Laravel validation for checking if a field value exists in the database. The validation rule…

2 years ago