Installing Sherpa RPA on Astra Linux#

Root or sudo privileges are required to install.

1. Install .NET Core 8#

General installation instructions are available from Microsoft:

Установка .NET в Debian - .NETdocs.microsoft.com Install PowerShell 7 on Debian - PowerShelldocs.microsoft.com

Run in a terminal:

  • Download the configuration file:

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

  • Install the package:

sudo dpkg -i packages-microsoft-prod.deb

  • Remove the file:

rm packages-microsoft-prod.deb

  • Update the package list:

sudo apt-get update

  • Install .NET SDK 8.0:

sudo apt-get install -y dotnet-sdk-8.0

  • Install PowerShell:

sudo apt-get install -y powershell

2. Enable transparency for selector highlighting#

Launch the "fly-admin-center" control panel. Go to "Fly Appearance". Open the "Effects" tab and make sure two options are enabled: "Composite Manager" and "Transparency".

3. Install the libgdiplus library for keyboard and mouse emulation#

Run in a terminal:

sudo apt install libgdiplus

If you receive a message that the package was not found, add the repository. You can do this in the "Synaptic Package Manager".

deb https://dl.astralinux.ru/astra/frozen/2.12_x86-64/2.12.45/repository stable main contrib non-free

4. Install Tesseract#

Run in a terminal:

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 and unpack it into a folder:

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

  • Unpack it into:

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

5. Install Python#

Run in a terminal:

sudo apt-get install -y libpython3.7-dev

If installation finishes with an error, install the "Development Tools" package group. You can do this in the "Synaptic Package Manager".

6. Download and run the installer#

Run in a terminal:

  • Remove the old installer version:

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

You can download and run the installer in a terminal with this one-liner. It combines all the commands above: rm -f SherpaRPA && wget https://downloads.sherparpa.ru/SherpaRPA/linux/ru/SherpaRPA -O SherpaRPA && chmod +x SherpaRPA && ./SherpaRPA

7. Installation #

  1. If the Robot was installed previously, you will see the following window:
  1. If installation is happening for the first time, or you selected "Install" in the previous step, the following window will appear:

You can choose to create a desktop shortcut, create a folder in the Start menu, and install the Robot for the current user or for all users.

  1. After clicking "Next", you must choose the folder for installing the Robot:
  1. After clicking "Next", a window will show the Robot installation progress:
  1. When installation finishes, you will see a window where you can immediately launch Sherpa Designer by clicking "Run".

7.1. Install the plugin in Yandex Browser#

To work with Yandex Browser, the Robot requires the plugin:

  1. Open the browser and go to the "Extensions" section;

  2. Then open the file manager and open the folder with the installed Robot:

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

  1. Go to the Chrome folder:

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

  1. Drag the plugin.crx file into the browser window;

  2. Add the extension;

  3. Close the browser;

  4. Open a terminal window in the current folder and run the following commands:

chmod +x install_host.sh

./install_host.sh

  1. Start the browser.

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

You can also install the plugin from the site:

Sherpa RPA Browser Automation 3.1.0 - Chrome Web Storechrome.google.com

And then complete steps 4, 5, 6, 7, 8.