How To Install libpmem-devel on Fedora 36
Introduction
In this tutorial we learn how to install libpmem-devel on Fedora 36.
What is libpmem-devel
The libpmem provides low level persistent memory support. In particular, support for the persistent memory instructions for flushing changes to pmem is provided. This package provides the v1 API. This library is provided for software which tracks every store to pmem and needs to flush those changes to durability. Most developers will find higher level libraries like libpmemobj to be much more convenient.
We can use yum or dnf to install libpmem-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libpmem-devel.
Install libpmem-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 libpmem-devel using dnf by running the following command:
sudo dnf -y install libpmem-devel
Install libpmem-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 libpmem-devel using yum by running the following command:
sudo yum -y install libpmem-devel
How To Uninstall libpmem-devel on Fedora 36
To uninstall only the libpmem-devel package we can use the following command:
sudo dnf remove libpmem-devel
libpmem-devel Package Contents on Fedora 36
/usr/include/libpmem.h
/usr/lib64/libpmem.so
/usr/lib64/pkgconfig/libpmem.pc
/usr/share/doc/libpmem-devel
/usr/share/doc/libpmem-devel/CONTRIBUTING.md
/usr/share/doc/libpmem-devel/ChangeLog
/usr/share/doc/libpmem-devel/README.md
/usr/share/licenses/libpmem-devel
/usr/share/licenses/libpmem-devel/LICENSE
/usr/share/man/man3/pmem_check_version.3.gz
/usr/share/man/man3/pmem_deep_drain.3.gz
/usr/share/man/man3/pmem_deep_flush.3.gz
/usr/share/man/man3/pmem_deep_persist.3.gz
/usr/share/man/man3/pmem_drain.3.gz
/usr/share/man/man3/pmem_errormsg.3.gz
/usr/share/man/man3/pmem_flush.3.gz
/usr/share/man/man3/pmem_has_auto_flush.3.gz
/usr/share/man/man3/pmem_has_hw_drain.3.gz
/usr/share/man/man3/pmem_is_pmem.3.gz
/usr/share/man/man3/pmem_map_file.3.gz
/usr/share/man/man3/pmem_memcpy.3.gz
/usr/share/man/man3/pmem_memcpy_nodrain.3.gz
/usr/share/man/man3/pmem_memcpy_persist.3.gz
/usr/share/man/man3/pmem_memmove.3.gz
/usr/share/man/man3/pmem_memmove_nodrain.3.gz
/usr/share/man/man3/pmem_memmove_persist.3.gz
/usr/share/man/man3/pmem_memset.3.gz
/usr/share/man/man3/pmem_memset_nodrain.3.gz
/usr/share/man/man3/pmem_memset_persist.3.gz
/usr/share/man/man3/pmem_msync.3.gz
/usr/share/man/man3/pmem_persist.3.gz
/usr/share/man/man3/pmem_unmap.3.gz
/usr/share/man/man5/pmem_ctl.5.gz
/usr/share/man/man7/libpmem.7.gz
References
Summary
In this tutorial we learn how to install libpmem-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).