How To Install libpolyclipping22 on Kali Linux

In this tutorial we learn how to install libpolyclipping22 on Kali Linux. libpolyclipping22 is Polygon and line clipping and offsetting library (shared library)

Introduction

In this tutorial we learn how to install libpolyclipping22 on Kali Linux.

What is libpolyclipping22

libpolyclipping22 is:

The Clipper library performs polygon clipping, polygon offsetting and polyline offsetting. All four boolean clipping operations are supported - intersection, union, difference and exclusive-or. Also, there are no restrictions on the types of polygons that can be clipped - they can have holes, be self-intersecting, have coincident edges etc.

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

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

sudo apt-get update

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

sudo apt-get -y install libpolyclipping22

Install libpolyclipping22 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpolyclipping22

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

sudo aptitude -y install libpolyclipping22

How To Uninstall libpolyclipping22 on Kali Linux

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

sudo apt-get remove libpolyclipping22

Uninstall libpolyclipping22 And Its Dependencies

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

sudo apt-get -y autoremove libpolyclipping22

Remove libpolyclipping22 Configurations and Data

To remove libpolyclipping22 configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libpolyclipping22

Remove libpolyclipping22 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpolyclipping22

Dependencies

libpolyclipping22 have the following dependencies:

References

Summary

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