How To Install libccd on CentOS 7

In this tutorial we learn how to install libccd on CentOS 7. libccd is Library for collision detection between convex shapes

Introduction

In this tutorial we learn how to install libccd on CentOS 7.

What is libccd

libccd implements variation on Gilbert-Johnson-Keerthi (GJK) algorithm + Expand Polytope Algorithm (EPA). It also implements Minkowski Portal Refinement (MPR, a.k.a. XenoCollide) algorithm as published in Game Programming Gems 7.

We can use yum or dnf to install libccd on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libccd.

Install libccd on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install libccd using yum by running the following command:

sudo yum -y install libccd

Install libccd on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install libccd using dnf by running the following command:

sudo dnf -y install libccd

How To Uninstall libccd on CentOS 7

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

sudo dnf remove libccd

References

Summary

In this tutorial we learn how to install libccd on CentOS 7 using yum and dnf.