Download and extract SteamCMD for Linux.ĥ. Create a directory for SteamCMD and switch to it.Ĥ. If you're not logging in as root and you instead use sudo to perform administration, escalate to the steam user as follows:ģ. As the root user, escalate to the steam user: Before you begin, you must first install the dependencies required to run SteamCMD:Ģ. You can find the associated Docker Hub page here:ġ. This image can be used as a base image for Steam-based dedicated servers. Steamcmd.sh location: /home/steam/steamcmd If your server is running Docker, you can simply use:ĭocker run -it -name=steamcmd cm2network/steamcmd bash Note: If you are using a 64 bit machine you will need to add multiverse
It's recommended to install the SteamCMD package from your distribution repositories, if available: As the root user, create the steam user:ġ. Do not run steamcmd while operating as the root user - to do so is a security risk.ġ.
Extract the contents of the zip to the folder.Ĭreate a user account named steam to run SteamCMD safely, isolating it from the rest of the operating system.