How To Install lib3ds on CentOS 7

In this tutorial we learn how to install lib3ds on CentOS 7. lib3ds is 3D Studio file format library

Introduction

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

What is lib3ds

lib3ds is a free ANSI-C library for working with the popular “3ds” 3D model format. Supported platforms include GNU (autoconf, automake, libtool, make, GCC) on Unix and Cygwin, and MS Visual C++ 6.0. lib3ds loads and saves Atmosphere settings, Background settings, Shadow map settings, Viewport setting, Materials, Cameras, Lights, Meshes, Hierarchy, Animation keyframes. It also contains useful matrix, vector and quaternion mathematics tools. lib3ds usually integrates well with OpenGL. In addition, some diagnostic and conversion tools are included.

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

Install lib3ds on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install lib3ds

Install lib3ds 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 lib3ds using dnf by running the following command:

sudo dnf -y install lib3ds

How To Uninstall lib3ds on CentOS 7

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

sudo dnf remove lib3ds

References

Summary

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