How To Install libccd on Rocky Linux 8

In this tutorial we learn how to install libccd on Rocky Linux 8. libccd is Library for collision detection between convex shapes

Introduction

In this tutorial we learn how to install libccd on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libccd.

Install libccd on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libccd

Install libccd on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libccd

How To Uninstall libccd on Rocky Linux 8

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

sudo dnf remove libccd

libccd Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/73
/usr/lib/.build-id/73/1f30f8528f3cfd2ab5298038465b88cef3d66f
/usr/lib64/libccd.so.2
/usr/lib64/libccd.so.2.1
/usr/share/doc/libccd
/usr/share/doc/libccd/BSD-LICENSE
/usr/share/doc/libccd/README.md

References

Summary

In this tutorial we learn how to install libccd on Rocky Linux 8 using yum and dnf.