How To Install sqlite2 on Fedora 34
Introduction
In this tutorial we learn how to install sqlite2
on Fedora 34.
What is sqlite2
SQLite is a small, fast, embeddable SQL database engine that supports most of SQL92, including transactions with atomic commit and rollback, subqueries, compound queries, triggers, and views. A complete database is stored in a single cross-platform disk file. The native C/C++ API is simple and easy to use. Bindings for other languages are also available. sqlite2 2.8.17 34.fc34 x86_64 178 k sqlite2-2.8.17-34.fc34.src.rpm fedora Embeddable SQL engine in a C library http Public Domain SQLite is a small, fast, embeddable SQL database engine that supports most of SQL92, including transactions with atomic commit and rollback, subqueries, compound queries, triggers, and views. A complete database is stored in a single cross-platform disk file. The native C/C++ API is simple and easy to use. Bindings for other languages are also available.
We can use yum
or dnf
to install sqlite2
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install sqlite2.
Install sqlite2 on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install sqlite2
using dnf
by running the following command:
sudo dnf -y install sqlite2
Install sqlite2 on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install sqlite2
using yum
by running the following command:
sudo yum -y install sqlite2
How To Uninstall sqlite2 on Fedora 34
To uninstall only the sqlite2
package we can use the following command:
sudo dnf remove sqlite2
sqlite2 Package Contents on Fedora 34
/usr/bin/sqlite
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/a5520735fd5e48d1f2a733d87c2aec436442f0
/usr/lib/.build-id/41
/usr/lib/.build-id/41/acc130dc32d990caa8e18ca3e8169932980431
/usr/lib64/libsqlite.so.0
/usr/lib64/libsqlite.so.0.8.6
/usr/share/man/man1/sqlite.1.gz
/usr/bin/sqlite
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/34fdd2b0cfc80101785d9ba7b56fb827862f28
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/83f3344183396a85997a9449951d7086d87154
/usr/lib/libsqlite.so.0
/usr/lib/libsqlite.so.0.8.6
/usr/share/man/man1/sqlite.1.gz
References
- [sqlite2 website](http://www.sqlite.org/ http://www.sqlite.org/)
Summary
In this tutorial we learn how to install sqlite2
on Fedora 34 using yum and dnf.