How To Install libppl-swi on Kali Linux

In this tutorial we learn how to install libppl-swi on Kali Linux. libppl-swi is Parma Polyhedra Library (SWI Prolog interface)

Introduction

In this tutorial we learn how to install libppl-swi on Kali Linux.

What is libppl-swi

libppl-swi is:

The Parma Polyhedra Library (PPL) is a C++ library for the manipulation of (not necessarily closed) convex polyhedra and other numerical abstractions. The applications of convex polyhedra include program analysis, optimized compilation, integer and combinatorial optimization and statistical data-editing. The Parma Polyhedra Library is user friendly (you write `x + 2y + 5z <= 7’ when you mean it), fully dynamic (available virtual memory is the only limitation to the dimension of anything), written in standard C++, exception-safe, rather efficient and thoroughly documented.

This package provides the SWI Prolog interface.

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

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

sudo apt-get update

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

sudo apt-get -y install libppl-swi

Install libppl-swi Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libppl-swi

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

sudo aptitude -y install libppl-swi

How To Uninstall libppl-swi on Kali Linux

To uninstall only the libppl-swi package we can use the following command:

sudo apt-get remove libppl-swi

Uninstall libppl-swi And Its Dependencies

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

sudo apt-get -y autoremove libppl-swi

Remove libppl-swi Configurations and Data

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

sudo apt-get -y purge libppl-swi

Remove libppl-swi configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libppl-swi

Dependencies

libppl-swi have the following dependencies:

References

Summary

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