How To Install libsq3 on AlmaLinux 8

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

Introduction

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

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

sudo dnf -y install libsq3

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

sudo yum -y install libsq3

How To Uninstall libsq3 on AlmaLinux 8

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

sudo dnf remove libsq3

References

Summary

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