How To Install leveldb on Fedora 34
Introduction
In this tutorial we learn how to install leveldb
on Fedora 34.
What is leveldb
LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values. leveldb 1.22 3.fc34 x86_64 162 k leveldb-1.22-3.fc34.src.rpm fedora A fast and lightweight key/value database library by Google https BSD LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.
We can use yum
or dnf
to install leveldb
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install leveldb.
Install leveldb 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 leveldb
using dnf
by running the following command:
sudo dnf -y install leveldb
Install leveldb 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 leveldb
using yum
by running the following command:
sudo yum -y install leveldb
How To Uninstall leveldb on Fedora 34
To uninstall only the leveldb
package we can use the following command:
sudo dnf remove leveldb
leveldb Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/9904ceb4b48280e653df1d0d09f0b0b9505f55
/usr/lib64/libleveldb.so.1
/usr/lib64/libleveldb.so.1.22.0
/usr/share/doc/leveldb
/usr/share/doc/leveldb/AUTHORS
/usr/share/doc/leveldb/NEWS
/usr/share/doc/leveldb/README.md
/usr/share/licenses/leveldb
/usr/share/licenses/leveldb/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/92
/usr/lib/.build-id/92/a5f67671f9321a8f3394d212d2056eeb5bfcc2
/usr/lib/libleveldb.so.1
/usr/lib/libleveldb.so.1.22.0
/usr/share/doc/leveldb
/usr/share/doc/leveldb/AUTHORS
/usr/share/doc/leveldb/NEWS
/usr/share/doc/leveldb/README.md
/usr/share/licenses/leveldb
/usr/share/licenses/leveldb/LICENSE
References
- [leveldb website](https://github.com/google/leveldb https://github.com/google/leveldb)
Summary
In this tutorial we learn how to install leveldb
on Fedora 34 using yum and dnf.