How To Install libcgal-ipelets on Ubuntu 18.04

In this tutorial we learn how to install libcgal-ipelets on Ubuntu 18.04. libcgal-ipelets is C++ library for computational geometry (ipelets)

Introduction

In this tutorial we learn how to install libcgal-ipelets on Ubuntu 18.04.

What is libcgal-ipelets

libcgal-ipelets is:

CGAL (Computational Geometry Algorithms Library) makes the most important of the solutions and methods developed in computational geometry available to users in industry and academia in a C++ library. The goal is to provide easy access to useful, reliable geometric algorithms.

This package contains the ipelets, i.e., plugins for ipe.

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

Install libcgal-ipelets Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libcgal-ipelets

Install libcgal-ipelets Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcgal-ipelets

Install libcgal-ipelets 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libcgal-ipelets

How To Uninstall libcgal-ipelets on Ubuntu 18.04

To uninstall only the libcgal-ipelets package we can use the following command:

sudo apt-get remove libcgal-ipelets

Uninstall libcgal-ipelets And Its Dependencies

To uninstall libcgal-ipelets and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libcgal-ipelets

Remove libcgal-ipelets Configurations and Data

To remove libcgal-ipelets configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libcgal-ipelets

Remove libcgal-ipelets configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libcgal-ipelets

References

Summary

In this tutorial we learn how to install libcgal-ipelets package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.