Skip to content

Instantly share code, notes, and snippets.

@yonderbread
Last active May 19, 2021 19:52
Show Gist options
  • Save yonderbread/858a6a3834fa03b1c59970c2d9a728f7 to your computer and use it in GitHub Desktop.
Save yonderbread/858a6a3834fa03b1c59970c2d9a728f7 to your computer and use it in GitHub Desktop.
Installs a csgo server in your home directory within a csgo_server folder.
#!/bin/bash
echo "WARNING: MAKE SURE YOU BACK UP YOUR OLD SERVER DIRECTORIES!!!"
echo "This will delete any folder in your home directory"
echo "named `csgo_server`, do CTRL+C within the next 7 seconds to cancel"
echo "the installation."
sudo add-apt-repository multiverse
sudo dpkg --add-architecture i386
sudo apt update
sudo apt -y install lib32gcc1 steamcmd
cd $HOME && rm -rf csgo_server && mkdir csgo_server
cd csgo_server
steamcmd +login anonymous +force_install_dir csgo_ds +app_update 740 validate +quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment