How To Install leveldb-devel on Rocky Linux 8

In this tutorial we learn how to install leveldb-devel on Rocky Linux 8. leveldb-devel is Development files for leveldb

Introduction

In this tutorial we learn how to install leveldb-devel on Rocky Linux 8.

What is leveldb-devel

Development files for leveldb.

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

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

sudo dnf -y install leveldb-devel

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

sudo yum -y install leveldb-devel

How To Uninstall leveldb-devel on Rocky Linux 8

To uninstall only the leveldb-devel package we can use the following command:

sudo dnf remove leveldb-devel

leveldb-devel Package Contents on Rocky Linux 8

/usr/include/leveldb
/usr/include/leveldb/c.h
/usr/include/leveldb/cache.h
/usr/include/leveldb/comparator.h
/usr/include/leveldb/db.h
/usr/include/leveldb/dumpfile.h
/usr/include/leveldb/env.h
/usr/include/leveldb/export.h
/usr/include/leveldb/filter_policy.h
/usr/include/leveldb/iterator.h
/usr/include/leveldb/options.h
/usr/include/leveldb/slice.h
/usr/include/leveldb/status.h
/usr/include/leveldb/table.h
/usr/include/leveldb/table_builder.h
/usr/include/leveldb/write_batch.h
/usr/lib64/cmake/leveldb
/usr/lib64/cmake/leveldb/leveldbConfig.cmake
/usr/lib64/cmake/leveldb/leveldbConfigVersion.cmake
/usr/lib64/cmake/leveldb/leveldbTargets-noconfig.cmake
/usr/lib64/cmake/leveldb/leveldbTargets.cmake
/usr/lib64/libleveldb.so
/usr/lib64/pkgconfig/leveldb.pc
/usr/share/doc/leveldb-devel
/usr/share/doc/leveldb-devel/CONTRIBUTING.md
/usr/share/doc/leveldb-devel/TODO
/usr/share/doc/leveldb-devel/doc
/usr/share/doc/leveldb-devel/doc/bench
/usr/share/doc/leveldb-devel/doc/bench/db_bench_sqlite3.cc
/usr/share/doc/leveldb-devel/doc/bench/db_bench_tree_db.cc
/usr/share/doc/leveldb-devel/doc/benchmark.html
/usr/share/doc/leveldb-devel/doc/impl.md
/usr/share/doc/leveldb-devel/doc/index.md
/usr/share/doc/leveldb-devel/doc/log_format.md
/usr/share/doc/leveldb-devel/doc/table_format.md

References

Summary

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