StarLine-Master
Quick Installation Guide on Linux

ATTENTION!
To install on a 64-bit system, use only the setup-slm-linux-x64 archive.
And for installation on a 32-bit system, use the setup-slm-linux-x86 archive.

DEBIAN
NOTE: there is no sudo program in the basic set.
To install the StarLine Master package, you need the sudo program, which is not present in Debian when installed by default.

0. Checking sudo
Start the terminal, execute the command:
~$ sudo --version

If there is a version of sudo in the output of the command, go to step 2.
If an error is displayed, you need to install sudo:

1. Installing sudo
1.1 Switching to the root user:
~$ su
password: ****

If the root password is entered correctly, the user's indicator will switch to the grid:
#
1.2 Installing sudo from the repository:
# aptitude install sudo

2. Configuring sudoers
You need to edit the /etc/sudoers file by adding rights to the user:
# visudo

The /etc/sudoers file opens. Find the lines "User privilege specification" and add the permissions for the current user to the file.
For example, if the user has the name 'user', then the configuration of the file will look like this:
# User privilege specification
root ALL = (ALL) ALL
user ALL = (ALL) ALL <--- added string

Save the file: F2 or Ctrl + O or Ctrl + S depending on the editor.

3. Installing the StarLine-Master Application
For example, version 2.8.0 for a 64-bit system.

Option 1.
3.1 Unzip the file setup-slm-linux-x64-2.8.0.zip in the download directory, by default ~/Downloads.
In this directory, the file starline-master-setup.run should appear
3.2 Run the starline-master-setup.run with a double mouse click.
If the installation is successful, the following messages appear on the screen:
...
StarLine-Master successfully insatlled
REBOOT THE SYSTEM OR RE-LOGIN TO APPLY NEW USB SETTINGS
Press Return to close this window ..

You need to close the window by pressing the Enter button.
When initially installing StarLine-Master on the computer, it is NECESSARY(!) to make a reboot in order to apply new settings for working with USB and serial port.

Option 2. Through the command line terminal.
3.0 Start the terminal
3.1 Go to the download directory, for example ~/Downloads:
~$ cd Downloads/ 

3.2 Unpack the archive setup-slm-linux-x64-2.8.0.zip:
~/Downloads$ unzip setup-slm-linux-x64-2.8.0.zip

3.3 Run the starline-master-setup.run:
~/Downloads$ ./starline-master-setup.run

If the installation is successful, the following messages appear on the screen:
...
StarLine-Master successfully insatlled
REBOOT THE SYSTEM OR RE-LOGIN TO APPLY NEW USB SETTINGS
Press Return to close this window ..

Close the window by pressing the Enter button.
When initially installing StarLine-Master on the computer, it is NECESSARY(!) to make a reboot in order to apply new settings for working with USB and serial port.

UBUNTU
NOTE: does not run script files, but opens them in the editor. Therefore, a simple version 1 as for installation on Debian does not work.
Items 1 and 2 are not needed, sudo is installed in the system initially.

1. Installing the StarLine-Master Application
Through the command line terminal.
1.0 Start the terminal
1.1 Go to the download directory, for example ~/Downloads:
~$ cd Downloads/

1.2 Unpack the archive setup-slm-linux-x64-2.8.0.zip:
~/Downloads$ unzip setup-slm-linux-x64-2.8.0.zip

1.3 Run starline-master-setup.run:
~/Downloads$ ./starline-master-setup.run

If the installation is successful, the following messages appear on the screen:
...
StarLine-Master successfully insatlled
REBOOT THE SYSTEM OR RE-LOGIN TO APPLY NEW USB SETTINGS
Press Return to close this window ..

Close the window by pressing the Enter button.
When initially installing StarLine-Master on the computer, it is NECESSARY(!) to make a reboot in order to apply new settings for working with USB and serial port.