How To Install libpmemlog-devel on Fedora 36

In this tutorial we learn how to install libpmemlog-devel in Fedora 36. libpmemlog-devel is Development files for the Persistent Memory Resident Log File library

Introduction

In this tutorial we learn how to install libpmemlog-devel on Fedora 36.

What is libpmemlog-devel

The libpmemlog library provides a pmem-resident log file. This library is provided for cases requiring an append-mostly file to record variable length entries. Most developers will find higher level libraries like libpmemobj to be more generally useful.

We can use yum or dnf to install libpmemlog-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libpmemlog-devel.

Install libpmemlog-devel on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libpmemlog-devel using dnf by running the following command:

sudo dnf -y install libpmemlog-devel

Install libpmemlog-devel on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libpmemlog-devel using yum by running the following command:

sudo yum -y install libpmemlog-devel

How To Uninstall libpmemlog-devel on Fedora 36

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

sudo dnf remove libpmemlog-devel

libpmemlog-devel Package Contents on Fedora 36

/usr/include/libpmemlog.h
/usr/lib64/libpmemlog.so
/usr/lib64/pkgconfig/libpmemlog.pc
/usr/share/doc/libpmemlog-devel
/usr/share/doc/libpmemlog-devel/CONTRIBUTING.md
/usr/share/doc/libpmemlog-devel/ChangeLog
/usr/share/doc/libpmemlog-devel/README.md
/usr/share/licenses/libpmemlog-devel
/usr/share/licenses/libpmemlog-devel/LICENSE
/usr/share/man/man3/pmemlog_append.3.gz
/usr/share/man/man3/pmemlog_appendv.3.gz
/usr/share/man/man3/pmemlog_check.3.gz
/usr/share/man/man3/pmemlog_check_version.3.gz
/usr/share/man/man3/pmemlog_close.3.gz
/usr/share/man/man3/pmemlog_create.3.gz
/usr/share/man/man3/pmemlog_ctl_exec.3.gz
/usr/share/man/man3/pmemlog_ctl_get.3.gz
/usr/share/man/man3/pmemlog_ctl_set.3.gz
/usr/share/man/man3/pmemlog_errormsg.3.gz
/usr/share/man/man3/pmemlog_nbyte.3.gz
/usr/share/man/man3/pmemlog_open.3.gz
/usr/share/man/man3/pmemlog_rewind.3.gz
/usr/share/man/man3/pmemlog_set_funcs.3.gz
/usr/share/man/man3/pmemlog_tell.3.gz
/usr/share/man/man3/pmemlog_walk.3.gz
/usr/share/man/man5/poolset.5.gz
/usr/share/man/man7/libpmemlog.7.gz

References

Summary

In this tutorial we learn how to install libpmemlog-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).