Install prerequisites

Before using modmail you have to install some prerequisites.

Before installing anything run: and reconnect to your VPS

sudo reboot


Install Git by running

sudo apt-get install git-all

Python 3.10

First start by updating your Ubuntu VPS and it's repositories (this can take a while especially if you've chosen 1 GB RAM.

sudo apt update && sudo apt upgrade -y

Install the required dependency for adding custom PPAs

sudo apt install software-properties-common -y

Add deadsnakes PPA

sudo add-apt-repository ppa:deadsnakes/ppa

Install Python 3.10

sudo apt install python3.10

Verify by running

python3 --version

If the output was Python 3.10.x then Python is installed correctly


Install npm by doing

sudo apt install npm

Install pm2 by doing

sudo npm i -g pm2


Install Pip by doing

sudo apt install python3-pip


Install Pipenv by doing

sudo pip install pipenv


Install Cairosvg by doing

sudo apt-get install libpangocairo-1.0-0

It is recommended to use PM2


You can find instructions on how to install Snap based on your distribution here.



Install PuTTY on Windows directly here.


Enable universe repository using:

sudo add-apt-repository universe

Install PuTTY using:

sudo apt install -y putty

You can open PuTTY by running putty on the terminal or you can manually search the application


Install XCode developer tools from the app store here and run these two commands.

xcodebuild -license
xcode-select --install

Install XQuartz from here.

Install PuTTY by running this command

sudo port install putty

Run putty by using putty


Windows and Mac

Install Termius directly here.


Install Termius by running the command below otherwise you can install the .deb package from here.

sudo snap install termius-app

Last updated