in Unturned

Create a dedicated Unturned linux server on Debian

This Guide is not working after Unturned been updated

Install dependencies.

As root

Interactive process

apt-get update && apt-get upgrade
apt-get install screen htop unzip wget dpkg

32 bits architecture

dpkg --add-architecture i386
apt-get update
apt-get install build-essential gcc-multilib rpm libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386

Mono runtime

apt-get install mono-reference-assemblies-2.0 mono-devel libmono-cil-dev mono-runtime

Unity 3D libraries

apt-get install libc6:i386 libgl1-mesa-glx:i386 libxcursor1:i386 libxrandr2:i386

Outside Linux box

Create a Steam Server Account.

In order to be able to run Unturned, Steam requires you to have a Steam account. You should create a new Steam account for this server, since you can’t use your personal Steam account simultaneously.

As root

clean working environment

adduser steam
su steam

As steam user

cd ~/
mkdir ~/steamcmd && mkdir ~/unturned

Install SteamCMD and Unturned.

cd ~/steamcmd
tar xvf steamcmd_linux.tar.gz
chmod +x
./ +@sSteamCmdForcePlatformBitness 32 +login "Your account ID" "Password" +force_install_dir ../unturned +app_update 304930 validate +exit

Install RocketMod for starting the server.

cd ..
unzip && rm -rf
mv Scripts/Linux/RocketLauncher.exe unturned/
mv Scripts/Linux/*.sh .

If you want RocketMod on your server.

mv Modules/Rocket.Unturned/ unturned/Modules/ # DO NOT USE FOR VANILLA

Making server ready


Here is where your Steam account that you created earlier is used. Put the username and password in there. If you want to keep your password private, keep the password string blank.

chmod +x
./ # For updating server and downloading files
chmod +x
cp /home/steam/unturned/
cd unturned
./ pvp # For running the server

As root

To start server on reboot

crontab -e

Insert this line

@reboot su steam -c "cd /home/steam/unturned && screen -dmS unturned ./ pvp"

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.


  1. Followed these instructions, server starts up just fine, but when I try to join in-game it says the versions don’t match.

    When I direct-connect, I do get the server page and it does show in the server-list, but it just wont connect.

    I have attached 4 screenshots showing that my game version and server version match, and the error I get.
    Do you have any idea what causes this?

  2. I’ve followed these directions, and every time I start the server I end up with this result:

    dlopen failed trying to load:
    with error: wrong ELF class: ELFCLASS64
    [S_API FAIL] SteamAPI_Init(): Sys_LoadModule failed to load:
    [S_API FAIL] SteamAPI_Init() failed

    This happens whether I am on Debian 9, 10 or Ubuntu 18.04. Has anyone seen this before? I can’t figure out where the problem lies.


    • Hello. Sorry for late answer. Have had issues with the box and only solution was to reinstall all.

      Not sure why you get this error. What i can see is that it is trying to open 64bit client. When following the instructions, 32bit architecture should be installed and used. Unfortunately, can’t help you anymore.

  3. ./ +@sSteamCmdForcePlatformBitness 32 +login “Your account ID” “Password” +force_install_dir ../unturned +app_update 304930 validate +exit What is the “Your account ID” ?

    My ID is 76561198870210736 But with my password it does not work

    • Account ID is your Steam64 ID. Your is a valid one. Not sure why you cant’t log in. Write is like: ./ +@sSteamCmdForcePlatformBitness 32 +login 76561198870210736 YourPassword +force_install_dir ../unturned +app_update 304930 validate +exit . Change YourPassword with your steam passsword related to your account.

  4. When i start the server, it freezes on Loading Map Assets part. I don’t know what is happening, but i tried everything, changing VPS, reinstalling Unturned, changed Linux Distro, etc, etc. But it keeps crashing when Loading Map Assets. I am running the server on Amazon EC2.

    • The only solution I can help you with is to unsubscribing from Workshop items and try again. If you still get issues reply and I can take contact and try to help you.

      • Thanks for answering me. This was finally a RAM issue. I solved it ordering a bigger instance with more RAM in Google Cloud Platform. But anyway, again, thanks for answering me!

  5. When i want to start server on screen. the screen is terminating and i get error that there is not file of directory unturned. Please help

    • Not sure with so little information.
      Check that you are in correct directory. You should have a file called in the directory you try to start from. If still need help write what you have done and what commands you have been given.

      • I am in correct directory. When i want to satrat server on screen (screen -s unturned) i got a communicat that the screen is terminating and there is no directory unturned. when i write su steam -c “cd /home/steam/unturned && screen -dmS unturned ./ pvp” the server starts but not on screen when i close putty servers close to

        • Can’t see any wrong in your commands. Make sure you run screen -s unturned as user steam and su steam -c “cd /home/steam/unturned && screen -dmS unturned ./ pvp as root. If that don’t help try to reinstall screen and make sure you run unturned in i386 architecture.

  6. Hey! I’m running a server on RHEL 7, tool me some troubleshooting but is running in my VPS but there is an issue. As soon as I close the putty terminal the server process is kiled. I tried looking around but “To start server on reboot” is the closest to what I’m looking for. Any ideas to how execute the start script?

    • Try to put it in default init. On most systems it is systemd.
      There is no single way to do this. It depends on the particular Linux distribution and the service management daemon that comes with it.

      • Hello, I have a question, do ubuntu 16.04 these commands to enter in Putty also work?

        • Hello
          It should work. I don’t use Ubuntu only Debian so I haven’t tried on Ubuntu. The only difference is that Ubuntu use newer packages and are less stable.