How To Install mingw32-sqlite on Rocky Linux 8

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

Introduction

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

What is mingw32-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 mingw32-sqlite on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mingw32-sqlite.

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

sudo dnf -y install mingw32-sqlite

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

sudo yum -y install mingw32-sqlite

How To Uninstall mingw32-sqlite on Rocky Linux 8

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

sudo dnf remove mingw32-sqlite

mingw32-sqlite Package Contents on Rocky Linux 8

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

References

Summary

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