How To Install sqlitecpp on Fedora 34
Introduction
In this tutorial we learn how to install sqlitecpp
on Fedora 34.
What is sqlitecpp
SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper. SQLiteC++ offers an encapsulation around the native C APIs of SQLite, with a few intuitive and well documented C++ classes. sqlitecpp 3.1.1 2.fc34 x86_64 38 k sqlitecpp-3.1.1-2.fc34.src.rpm fedora Smart and easy to use C++ SQLite3 wrapper https MIT SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper. SQLiteC++ offers an encapsulation around the native C APIs of SQLite, with a few intuitive and well documented C++ classes.
We can use yum
or dnf
to install sqlitecpp
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install sqlitecpp.
Install sqlitecpp 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 sqlitecpp
using dnf
by running the following command:
sudo dnf -y install sqlitecpp
Install sqlitecpp 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 sqlitecpp
using yum
by running the following command:
sudo yum -y install sqlitecpp
How To Uninstall sqlitecpp on Fedora 34
To uninstall only the sqlitecpp
package we can use the following command:
sudo dnf remove sqlitecpp
sqlitecpp Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/b690c97a994a72c8ca01d27977d7c0dfe4aa68
/usr/lib/libSQLiteCpp.so.0
/usr/share/doc/sqlitecpp
/usr/share/doc/sqlitecpp/CHANGELOG.md
/usr/share/doc/sqlitecpp/README.md
/usr/share/licenses/sqlitecpp
/usr/share/licenses/sqlitecpp/LICENSE.txt
/usr/lib/.build-id
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/9994183f2be7410822690568c8e80c29153a92
/usr/lib64/libSQLiteCpp.so.0
/usr/share/doc/sqlitecpp
/usr/share/doc/sqlitecpp/CHANGELOG.md
/usr/share/doc/sqlitecpp/README.md
/usr/share/licenses/sqlitecpp
/usr/share/licenses/sqlitecpp/LICENSE.txt
References
- [sqlitecpp website](https://github.com/SRombauts/SQLiteCpp https://github.com/SRombauts/SQLiteCpp)
Summary
In this tutorial we learn how to install sqlitecpp
on Fedora 34 using yum and dnf.