Installing Sherpa RPA on OSNova#

Root or sudo privileges are required to install.

Disable memory protection:

  • To disable permanently, add the following to /etc/default/grub:

GRUB_CMDLINE_LINUX_DEFAULT="quiet mprotect=off"

  • Update GRUB:

sudo update-grub

  • Reboot the machine.

Add the Debian repository to install libgdiplus:

  • For OSNova 2:

    • Download the file:

    sudo wget https://dl.nppct.ru/onyx/stable/misc/apt/sources.list.d/zz-debian-10-buster.list

    • Save the downloaded file to /etc/apt/sources.list.d/:

    -P /etc/apt/sources.list.d/

  • For OSNova 3:

    • Download the file:

    sudo wget https://dl.nppct.ru/onyx3/stable/misc/apt/sources.list.d/zz-debian-12-bookworm.list

    • Save the downloaded file to /etc/apt/sources.list.d/:

    -P /etc/apt/sources.list.d/

Update package lists:

sudo apt update

1. Install .NET Core 8#

General installation instructions are available from Microsoft:

linux debiandocs.microsoft.com install debiandocs.microsoft.com

Run in a terminal:

  • Download the installer file:

    • For OSNova 2:

    wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb

    • For OSNova 3:

    wget https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb

  • Install the downloaded file:

sudo dpkg -i packages-microsoft-prod.deb

  • Remove the temporary installer file:

rm packages-microsoft-prod.deb

  • Update package lists:

sudo apt update

  • Install .NET SDK version 8.0:

sudo apt install -y dotnet-sdk-8.0

  • Install PowerShell:

sudo apt install -y powershell

2. Install libgdiplus#

To enable keyboard and mouse emulation, install the libgdiplus library.

Run in a terminal:

sudo apt install libgdiplus

3. Install Tesseract#

Install Tesseract with:

sudo apt install tesseract-ocr-rus

If you plan to use Tesseract OCR or the automatic page rotation detection in the Templating tool, improve recognition quality by doing the following:

  • Download the archive

wget https://downloads.sherparpa.ru/SherpaRPA/linux/ru/traineddata.zip -O traineddata.zip

  • Unpack it to the folder

sudo unzip -o traineddata.zip -d /usr/share/tesseract-ocr/4.00/tessdata

4. Download and run the installer#

Remove the old installer and download the new one.

Run in a terminal:

  • Remove the old installer:

rm -f SherpaRPA ;

  • Download the latest installer:

wget https://downloads.sherparpa.ru/SherpaRPA/linux/ru/SherpaRPA -O SherpaRPA ;

  • Make the file executable:

chmod +x SherpaRPA ;

  • Run the installer:

./SherpaRPA .

To download and run the installer in one line, you can use: rm -f SherpaRPA && wget https://sherparpa.ru/downloads/linux/SherpaRPA.php -O SherpaRPA && chmod +x SherpaRPA && ./SherpaRPA

To install Sherpa RPA follow the instructions below:

  • If Sherpa was installed previously, a dialog will inform you. You can choose "Install" (to update) or "Remove" (to uninstall);
  • If this is a first-time installation, or you selected "Install" in the previous dialog, the installer will appear. You can choose:

    • create a desktop shortcut,
    • create a Start Menu folder,
    • install the Robot for the current user or for all users;
  • Then click "Next";

  • Choose the installation folder and click "Next";

  • The next window will show the installation progress;
  • When the installation completes, a dialog will appear allowing you to run Sherpa Designer by clicking the "Run" button.

5. Installing the plugin in Yandex Browser#

To enable the Robot to work with Yandex Browser, install the browser plugin:

  • Open the browser and go to the "Extensions" section;
  • Go to the folder with the installed Robot:

/home/user/.config/sherpa-rpa/sherpa-robot ;

  • Go to the Chrome folder:

/home/user/.config/sherpa-rpa/sherpa-robot /Chrome ;

  • Drag the plugin.crx file into the browser window;
  • Add the extension;
  • Close the browser;
  • Open a terminal in the current folder and run the following commands:

chmod +x install_host.sh ;

./install_host.sh ;

  • Start the browser.

If the Sherpa RPA plugin icon turns blue, the plugin is installed successfully.

You can also install the extension from the store:

bdnlfnchnkjeempadnmcgbbkbacffoblchrome.google.com

And then perform steps 3, 4, 5 above.