How To Install libsq3 on Rocky Linux 8

In this tutorial we learn how to install libsq3 on Rocky Linux 8. libsq3 is A C++ Wrapper for the SQLite3 embeddable SQL database engine

Introduction

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

What is libsq3

sqlite3 is a slick embedded SQL server written in C. It’s easy to use, powerful, and quite fast. sq3 is a C++ wrapper API for working with sqlite3 databases that does not use exceptions.

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

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

sudo dnf -y install libsq3

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

sudo yum -y install libsq3

How To Uninstall libsq3 on Rocky Linux 8

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

sudo dnf remove libsq3

libsq3 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/67
/usr/lib/.build-id/67/3a5c9fc1d62dda03b3cbf109e0fba48168230d
/usr/lib64/libsq3.so.1
/usr/lib64/libsq3.so.1.0.0
/usr/share/doc/libsq3
/usr/share/doc/libsq3/AUTHORS
/usr/share/doc/libsq3/Doxygen-index.txt

References

Summary

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