SteamCMD Installation

by scrane
2 deployments · 0 still active · last rev. 3 months ago

Installs SteamCMD On Ubuntu and Debian installations.

Compatible with: Debian 8, Debian 9, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS
						#!/bin/bash
#
#<UDF name="lsteam" Label="Local User steam password?" example="strongPassword" />

#Installs the libraries required for SteamCMD
sudo apt-get -y update && sudo apt-get install -y lib32gcc1 libvorbisfile3

#adds steam user
adduser steam --disabled-password --gecos "" && \
echo "steam:$LSTEAM" | chpasswd
adduser steam sudo

#create folder for SteamCMD
mkdir -p /home/steam/steamcmd

#download SteamCMD application
wget -P /home/steam/steamcmd https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz

#Extract the archive
tar -zxvf /home/steam/steamcmd/steamcmd_linux.tar.gz -C /home/steam/steamcmd

#Set correct ownership for /home/steam/steamcmd
chown -R steam:steam /home/steam/steamcmd

#
echo Steam's done! What next?