How To Install icheck on Debian 9

In this tutorial we learn how to install icheck on Debian 9. icheck is C interface ABI/API checker

Introduction

In this tutorial we learn how to install icheck on Debian 9.

What is icheck

icheck is:

A tool for statically checking C interfaces for API and ABI changes. All changes to type declarations that can cause ABI changes should be detected, along with most API changes.

icheck is intended for use with libraries, as a method of preventing ABI drift.

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

Install icheck Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install icheck

Install icheck Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install icheck using apt by running the following command:

sudo apt -y install icheck

Install icheck Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install icheck

How To Uninstall icheck on Debian 9

To uninstall only the icheck package we can use the following command:

sudo apt-get remove icheck

Uninstall icheck And Its Dependencies

To uninstall icheck and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove icheck

Remove icheck Configurations and Data

To remove icheck configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge icheck

Remove icheck configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge icheck

Dependencies

icheck have the following dependencies:

References

Summary

In this tutorial we learn how to install icheck package on Debian 9 using different package management tools: apt, apt-get and aptitude.