How To Install libfcl-dev on Ubuntu 18.04

In this tutorial we learn how to install libfcl-dev on Ubuntu 18.04. libfcl-dev is Flexible Collision Library - development files

Introduction

In this tutorial we learn how to install libfcl-dev on Ubuntu 18.04.

What is libfcl-dev

libfcl-dev is:

FCL is a collision and proximity library that integrates several techniques for fast and accurate collision checking and proximity computation. Tje library is based on hierarchical representations and designed to perform multiple proximity queries on different model representations. The set of queries includes discrete collision detection, continuous collision detection, separation distance computation and penetration depth estimation. The input models may correspond to triangulated rigid or deformable models and articulated models. This package contains the development files.

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

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

sudo apt-get update

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

sudo apt-get -y install libfcl-dev

Install libfcl-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfcl-dev

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

sudo aptitude -y install libfcl-dev

How To Uninstall libfcl-dev on Ubuntu 18.04

To uninstall only the libfcl-dev package we can use the following command:

sudo apt-get remove libfcl-dev

Uninstall libfcl-dev And Its Dependencies

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

sudo apt-get -y autoremove libfcl-dev

Remove libfcl-dev Configurations and Data

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

sudo apt-get -y purge libfcl-dev

Remove libfcl-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libfcl-dev

References

Summary

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