Disclaimer:
While the commands below are for Arch Linux, you can do this on Debian distros too, you’ll just need to translate the commands. I believe sudo apt install
is your version of sudo pacman -S
, but don’t quote me on that.
I assume you have pacman, yay, and sudo available.
Installing Dependencies
Docker:
sudo pacman -S docker
Wget:
yay wget-git
Docker Setup
Install the run-mtgo script:
wget -O run-mtgo https://raw.githubusercontent.com/pauleve/docker-mtgo/master/run-mtgo
chmod +x run-mtgo
Add yourself to the Docker group:
sudo usermod -aG docker $USER
Restart your PC before proceeding, then verify that the group change has gone through with groups $USER
.
First Run
Docker doesn’t by default run on startup, so before you can run MTGO, you’ll need to run Docker.
sudo systemctl start docker
Then you can just run the downloaded script, but make sure to do it like this, to ensure compatibility with the Daybreak update.
./run-mtgo --reset --update
Quick Run Script
If you want to be able to one-step run MTGO from the command line, you should make a script in /home/$USER
. This is my script.
#!/bin/bash
sudo systemctl start docker
./run-mtgo
Source
This is the source for the docker MTGO project, and this guide is broadly pulled from there, though clarified at certain steps (namely, the ones I, a beginner Linux user, struggled at). If you can contribute, consider chucking the source a few bucks!