How To Install libccd on AlmaLinux 8

In this tutorial we learn how to install libccd in AlmaLinux 8. libccd is Library for collision detection between convex shapes

Introduction

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

Install libccd on AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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 AlmaLinux 8 using yum and dnf.