The Datto RMM Agent will not install/uninstall on Linux

Issue

When trying to install or uninstall the Datto RMM Agent on Linux, the installation fails.

Cause

Installation issue causes

  • A corrupt or incorrect version of Mono is installed on the device.
  • Mono is missing from the device.
  • The device is not using bash as its default interpreter.

Uninstallation issue cause

  • The device is not using bash as its default interpreter.

Resolution

Installation issue

Open a Linux terminal and type the following command:
ls -al /bin/sh

If bash is not returned as the interpreter, you cannot use the following installation command:
sudo bash .sh

Instead, use the following command:
sudo sh .sh

Uninstallation issue

Open a Linux terminal and type the following command:
ls -al /bin/sh

If bash is not returned as the interpreter, you cannot use the following uninstallation command:
sudo bash uninst.sh

Instead, use the following command:
sudo sh uninst.sh