Installing Sherpa RPA on Alt Linux#

Root or sudo privileges are required to install.

1. Install .NET Core 8#

Run the following in a terminal:

  • Switch to the administrator account:

su

  • Download the .NET install script:

wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh

  • Make the script executable:

chmod +x ./dotnet-install.sh

  • Install the SDK into /usr/share/dotnet:

./dotnet-install.sh --channel 8.0 --install-dir /usr/share/dotnet

  • Open the system environment configuration file for editing:

mcedit /etc/profile

  • In /etc/profile insert this line before the [ -n "$PATH"] line:

[ -n "$DOTNET_ROOT" ] || DOTNET_ROOT="/usr/share/dotnet"

  • Export the variable into the environment:

export DOTNET_ROOT

  • Before the export PATH line in /etc/profile add:

PATH="$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools"

  • Reboot the machine;
  • Update packages:

apt-get update

2. Install language data for Tesseract OCR #

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

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

3. Install the libgdiplus library #

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

Run in a terminal:

apt-get install libgdiplus .

4. Download and run the installer#

Run in a terminal:

  • Remove the old installer if present:

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 the following command combining the steps above: rm -f SherpaRPA && wget https://sherparpa.ru/downloads/linux/SherpaRPA.php -O SherpaRPA && chmod +x SherpaRPA && ./SherpaRPA

  • 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 window 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;
  • 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;
  • Open the file manager and navigate 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:

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.