Created
June 22, 2015 06:56
-
-
Save svs14/0dea2d79eb2e7e10978c to your computer and use it in GitHub Desktop.
Install ARMA 3 on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Sets up Arma 3 server. | |
# Requires exports STEAM_USERNAME + STEAM_PASSWORD. | |
# Install dependencies for SteamCMD | |
sudo apt-get -y install lib32gcc1 lib32stdc++6 git | |
# Create new user for steam | |
sudo useradd -m -s /bin/bash steam | |
# Run following commands as steam | |
sudo -H -u steam bash << EOF | |
mkdir -p ~/steamcmd && cd ~/steamcmd | |
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz | |
tar -zxf steamcmd_linux.tar.gz | |
chmod +x steamcmd | |
./steamcmd.sh +login $STEAM_USERNAME $STEAM_PASSWORD +force_install_dir ../arma3 +app_update 233780 +quit | |
mkdir -p ~/.local/share/"Arma 3" && mkdir -p ~/.local/share/"Arma 3 - Other Profiles" | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment