Installing dependencies
Before using modmail you have to install some prerequisites.
Last updated
Before using modmail you have to install some prerequisites.
Install PuTTY on Windows directly from here.
It is not recommended to use PuTTY on Linux.
Enable the universe repository using:
sudo add-apt-repository universeInstall PuTTY by using:
sudo apt install -y puttyYou can open PuTTY by running putty on the terminal or you can manually search for the application.
It is not recommended to use PuTTY on MacOS.
Install XCode developer tools from the app store here and run these two commands.
xcodebuild -licenseInstall XQuartz from here.
Install PuTTY by running this command
Run putty by using putty
Install Termius directly from here for Windows or here for Mac.
Install Termius by running the command below otherwise you can install the .deb package from here if you are on a debian-based distro (Ubuntu, Debian, Linux Mint, etc).
If you don't have Snap installed, you can find instructions on how to download it here.
If at any time during installing dependencies the "(package name) has no installation candidate/(package name) is not available" error appears, your apt version is outdated as explained below. Run "sudo apt update && sudo apt upgrade" to fix this issue.
It is necessary to update the system before proceeding.
Start by updating the repositories:
Then upgrade all packages:
If "Pending kernel upgrade" or "Daemons using outdated libraries" appears, hit Enter.
Once apt has finished upgrading, reboot the VPS:
Wait ~1 minute for the reboot to finish then reconnect to your VPS.
Sometimes apt doesn't get upgraded. To avoid this, upgrade the system once more.
Then:
Install pip by running:
Install pipenv by running:
If you're not planning on using PM2, skip this section. PM2 is required for keeping your bot alive 24/7.
Start by installing node.js and npm:
npm depends on a considerable amount of packages. Expect this to take some time.
Install pm2 by running:
Install libcairosvg by running:
Last updated
xcode-select --installsudo port install puttysudo snap install termius-appsudo apt updatesudo apt upgradesudo rebootsudo apt updatesudo apt upgradesudo apt install python3-pipsudo pip install pipenvsudo apt install nodejs npmsudo npm i -g pm2sudo apt install libpangocairo-1.0-0