# Installing Sherpa Robot Unattended on Astra Linux

> Sudo privileges are required for installation

If the Robot is already installed, go to the section [Downloading and Unpacking the Robot](#skachivanie-i-raspakovka-robota) for updating it.

### Installing .NET Core 8 and PowerShell

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>" %}

* Download the Microsoft repository for Debian 10:

<pre><code><strong>wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb 
</strong></code></pre>

* Install the Microsoft repository on the system:

```
sudo dpkg -i packages-microsoft-prod.deb
```

* Remove the temporary installation 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
```

## Installing libgdiplus

To enable keyboard and mouse emulation, you need to install the libgdiplus library. To do this, execute the following in the terminal:

```
sudo apt install libgdiplus
```

If you receive a message that the package was 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
```

## Installing tesseract

To work with tesseract, execute the following in the terminal:

```
sudo apt install tesseract-ocr-rus
```

## Installing python

To work with python, execute the following 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".

## Installing RDP Server

To connect to the Coordinator machine, you need to install the xrdp server.

**Execute in the terminal:**

* Install xrdp:

```
sudo apt-get install xrdp
```

* Restart xrdp:

```
sudo systemctl restart xrdp
```

* Enable automatic start of xrdp on system boot:

```
sudo systemctl enable xrdp --now
```

* Reboot the system:

```
sudo reboot
```

## Downloading and Unpacking the Robot

**Execute in the terminal:**

* Remove the file sherpa-robot.zip:

```
rm -f sherpa-robot.zip
```

* Download the file sherpa-robot.zip:

```
wget https://sherparpa.ru/downloads/linux/get-robot.php -O sherpa-robot.zip
```

* Unpack the ZIP archive:

```
sudo unzip -o sherpa-robot.zip -d /usr/lib
```

* Go to the sherpa-robot folder and set execution permissions for the files:

  * Make the install\_host.sh script executable:

  `sudo chmod a+x /usr/lib/sherpa-robot/Chrome/install_host.sh`

  * Make the process-agent-host file executable:

  `sudo chmod a+x /usr/lib/sherpa-robot/Chrome/process-agent-host`

  * Make the process-agent file executable:

  `sudo chmod a+x /usr/lib/sherpa-robot/process-agent`

  * Make the sherpa-assistant file executable:

  `sudo chmod a+x /usr/lib/sherpa-robot/sherpa-assistant`

  * Make the sherpa-assistant-console file executable:

  `sudo chmod a+x /usr/lib/sherpa-robot/sherpa-assistant-console`

> To install or update the Robot to the latest version, you can enter this command in the terminal. It combines all the commands described above: `rm -f sherpa-robot.zip && wget https://sherparpa.ru/downloads/linux/get-robot.php -O sherpa-robot.zip && sudo unzip -o sherpa-robot.zip -d /usr/lib && sudo chmod a+x /usr/lib/sherpa-robot/Chrome/install_host.sh && sudo chmod a+x /usr/lib/sherpa-robot/Chrome/process-agent-host && sudo chmod a+x /usr/lib/sherpa-robot/process-agent && sudo chmod a+x /usr/lib/sherpa-robot/sherpa-assistant && sudo chmod a+x /usr/lib/sherpa-robot/sherpa-assistant-console`

## Adding Users to Run Unattended Robots

**Execute in the terminal:**

* Launch the management center:

```
sudo fly-admin-center
```

* Go to "Security" → "Security Policy" or select the item in the Start menu → "System" → "Security Policy".
* The initial setup for:

  * Adding a shortcut for Sherpa Assistant,
  * Adding shortcuts to startup for Unattended robots,
  * Specifying the Orchestrator server for Unattended robots,
  * Specifying the GUID of Robots for Unattended robot accounts.

  You must first create accounts on which the Unattended robots will run:

  * Make the post-configure file executable:

  `sudo chmod a+x /usr/lib/sherpa-robot/post-configure/post-configure`

  * Run the post-configure file with administrator privileges:

  `sudo /usr/lib/sherpa-robot/post-configure/post-configure`

You will see the main menu with commands:

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-5061bf21685a95d82cc6c48fd8d81470bd86a3cb%2F2025-07-25_17-14-32.png?alt=media" alt=""><figcaption></figcaption></figure>

1. The command creates shortcuts for Sherpa Assistant on the desktop, as well as in the Start menu → "Development".
2. The command removes shortcuts for Sherpa Assistant.
3. The command creates a shortcut in the user's startup to launch the Unattended robot.
4. The command removes the shortcut to launch the Unattended robot.
5. The command allows you to enter the Orchestrator server and specify the GUID of Robots.

All commands can be executed either for all accounts or selectively:

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-dd86cd04cad44d621e287702327f63d3d84f95ac%2F2025-07-25_17-15-32.png?alt=media" alt=""><figcaption></figcaption></figure>

## Installing Yandex Browser

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

This action needs to be performed for each account separately.

* Open the browser and go to the "Extensions" section.
* Launch the file manager and go to the folder:

```
/usr/lib/sherpa-robot/Chrome
```

* Drag the file plugin.crx into the browser window.
* Add the extension and close the browser.
* Open a terminal window in the current folder:

```
./install_host.sh
```

* Launch the browser.

If the Sherpa RPA plugin icon has turned blue, 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 4, 5, and 6.


---

# 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/sherpa-orchestrator/razvertyvanie-platformy-pod-upravleniem-orkestratora/ustanovka-sherpa-robot/ustanovka-sherpa-robot-unattended-na-linux/ustanovka-sherpa-robot-unattended-na-astra-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.
