How To Install libosl-dev on Kali Linux

In this tutorial we learn how to install libosl-dev on Kali Linux. libosl-dev is library for Shogi playing programs

Introduction

In this tutorial we learn how to install libosl-dev on Kali Linux.

What is libosl-dev

libosl-dev is:

OpenShogiLib (OSL) provides following features of Shogi playing programs, especially for Shogi programming study. Shogi is a Japanese two-player board game like Chess.

  1. Board: reading/writing records, generating legal moves etc.
  2. Evaluation function: piece values and a lot of features
  3. Hash table: hashing boards etc.
  4. Checkmate search: concurrent df-pn+ etc.
  5. Search framework: full-depth search, realization probability etc.
  6. Move category: mate, illegal moves etc.
  7. Opening book
  8. Gaming: search time control etc.

This package contains header files and static libraries for developers.

There are three methods to install libosl-dev on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libosl-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libosl-dev using apt-get by running the following command:

sudo apt-get -y install libosl-dev

Install libosl-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libosl-dev using apt by running the following command:

sudo apt -y install libosl-dev

Install libosl-dev Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libosl-dev using aptitude by running the following command:

sudo aptitude -y install libosl-dev

How To Uninstall libosl-dev on Kali Linux

To uninstall only the libosl-dev package we can use the following command:

sudo apt-get remove libosl-dev

Uninstall libosl-dev And Its Dependencies

To uninstall libosl-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libosl-dev

Remove libosl-dev Configurations and Data

To remove libosl-dev configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libosl-dev

Remove libosl-dev configuration, data, and all of its dependencies

We can use the following command to remove libosl-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libosl-dev

Dependencies

libosl-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libosl-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.