# Installing Sherpa RPA on Alt Linux

> Sudo privileges are required for installation.

## 1. Installing .NET Core 8

Run the following commands in the terminal:

* Log in with administrator rights:

`su`

* Download the .NET installation 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 in the directory /usr/share/dotnet:

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

* Open the system environment variable configuration file for editing:

`mcedit /etc/profile`

* In the file /etc/profile, before the line `[ -n "$PATH"]`, insert the following line:

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

* Add the variable to the environment:

`export DOTNET_ROOT`

* Before the line `export PATH` in the file /etc/profile, add:

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

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-ff4862f4de25c9e3719dbd5a638a18f96f7900ce%2F%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5%20(75).png?alt=media" alt=""><figcaption></figcaption></figure>

* Restart the computer;
* Update the packages:

`apt-get update`

## 2. Installing Language Models for Tesseract OCR <a href="#id-2.-ustanovka-biblioteki-libgdiplus" id="id-2.-ustanovka-biblioteki-libgdiplus"></a>

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

* Download the archive

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

* Unzip it to the folder

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

## 3. Installing the libgdiplus Library <a href="#id-2.-ustanovka-biblioteki-libgdiplus" id="id-2.-ustanovka-biblioteki-libgdiplus"></a>

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

**Run in the terminal:**

`apt-get install libgdiplus` .

## 4. Downloading and Running the Installer

**Run 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 contains 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 previously installed, you will see a window notifying you of 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-af08c57b4580161d3d2dcff480f19c16cc0c5c47%2F%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5%20(77).png?alt=media" alt=""><figcaption></figcaption></figure>

* If this is the first installation, or if you selected "Install" in the previous window, the installer window will appear. You will be able to choose:
  * creating a shortcut on the desktop,
  * creating a folder in the Start menu,
  * installing the Robot for the current User / for all Users;

<figure><img src="https://3237142148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FscP4BXwl9ufpJr5mfVln%2Fuploads%2Fgit-blob-6feadf31c0d9fbef3ef162fc69ba4c819a561f43%2F%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5%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-7e5899c141b1e83f5f834cef5230f61215c79a7c%2F%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5%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-f5244a26cc504e91fd54883e3ff4e3b00025d485%2F%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5%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-cdbc3dee0e2fefcd61aeb53ddce2635690de596b%2F%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5%20(85).png?alt=media" alt=""><figcaption></figcaption></figure>

## 5. 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 run:

`chmod +x install_host.sh` ;

`./install_host.sh` ;

* Launch the browser.

If the Sherpa RPA plugin icon has turned 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 then 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-alt-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.
