Skip to main content

Linux Ubuntu Installation

Linux -Ubuntu- Installation for Devices

Requirements

Before installing the Digital Signature application on your device, the Java library mentioned below must be installed on your device. JRE (Java Runtime Environment). You can run the following code in the terminal of your Linux device to install Java.

''sh sudo apt-get install openjdk-8-jre


When you apply the above code please enter your password it will ask you for sudo user password. If you receive a message stating that you are not a sudo user, first click on the same terminal

''sh
water

Apply the code and enter your password then

''sh apt-get install openjdk-8-jre

You can install Java by following the command.

Note: it is recommended that you be a sudo user in order to successfully carry out the installation process. You can get support from your IT department about this.

### Downloading and Installing the Digital Signature Application - Linux

To download DSClient Linux Ubuntu version [```<```strong```>```click here.```<```/strong```>```](https://portal.synergynow.io/#/_redirect/vVXqBfX3ZQfDGc0UhTkP8d)

For the installation of the Digital Signature application, we will use the terminal application available on Linux devices.

To do this, right-click on an empty space in your SetupFiles folder and select "Open in Terminal" or "Open in Terminal" from the menu that comes up.
Select .

![title](https://docsbimser.blob.core.windows.net/imagecontainer/auto-uploadd63a8877-fb37-4665-9631-85395b359478)

When you open the terminal, a screen similar to the image below will appear.

![title](https://docsbimser.blob.core.windows.net/imagecontainer/auto-upload6aba1558-e38b-4532-a82b-da70a46319c8)

On this screen, type the following command:
''sh
Bash

And leave a space

Then grab and drag the DSClientMac.sh file from the Setup Files folder to this screen

''sh bash /home/username/Downloads/SetupFiles/DSClientLinux.sh

The line of code will look similar to the example above. The only difference will be your file location.
You need to delete 1 space at the end of the code line.
Then press Entr to execute the command.

You will be asked to enter your user password.
Notice here that when you type your password in the linux terminal, it can be seen as if it is not typing anything, this is normal.

![title](https://docsbimser.blob.core.windows.net/imagecontainer/auto-uploadf15b438e-c1e7-4155-a42d-26bd787dc86e)

If the operation is successful, the Terminal image will be as in the image above and the terminal will move to a bottom line.
In case of any problems, the program creates its own operation and error records. If you forward the registration messages in these files, your problems will be solved faster.

### How to Access Log Records - Linux

The example is described through Ubuntu.

Open Files from the side menu.

![title](https://docsbimser.blob.core.windows.net/imagecontainer/auto-upload211255ab-3534-4b94-889c-1de447ffafc5)

In the window that opens, select other locations.

![title](https://docsbimser.blob.core.windows.net/imagecontainer/auto-upload479e8dbc-b388-4f6b-8331-17a6d56df183)

Open Computer

![title](https://docsbimser.blob.core.windows.net/imagecontainer/auto-uploada7d48231-e413-48e9-be82-3520bc7799c5)

Open usr.

![title](https://docsbimser.blob.core.windows.net/imagecontainer/auto-upload3a5a118c-8004-4740-b7aa-90b5bcd11e8f)

Turn on Bin

![title](https://docsbimser.blob.core.windows.net/imagecontainer/auto-upload391c0e9d-3dbb-4736-a239-b1792025a8e5)

Open the Setupfiles located in the bin

![title](https://docsbimser.blob.core.windows.net/imagecontainer/auto-upload370886f6-c363-402c-84cb-47722ac8869b)

There is a "servicelog.err.txt" file in the setupfiles.
If the digital signature service encounters any errors during installation or after restarting your computer, it will register it here.
You can open this file with the text editor by double-clicking it.

Non-error records of the program are kept in the "servicelog.out.txt" file in the same folder.

### Card Reader Not Found or Certificates Not Readable Error

If the card reader device and certificates are not listed when logging in to the system, follow the steps below.

1. Apply the code specified below in your terminal.

''sh
sudo apt-get update &&; sudo apt-get install pcscd pcsc-tools opensc-tools opensc-pkcs11 libpam-pkcs11 libstdc++6 libccid libusb-0.1-4 libpcsclite1

If an error occurred after running this code 

''sh apt-get -f install

``` 

command and the problem will be solved.

Afterward

''sh sudo systemctl enable pcscd

``` 

command and your card reader and certificates will be visible on the system side.

It is recommended that you restart your computer after installation, as in some cases you may need to restart your computer.

  1. If the 1st method did not work for you, select your operating system and the appropriate card reader from https://kamusm.bilgem.tubitak.gov.tr/islemler/surucu_yukleme_servisi/ address. This page will show you 2 applications. Download and install Smart card driver and Card reader driver on your device.

You can follow the steps below to install it.

Unzip the file with the extension .deb of the smart card driver Akis in the archive and type the following command in the terminal, then drag and drop the file onto the terminal.

In the card reader driver folder, there may be more than one folder, open these folders and install the package with the .deb extension in the one closest to your operating system.

''sh sudo dpkg -i