How To Install rlottie on CentOS 8

rlottie is Platform independent standalone library that plays Lottie Animation

Introduction

In this tutorial we learn how to install rlottie on CentOS 8.

What is rlottie

rlottie is a platform independent standalone c++ library for rendering vector based animations and art in realtime. Lottie loads and renders animations and vectors exported in the bodymovin JSON format. Bodymovin JSON can be created and exported from After Effects with bodymovin, Sketch with Lottie Sketch Export, and from Haiku. For the first time, designers can create and ship beautiful animations without an engineer painstakingly recreating it by hand. Since the animation is backed by JSON they are extremely small in size but can be large in complexity!

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

Install rlottie on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install rlottie

Install rlottie on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install rlottie

How To Uninstall rlottie on CentOS 8

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

sudo dnf remove rlottie

rlottie Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/92
/usr/lib/.build-id/92/52a38660b0a7f0e6e0566c02a92c9f34a5369b
/usr/lib64/librlottie.so.0
/usr/lib64/librlottie.so.0.2
/usr/share/doc/rlottie
/usr/share/doc/rlottie/AUTHORS
/usr/share/doc/rlottie/README.md
/usr/share/licenses/rlottie
/usr/share/licenses/rlottie/COPYING
/usr/share/licenses/rlottie/COPYING.FTL
/usr/share/licenses/rlottie/COPYING.MIT
/usr/share/licenses/rlottie/COPYING.MPL
/usr/share/licenses/rlottie/COPYING.PIX
/usr/share/licenses/rlottie/COPYING.RPD
/usr/share/licenses/rlottie/COPYING.SKIA
/usr/share/licenses/rlottie/COPYING.STB

References

Summary

In this tutorial we learn how to install rlottie on CentOS 8 using yum and dnf.