# Installing Sherpa Robot Attended on RedOS

> Sudo privileges are required for installation

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

## Installing .NET Core 8

General installation instructions are available on the Microsoft website:

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

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

* Install .NET SDK 8.0:

```
sudo dnf install -y dotnet-sdk-8.0
```

* Install PowerShell:

```
sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-7.4.2-1.rh.x86_64.rpm
```

## Installing libgdiplus

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

```
sudo dnf install libgdiplus
```

## Installing tesseract

To work with tesseract, run the following command in the terminal:

```
sudo dnf install tesseract-langpack-rus
```

## Installing python

To work with python, run the following command in the terminal:

```
sudo dnf install python3-devel.x86_64
```

## Downloading and Extracting the Robot

**Run the following commands 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.php -O sherpa-robot.zip
```

* Extract the ZIP archive:

```
unzip -o sherpa-robot.zip
```

* Navigate to the sherpa-robot folder and set executable permissions for the files:

```
cd sherpa-robot && chmod +x Chrome/process-agent-host && chmod +x process-agent && chmod +x sherpa-assistant && cd ../
```

> To 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.php -O sherpa-robot.zip && unzip -o sherpa-robot.zip && cd sherpa-robot && chmod +x Chrome/process-agent-host && chmod +x process-agent && chmod +x sherpa-assistant && cd ../`

* Start Sherpa Assistant:

```
./sherpa-robot/sherpa-assistant
```

From the file manager, navigate to the sherpa-robot folder and create a shortcut for the sherpa-assistant file.

## Installing Yandex Browser

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

* Open the browser and go to the "Extensions" section.
* Navigate to the folder with the installed Robot:

```
/home/user/sherpa-robot
```

* Go to the Chrome folder:

```
/home/user/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. Run the following commands:

  * Make the script install\_host.sh executable:

  `chmod +x install_host.sh`

  * Run the script install\_host.sh:

  `./install_host.sh`
* Launch the browser.

If the Sherpa RPA plugin icon has turned blue, the plugin has been successfully installed.

You can also install the plugin from the website:

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

After that, you need to perform steps 3, 4, 5, 6, and 7.

## Installing Chromium

To enable the Robot to work with Chromium, you need to install a plugin:

* Go to the link:

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

* Install the plugin.
* Navigate to the folder:

```
 /home/user/sherpa-robot/Chrome
```

* Open a terminal window in the current folder:

  * Make the script install\_host.sh executable:

  `chmod +x install_host.sh`

  * Run the script install\_host.sh:

  `./install_host.sh`

  * Copy the JSON configuration file for Native Messaging extensions from Chrome to Chromium:

  `cp -f $HOME/.config/google-chrome/NativeMessagingHosts/processagent.sherparpa.json $HOME/.config/chromium/NativeMessagingHosts`
* Launch the browser.

If the Sherpa RPA plugin icon has turned blue, the plugin has been successfully installed.


---

# 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-attended-na-linux/ustanovka-sherpa-robot-attended-na-redos.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.
