Skip to main content

Linux Debian Installation

Installation for Linux (Debian) Devices

1- 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 -y openjdk-11-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 -y 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.
### 2- Download and Installation of the Digital Signature Application - Debian

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

For the installation of the Digital Signature application, we will use the terminal application on Linux (Debian) 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-uploadbe391b17-ebef-470a-91eb-51398cac161a)

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

![title](https://docsbimser.blob.core.windows.net/imagecontainer/auto-uploadd0f9b029-db13-4197-b089-736d2186c9b5)

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

Then enter your password on the password screen that appears. This will provide the necessary permissions during the installation.

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


And leave a space

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

''sh
bash /home/username/Downloads/SetupFiles/DSClientDebian.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 Enter to execute the command.

title

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.

3 - How to Access Log Records - Debian

The example is described through Debian11.

Open Files from the side menu.

title

In the window that opens, select other locations.

title

Open Computer

title

Turn on opt.

title

Open SetupFiles

title

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.

  • If you have to stop the digital signature service, you can follow these steps.

Open the confirmation First, type the authorization command and enter your password:

''sh water


To stop the service :

''sh
systemctl stop dsclientservice.service

Execute the command.

It may prompt you for your password, enter your password.

After executing the stop command to shut down the service ''sh systemctl disable dsclientservice.service

Execute the command.

After executing the shutdown command to completely delete the service from your device
''sh
rm -r /lib/systemd/system/dsclientservice.service

command and to save the changes that result from this removal

''sh systemctl daemon-reload


Perform this command.

###4 - 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

and

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


If an error occurred after you ran these scripts

''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.

2. 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