Installing Sherpa RPA on Astra Linux#
Root or
sudoprivileges are required to install.
1. Install .NET 8.0 #
General installation instructions are available from Microsoft:
Run in a terminal:
- Download the configuration package:
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 package lists:
sudo apt-get update
- Install the .NET SDK 8.0:
sudo apt-get install -y dotnet-sdk-8.0
- Install PowerShell:
sudo apt-get install -y powershell
You should see the message: “Installation finished successfully”.
2. Enable transparency for selector highlighting#
Open the "fly-admin-center" control panel and go to "Appearance":
.png)
Go to the "Effects" tab and ensure both "Compositing manager" and "Transparency" are enabled.
3. Configure libgdiplus#
To enable keyboard and mouse emulation, install the libgdiplus library.
Run in a terminal:
sudo apt install libgdiplus
If the package is not found, add the repository.
You can add it using the Synaptic Package Manager by adding the following line:
deb https://dl.astralinux.ru/astra/frozen/2.12_x86-64/2.12.45/repository stable main contrib non-free
4. 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
5. Install Python#
Install Python development headers:
sudo apt-get install -y libpython3.7-dev
If the installation fails, install the "Development Tools" packages via Synaptic Package Manager.
6. Download and run the installer#
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
- If Sherpa was installed previously, a dialog will inform you. You can choose "Install" (to update) or "Remove" (to uninstall);
.png)
- Choose the installation folder and click "Next";
.png)
- The next window will show the installation progress;
.png)
- When the installation completes, a dialog will appear allowing you to run Sherpa Designer by clicking the "Run" button.
.png)
7. 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
Chromefolder:
/home/user/.config/sherpa-rpa/sherpa-robot /Chrome ;
- Drag the
plugin.crxfile 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:
And then perform steps 3, 4, 5 above.