How To Install tinyobjloader on Fedora 34

tinyobjloader is Tiny wavefront obj loader Tiny wavefront obj loader

Introduction

In this tutorial we learn how to install tinyobjloader on Fedora 34.

What is tinyobjloader

Tiny but powerful single file wavefront obj loader written in C++. No dependency except for C++ STL. It can parse over 10M polygons with moderate memory and time. tinyobjloader 1.0.6 10.fc34 x86_64 54 k tinyobjloader-1.0.6-10.fc34.src.rpm fedora Tiny wavefront obj loader https MIT Tiny but powerful single file wavefront obj loader written in C++. No dependency except for C++ STL. It can parse over 10M polygons with moderate memory and time.

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

Install tinyobjloader on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install tinyobjloader

Install tinyobjloader on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install tinyobjloader

How To Uninstall tinyobjloader on Fedora 34

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

sudo dnf remove tinyobjloader

tinyobjloader Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/95
/usr/lib/.build-id/95/ce748db13dd12001346092f783a885aa5ed2ee
/usr/lib64/libtinyobjloader.so.1
/usr/lib64/libtinyobjloader.so.1.0.4
/usr/share/doc/tinyobjloader
/usr/share/doc/tinyobjloader/README.md
/usr/share/licenses/tinyobjloader
/usr/share/licenses/tinyobjloader/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/99
/usr/lib/.build-id/99/ecaa5b43a19889ebf45306e68cad2d96a00261
/usr/lib/libtinyobjloader.so.1
/usr/lib/libtinyobjloader.so.1.0.4
/usr/share/doc/tinyobjloader
/usr/share/doc/tinyobjloader/README.md
/usr/share/licenses/tinyobjloader
/usr/share/licenses/tinyobjloader/LICENSE

References

Summary

In this tutorial we learn how to install tinyobjloader on Fedora 34 using yum and dnf.