How To Install liblcms2-dev on Kali Linux

In this tutorial we learn how to install liblcms2-dev on Kali Linux. liblcms2-dev is Little CMS 2 color management library development headers

Introduction

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

What is liblcms2-dev

liblcms2-dev is:

LittleCMS 2 intends to be a small-footprint color management engine, with special focus on accuracy and performance. It uses the International Color Consortium standard (ICC) of color management. Little CMS 2 is a full implementation of ICC specification 4.2 plus all addendums. It fully supports all V2 and V4 profiles, including abstract, devicelink and named color profiles.

This package contains the development headers used for building software that uses Little CMS.

There are three methods to install liblcms2-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 liblcms2-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 liblcms2-dev using apt-get by running the following command:

sudo apt-get -y install liblcms2-dev

Install liblcms2-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liblcms2-dev

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

sudo aptitude -y install liblcms2-dev

How To Uninstall liblcms2-dev on Kali Linux

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

sudo apt-get remove liblcms2-dev

Uninstall liblcms2-dev And Its Dependencies

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

sudo apt-get -y autoremove liblcms2-dev

Remove liblcms2-dev Configurations and Data

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

sudo apt-get -y purge liblcms2-dev

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

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

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

Dependencies

liblcms2-dev have the following dependencies:

References

Summary

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