# Installing Sherpa RPA on Astra Linux

> Sudo privileges are required for installation.

## 1. Installing .NET 8.0 <a href="#docs-internal-guid-f9793f2b-7fff-a245-1b5d-b6830db76dae" id="docs-internal-guid-f9793f2b-7fff-a245-1b5d-b6830db76dae"></a>

General installation instructions are provided on the Microsoft website:

{% embed url="<https://docs.microsoft.com/en-us/dotnet/core/install/linux-debian>" %}

{% embed url="<https://docs.microsoft.com/en-us/powershell/scripting/install/install-debian?view=powershell-7.2>" %}

**Execute in the 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`

A message will appear: “Installation finished successfully”.

## 2. Enabling Transparency for Selector Highlighting

Launch the "fly-admin-center" control panel. Go to the "Fly Design" section:

Go to the "Effects" tab and ensure that the two parameters "Composite Manager" and "Transparency" are enabled.

## 3. Setting Up the libgdiplus Library

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

**Execute in the terminal:**

`sudo apt install libgdiplus`

If you receive a message that the package is not found, you need to add the repository.

This can be done 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. Installing Tesseract

To work with Tesseract, execute the following command in the terminal:

`sudo apt install tesseract-ocr-rus`

If you plan to use Tesseract OCR or the automatic page rotation recognition feature in the Template Designer, to improve the quality of the result, perform the following actions:

* Download the archive

`wget` [`https://sherparpa.ru/downloads/traineddata.zip`](https://sherparpa.ru/downloads/traineddata.zip) `-O traineddata.zip`

* Unzip it to the folder

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

## 5. Installing Python

To work with Python, execute the following command in the terminal:

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

If the installation finished with an error, you need to install the "Development Tools" packages. This can be done in the "Synaptic Package Manager".

## 6. Downloading and Running the Installer

**Execute in the terminal:**

* Remove the old version of the installer:

`rm -f SherpaRPA`

* Download the latest version of the installer:

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

* Add the execution flag to the file:

`chmod +x SherpaRPA`

* Run the installer:

`./SherpaRPA`

> To download and run the installer, you can enter this line in the terminal. It combines all the commands described above: rm -f SherpaRPA && wget <https://sherparpa.ru/downloads/linux/SherpaRPA.php> -O SherpaRPA && chmod +x SherpaRPA && ./SherpaRPA

* If the Robot was installed previously, you will see a window notifying you about this. In it, you can choose "Install" (to update the Robot) or "Remove" (to uninstall the Robot);

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-7a5ed74d80923b1617900cf8239e31576cb97452%2Fimage%20(79).png?alt=media" alt=""><figcaption></figcaption></figure>

* Choose a folder for installing the Robot and click the "Next" button;

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-31ff4fcdb8193c3962fe9b1d5ae0c4597dd14ffd%2Fimage%20(81).png?alt=media" alt=""><figcaption></figcaption></figure>

* Next, a window will appear showing the installation process of the Robot;

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-62ea86eeb6809f647ff7135c1d520572de7c83d8%2Fimage%20(82).png?alt=media" alt=""><figcaption></figcaption></figure>

* When the installation is complete, you will see a window where you can immediately launch Sherpa Designer by clicking the "Launch" button.

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-c72708772e4452e786e931d0c8ac5426afa6054a%2Fimage%20(85).png?alt=media" alt=""><figcaption></figcaption></figure>

## 7. Installing the Plugin in Yandex Browser

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

* Open the browser and go to the “Extensions” section;
* Then launch the file manager and open 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 window in the current folder and execute:

`chmod +x install_host.sh` ;

`./install_host.sh` ;

* Launch the browser.

If the Sherpa RPA plugin icon turns blue, it means the plugin has been successfully installed.

The plugin can also be installed from the website:

{% embed url="<https://chrome.google.com/webstore/detail/sherpa-rpa/bdnlfnchnkjeempadnmcgbbkbacffobl>" %}

And after that, perform steps 3, 4, and 5.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sherparpa.ru/en/sherpa-rpa/ustanovka-sherpa-rpa/ustanovka-sherpa-rpa-na-linux.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
