How To Install sqlite-libs on Rocky Linux 8

In this tutorial we learn how to install sqlite-libs on Rocky Linux 8. sqlite-libs is Shared library for the sqlite3 embeddable SQL database engine.

Introduction

In this tutorial we learn how to install sqlite-libs on Rocky Linux 8.

What is sqlite-libs

This package contains the shared library for sqlite.

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

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

sudo dnf -y install sqlite-libs

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

sudo yum -y install sqlite-libs

How To Uninstall sqlite-libs on Rocky Linux 8

To uninstall only the sqlite-libs package we can use the following command:

sudo dnf remove sqlite-libs

sqlite-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/262387ca885607fa8367f866c49f5248f90161
/usr/lib64/libsqlite3.so.0
/usr/lib64/libsqlite3.so.0.8.6
/usr/share/doc/sqlite-libs
/usr/share/doc/sqlite-libs/README.md
/usr/lib/.build-id
/usr/lib/.build-id/74
/usr/lib/.build-id/74/ae72866f27291d58092c202d309b0cbfa63660
/usr/lib/libsqlite3.so.0
/usr/lib/libsqlite3.so.0.8.6
/usr/share/doc/sqlite-libs
/usr/share/doc/sqlite-libs/README.md

References

Summary

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