October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk9 min

How to Install SteamCMD on a VPS for Game Servers

A practical SteamCMD VPS guide covering 32-bit dependencies, non-root installation, game app IDs, firewall ports, systemd services, updates and recovery.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install SteamCMD under a dedicated, non-root user, add your Linux distribution’s 32-bit runtime, download SteamCMD, and use the game’s dedicated-server app ID with force_install_dir, login anonymous, app_update, and validate. Then open only the game’s documented TCP and UDP ports and run the server through systemd so it starts after reboots and restarts after failures.

What SteamCMD does

SteamCMD is Valve’s command-line downloader and updater for dedicated Steam game servers. Steam Support states that all Steam game servers now use SteamCMD to download and update their server files. It does not provide a graphical server console; instead, you run commands that select an installation directory, authenticate, download a specific application ID, verify files, and exit.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The SteamCMD program is separate from the game server itself. You install SteamCMD once, then use it to install one or more game servers into separate directories such as /home/steam/servers/example. Each title has its own executable, configuration files, command-line options, license requirements, and network ports.

Before you begin

Requirement What to confirm
VPS operating system An actively supported 64-bit Linux distribution. The commands below use Ubuntu or Debian syntax.
Administrative access An account that can run sudo for package installation, user creation, firewall changes, and systemd configuration.
Dedicated account Create a separate account named steam; do not run the game process as root.
32-bit runtime Ubuntu and Debian commonly provide lib32gcc1. Package names differ between releases, so check the package offered by your exact distribution.
Game server application ID Use the ID listed in the selected game’s official dedicated-server documentation. A normal client app ID is not necessarily the server app ID.
Network policy Know the game’s gameplay, query, RCON, voice, and optional custom ports before changing either the VPS firewall or the Linux firewall.
Storage and backups Leave room for downloaded binaries, updates, logs, save data, and temporary update files. Decide where configuration and world backups will be stored.

CPU, memory, disk and bandwidth requirements are game-specific. Do not infer a player limit from the VPS plan alone: the game, tick rate, mods, map, simulation load and provider network all affect capacity. Check the selected title’s server documentation and monitor the running process after installation.

