How To Install elks-libc on Kali Linux

In this tutorial we learn how to install elks-libc on Kali Linux. elks-libc is 16-bit x86 C library and include files

Introduction

In this tutorial we learn how to install elks-libc on Kali Linux.

What is elks-libc

elks-libc is:

This is the C library used to compile with bcc. It includes all the headers and static libraries needed to build 16-bit applications, for Linux/8086, Linux/i386 and DOS .COM executables.

There are three methods to install elks-libc 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 elks-libc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install elks-libc

Install elks-libc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elks-libc

Install elks-libc 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 elks-libc using aptitude by running the following command:

sudo aptitude -y install elks-libc

How To Uninstall elks-libc on Kali Linux

To uninstall only the elks-libc package we can use the following command:

sudo apt-get remove elks-libc

Uninstall elks-libc And Its Dependencies

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

sudo apt-get -y autoremove elks-libc

Remove elks-libc Configurations and Data

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

sudo apt-get -y purge elks-libc

Remove elks-libc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge elks-libc

Dependencies

elks-libc have the following dependencies:

References

Summary

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