Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Setting Up SteamBot on Linux

Hero edited this page Feb 26, 2019 · 7 revisions

If you plan on running SteamBot on Linux, you may need to follow this guide first.

For setting up SteamBot in general, please read the Installation Guide.

To run SteamBot on Linux, you will require Mono 2.8.0 or higher.

Checking Your Mono Version

The first step is to check which version of Mono you have installed.
You may do this by typing mono -V into the terminal. Depending on which version you have installed, the output should look similar to this:

Mono JIT compiler version 3.0.3 (tarball Sun Feb 10 18:55:04 UTC 2013)

If your Mono version is 2.8.0 or higher, you do not need to do anything else. Simply run SteamBot by typing mono SteamBot.exe into the terminal.
If the compiler version is lower than 2.8.0 or your terminal tells you that the command mono is not found, you will not be able to use SteamBot and so you will need to update to the latest version of Mono.

Updating Your Mono Installation

Ubuntu/Debian installation

If you are running an Ubuntu- or Debian-6-or-lower- distro, you will need to follow these steps:

Step 1. Install the required pre-requisites.

To ensure that your installation of mono goes smoothly, run the following commands in the terminal (for convenience, I have written a bash script that will do these steps automatically):

sudo apt-get update
sudo apt-get install libpng3 libpng3-dev libtool libtiff4 libtiff4-dev libexif12 libexif-dev libgif4 libgif-dev libpango1.0-dev libatk1.0-dev bison automake autoconf make gcc gtk-sharp2 build-essential xorg-dev libfreetype6 libfontconfig libfontconfig-dev gettext libglib2.0-dev git mono-complete libjpeg-dev

If the terminal tells you that one of the packages was not found, remove it from the previous command and run the command again.

Step 2. Clone the latest Mono build from GitHub.

Once the commands have been completed without errors, clone the latest build of Mono from GitHub:

git clone git://github.com/mono/mono.git

Step 3. Compile and Install Mono

Next, navigate to the mono directory by typing cd mono into the terminal, and run the following commands:

./autogen.sh --prefix=/usr/local
make
sudo make install

When the last command has been completed, type mono -V again into the terminal to verify that the installation has succeeded.
At the time of writing, the terminal will output something similar to this:

Mono JIT compiler version 3.0.10 (master/add2135 Thu Apr 11 22:57:44 UTC 2013)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            Included Boehm (with typed GC and Parallel Mark)

Run SteamBot

After you have installed the latest Mono, you will be able to use SteamBot by navigating to the directory where SteamBot was compiled (Bin/Debug or Bin/Release) and typing mono SteamBot.exe.

Authentication issues

If your bot is getting stuck in an "Authentication failed, retrying in 2s..." loop, it's a problem with your installation of Mono. If this happens, you will need to download Mono from a repository instead of via GitHub.

Debian 7+

Type apt-get install mono-complete.

RHEL6-based

Save the following to /etc/yum-repos-d/mono.repo:

[mono]
name=opensuse-mono
baseurl=http://download.opensuse.org/repositories/Mono:/EL6/RHEL6/
enabled=1
gpgcheck=0

Type yum install mono-complete.