Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ author:
description: 'Install SteamCMD, a command-line version of the Steam client, which works with games that use SteamPipe. Installing SteamCMD is a prerequisite before hosting a Steam title on your own game server.'
keywords: ["steam", "steamcmd", "steam cmd", "games", "game server", "steam server", "steampipe"]
license: '[CC BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0)'
modified: 2016-03-29
modified: 2019-01-31
modified_by:
name: Linode
published: 2016-02-15
Expand All @@ -17,10 +17,10 @@ external_resources:
aliases: ['applications/game-servers/install-steamcmd-for-a-steam-game-server/']
---

SteamCMD is a command-line version of the Steam client which works with games that use [SteamPipe](https://developer.valvesoftware.com/wiki/SteamPipe). If you intend to host a Steam title on your own game server, installing SteamCMD is a prerequisite.

![SteamCMD](Install_SteamCMD_for_a_Steam_Game_Server_smg.jpg)

SteamCMD is a command-line version of the Steam client which works with games that use [SteamPipe](https://developer.valvesoftware.com/wiki/SteamPipe). If you intend to host a Steam title on your own game server, installing SteamCMD is a prerequisite.

This guide is intended to get you quickly up and running with SteamCMD on your Linode. See Valve's [SteamCMD wiki page](https://developer.valvesoftware.com/wiki/SteamCMD) for more information and advanced setups.

{{< note >}}
Expand All @@ -39,7 +39,7 @@ This guide is written for a non-root user. Commands that require elevated privil

**Debian / Ubuntu**

sudo apt-get update && sudo apt-get upgrade
sudo apt update && sudo apt upgrade


## Secure Your Game Server
Expand Down Expand Up @@ -154,20 +154,32 @@ Installing via the package manager allows you to more easily download updates an

{{< note >}}
On Debian you need to add the `non-free` area of the repository to your sources, because the package is available only there.

To do so, edit the `/etc/apt/sources.list` file, and include `non-free` at the end of each `deb` and `deb-src` line:

deb http://mirrors.linode.com/debian stretch main non-free
deb-src http://mirrors.linode.com/debian stretch main non-free
...

Then, add the i386 architecture, update your package list, and install `steamcmd`:

sudo dpkg --add-architecture i386
sudo apt update
sudo apt-get install steamcmd
{{< /note >}}

2. Create a symlink to the `steamcmd` executable in a convenient place, such as your home directory:
1. Create a symlink to the `steamcmd` executable in a convenient place, such as your home directory:

cd ~
ln -s /usr/games/steamcmd steamcmd

### Manually

1. Newly created Linodes use 64-bit Linux operating systems. Since Steam is compiled for i386, install the appropriate libraries.
1. Newly created Linodes use 64-bit Linux operating systems. Since Steam is compiled for i386, install the appropriate libraries. For CentOS, also install `wget`.

**CentOS 7**

sudo yum install glibc.i686 libstdc++.i686
sudo yum install glibc.i686 libstdc++.i686 wget

**Debian / Ubuntu**

Expand Down