How To Install mingw64-sqlite on Rocky Linux 8

In this tutorial we learn how to install mingw64-sqlite on Rocky Linux 8. mingw64-sqlite is MinGW Windows port of sqlite embeddable SQL database engine

Introduction

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

What is mingw64-sqlite

SQLite is a C library that implements an SQL database engine. A large subset of SQL92 is supported. A complete database is stored in a single disk file. The API is designed for convenience and ease of use. Applications that link against SQLite can enjoy the power and flexibility of an SQL database without the administrative hassles of supporting a separate database server. Version 2 and version 3 binaries are named to permit each to be installed on a single host This package contains cross-compiled libraries and development tools for Windows.

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

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

sudo dnf -y install mingw64-sqlite

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

sudo yum -y install mingw64-sqlite

How To Uninstall mingw64-sqlite on Rocky Linux 8

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

sudo dnf remove mingw64-sqlite

mingw64-sqlite Package Contents on Rocky Linux 8

/usr/share/doc/mingw64-sqlite
/usr/share/doc/mingw64-sqlite/README.md
/usr/share/doc/mingw64-sqlite/VERSION
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libsqlite3-0.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/sqlite3.exe
/usr/x86_64-w64-mingw32/sys-root/mingw/include/sqlite3.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/sqlite3ext.h
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libsqlite3.dll.a
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/sqlite3.pc

References

Summary

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