#1 Best Overall
Sale
TOZO A1 Wireless Earbuds Bluetooth 5.3 Light Weight in Ear Headphones | IPX5 Waterproof,2 Mics for AI Calls,Immersive Premium Sound Bass Headset with Charging Case,32 EQ via App Black
  • [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
  • [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
  • [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
  • [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
  • [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.

Install SteamCMD on Ubuntu or Debian

Perform operating-system and package tasks with your administrative account. Switch to the steam account only when you begin downloading SteamCMD and the game files.

  1. Update the operating system

    Run:

    sudo apt-get update -y
    sudo apt-get upgrade -y

    Reboot if the package upgrade installs a new kernel or a service that your provider indicates needs restarting.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  2. Install the 32-bit compatibility library

    On Ubuntu or Debian releases that package it under this name, run:

    sudo apt-get install lib32gcc1

    Some newer releases use a different package name or provide the library through a multi-architecture package. If APT reports that lib32gcc1 is unavailable, search the packages for the 32-bit GCC runtime supplied by your release rather than downloading an unrelated library. The exact package name is distribution- and version-dependent.

  3. Create a non-root Steam account

    Create the account and switch into its login environment:

    Rank #2
    Sale
    Smart Watch for Men Women Compatible with iPhone Samsung Android Phone 1.69 inch Full Touch Screen IP68 Waterproof Bluetooh Fitness Tracker Heart Rate/Sleep Monitor (Black)
    • 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
    • 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
    • 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
    • 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
    • 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.
    sudo adduser steam
    sudo su - steam

    Answer the account prompts, set a strong password, and keep administrative privileges on your original account. Running SteamCMD and the game process as steam limits the damage a compromised server process could do to the rest of the VPS.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  4. Download and initialize SteamCMD

    Inside the steam account’s home directory, create a directory, download Valve’s Linux archive, extract it, and run a harmless initialization:

    mkdir -p ~/steamcmd
    cd ~/steamcmd
    wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
    tar xf steamcmd_linux.tar.gz
    ./steamcmd.sh +quit

    The first launch may download or update SteamCMD’s own files. A successful +quit run confirms that the shell script can start and reach Steam’s service. The archive URL above is the Linux installer location; retain the archive only if you want a local copy for later redeployment.

Download a dedicated game server

Make a separate destination directory for each title. Replace APPID with the game’s documented dedicated-server application ID:

mkdir -p ~/servers/example
~/steamcmd/steamcmd.sh 
  +force_install_dir ~/servers/example 
  +login anonymous 
  +app_update APPID validate 
  +quit

These commands perform four important actions:

  • force_install_dir chooses the directory where the server files belong.
  • login anonymous attempts the title’s anonymous server download method.
  • app_update APPID validate downloads the application and checks the installed files against Steam’s manifest.
  • quit closes SteamCMD after the operation completes.

A successful run normally ends with a completion message and leaves the game executable and supporting files below ~/servers/example. List the directory to identify the title’s actual executable and read its server documentation before creating a startup command.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
New Bee Guitar Cable 10ft Electric Instrument Bass AMP Cord
  • [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
  • [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
  • [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
  • [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
  • [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by

When anonymous login is not allowed

Some games require ownership of a paid license or a normal Steam account. In that case, start SteamCMD interactively, enter the game’s required account name, supply the password at the prompt, and complete Steam Guard if an email code is requested. Avoid putting a password directly in a shell command or unit file, because it can be exposed through shell history, process listings or configuration backups. Confirm the selected game’s authentication requirements before assuming that anonymous access will work.

Open the correct VPS and Linux firewall ports

Ports are controlled by the game, not by SteamCMD. Steam Support lists local TCP and UDP port 27015 as a default dedicated/listen-server port, but individual games can use different ports or several separate ports. A game’s own server guide takes precedence.

Port purpose What to do
Gameplay or listen port Allow the protocol and number specified by the game. Many games use UDP, some use TCP, and some use both.
Server query or browser port Open it only when the game’s documentation requires public listing or status queries.
RCON or administration Prefer a restricted source range or a private tunnel. Never expose an unauthenticated administration port broadly.
Voice or auxiliary services Add each documented port and protocol; do not assume the gameplay port handles voice traffic.

There are usually two firewalls: the VPS provider’s network firewall and the operating system firewall. A rule in only one place is insufficient. For a game that really uses the default port, UFW examples are:

sudo ufw allow 27015/tcp
sudo ufw allow 27015/udp
sudo ufw status verbose

Do not copy those rules blindly. Substitute the game’s actual port table, remove unnecessary rules, and restrict administration ports by source IP where possible. A Steam Community hosting example opens separate TCP and UDP rules for its own title, illustrating why a universal Steam port list cannot replace the game-specific instructions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Run the server with systemd

Launching a server in an SSH session is fragile: it stops when the process is terminated, and it will not automatically return after a reboot. A systemd unit provides boot startup, controlled shutdown and restart-on-failure behavior.

Rank #4
BSIMB 15.6" Digital Family Calendar & Chore Chart, No Subscription Fees
  • Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
  • Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
  • All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
  • Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
  • Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.

Create a unit file

As an administrator, create /etc/systemd/system/example-server.service:

[Unit]
Description=Dedicated game server
After=network-online.target
Wants=network-online.target

[Service]
User=steam
Group=steam
WorkingDirectory=/home/steam/servers/example
ExecStart=/home/steam/servers/example/{{SERVER_EXECUTABLE}}
Restart=on-failure
RestartSec=5
KillSignal=SIGINT
TimeoutStopSec=30

[Install]
WantedBy=multi-user.target

Replace {{SERVER_EXECUTABLE}} with the executable name documented by the game. If the title requires startup arguments, append them to the same ExecStart line. Keep the working directory at the server’s installation directory so relative paths for configs, saves and logs resolve correctly. Some games need a wrapper script; in that case, make the script executable, keep it owned by steam, and point ExecStart at that script.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Enable and verify the service

  1. Reload unit files:
    sudo systemctl daemon-reload
  2. Enable startup at boot and start immediately:
    sudo systemctl enable --now example-server.service
  3. Check the service state:
    sudo systemctl status example-server.service
  4. Read recent logs when diagnosing startup:
    sudo journalctl -u example-server.service -e

Do not mark a service healthy merely because systemd says it is running. Confirm that the game has bound the expected port, that its log shows a completed startup, and that a remote client can find or join it.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Update the server safely

SteamCMD uses the same app_update APPID validate operation for patching. First stop the running service if the game’s documentation requires an offline update:

sudo systemctl stop example-server.service

Switch to the steam account and repeat the SteamCMD invocation shown earlier, using the same installation directory and app ID. The validate option checks for missing or damaged files as it updates. When it finishes, start the service and inspect its logs:

sudo systemctl start example-server.service
sudo systemctl status example-server.service

Schedule updates during a maintenance window if players are connected. Preserve configuration, save and mod directories before a major game update. Some titles overwrite defaults or change command-line options, so compare the game’s release notes with your unit file after patching.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Backups, permissions and security

  • Keep the server files and data owned by steam; avoid running ad-hoc server commands with sudo.
  • Back up saves, world data, configuration files, ban lists, and any custom scripts to storage outside the live server directory.
  • Test restoring a backup on a separate directory or temporary VPS rather than assuming that a successful archive can be restored.
  • Use SSH keys, disable password login for administrative accounts when practical, and apply operating-system security updates.
  • Open only documented game ports. Keep RCON and other management interfaces private or source-restricted.
  • Watch disk usage and log growth. A full filesystem can prevent both the game and SteamCMD from writing files.
  • Record the app ID, installation path, executable name, startup arguments, port map, and update procedure so another administrator can recover the service.

Distribution and VPS choices

Ubuntu and Debian are convenient for this workflow because the package commands and the lib32gcc1 example are widely documented. Other distributions can work, but you must translate package installation, user-management, firewall and service commands to that distribution. CentOS-based systems, for example, may require the 32-bit glibc.i686 and libstdc++.i686 packages instead of the Debian package name.

When comparing VPS plans for a game server, evaluate the following rather than relying on a generic “gaming” label:

  • Single-core and multi-core CPU performance for the game’s simulation and tick rate.
  • Available memory after the operating system and monitoring services are running.
  • Fast, persistent storage with enough space for binaries, updates, saves, logs and backups.
  • Network latency to the intended players, transfer limits, IPv4/IPv6 support and DDoS policy.
  • Whether the provider exposes both a network firewall and console access for recovery.
  • Snapshot or backup options and the time required to restore them.
  • Support for the Linux distribution and 32-bit compatibility libraries required by the title.

No single bandwidth, RAM or player-capacity number applies to every Steam game. Measure CPU, memory, network and disk behavior under the actual map, mod set and concurrent load you intend to host.

Troubleshoot common failures

Symptom Likely cause Fix
steamcmd.sh exits with a missing-library error The required 32-bit runtime is absent or the package name differs on the distribution. Install the release’s 32-bit GCC, glibc and C++ runtime packages, then rerun ./steamcmd.sh +quit.
SteamCMD downloads files but the server will not start The wrong app ID, executable, working directory or startup arguments were used. Verify the dedicated-server app ID and read the title’s launch documentation. Test the executable manually as steam before editing systemd.
Anonymous login is rejected The game requires a licensed account or additional authentication. Use the game’s documented account-login method and complete Steam Guard when prompted. Do not store the password in a unit file.
Players cannot connect, but the local process is running A provider firewall, UFW rule, wrong protocol, NAT setting or incorrect advertised port blocks traffic. Compare the game’s port table with both firewall layers, confirm the process is listening on the expected address and protocol, and test from an external network.
The service repeatedly restarts Invalid arguments, missing permissions, a required license, a corrupted config or a crash. Run journalctl -u example-server.service, inspect the game log, stop the restart loop while editing, and correct the first reported error.
Updates fail with permission errors Files were previously created as root or another account. Stop the service and restore ownership of the server directory to steam; then run SteamCMD as steam.
A patch consumes all available disk space Insufficient free space for the download, validation copy or logs. Remove obsolete archives and logs after preserving backups, expand the disk, and rerun the update with adequate free space.

Operational checklist

  1. Confirm the distribution, supported package names and available disk space.
  2. Install updates and the required 32-bit runtime as an administrator.
  3. Create and use the non-root steam account.
  4. Download and initialize SteamCMD in ~/steamcmd.
  5. Install the game into its own directory with the documented app ID and validate.
  6. Identify the correct executable, configuration path and startup arguments.
  7. Open only the game’s required ports in both firewall layers.
  8. Create, enable and test a systemd service running as steam.
  9. Back up saves and configuration before updates, stop the service when required, and repeat the validated app update.
  10. Monitor logs, resource usage, disk space and external connectivity after every installation or patch.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.