How To Install libpolyclipping16 on Debian 9

In this tutorial we learn how to install libpolyclipping16 on Debian 9. libpolyclipping16 is polygon clipping, polygon offsetting and polyline offsetting library

Introduction

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

What is libpolyclipping16

libpolyclipping16 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 libpolyclipping16 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 libpolyclipping16 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libpolyclipping16

Install libpolyclipping16 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpolyclipping16

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

sudo aptitude -y install libpolyclipping16

How To Uninstall libpolyclipping16 on Debian 9

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

sudo apt-get remove libpolyclipping16

Uninstall libpolyclipping16 And Its Dependencies

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

sudo apt-get -y autoremove libpolyclipping16

Remove libpolyclipping16 Configurations and Data

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

sudo apt-get -y purge libpolyclipping16

Remove libpolyclipping16 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpolyclipping16

Dependencies

libpolyclipping16 have the following dependencies:

References

Summary

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