How To Install libpmemblk-devel on Fedora 36
Introduction
In this tutorial we learn how to install libpmemblk-devel
on Fedora 36.
What is libpmemblk-devel
The libpmemblk implements a pmem-resident array of blocks, all the same size, where a block is updated atomically with respect to power failure or program interruption (no torn blocks). For example, a program keeping a cache of fixed-size objects in pmem might find this library useful. This library is provided for cases requiring large arrays of objects at least 512 bytes each. Most developers will find higher level libraries like libpmemobj to be more generally useful.
We can use yum
or dnf
to install libpmemblk-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libpmemblk-devel.
Install libpmemblk-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 libpmemblk-devel
using dnf
by running the following command:
sudo dnf -y install libpmemblk-devel
Install libpmemblk-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 libpmemblk-devel
using yum
by running the following command:
sudo yum -y install libpmemblk-devel
How To Uninstall libpmemblk-devel on Fedora 36
To uninstall only the libpmemblk-devel
package we can use the following command:
sudo dnf remove libpmemblk-devel
libpmemblk-devel Package Contents on Fedora 36
/usr/include/libpmemblk.h
/usr/lib64/libpmemblk.so
/usr/lib64/pkgconfig/libpmemblk.pc
/usr/share/doc/libpmemblk-devel
/usr/share/doc/libpmemblk-devel/CONTRIBUTING.md
/usr/share/doc/libpmemblk-devel/ChangeLog
/usr/share/doc/libpmemblk-devel/README.md
/usr/share/licenses/libpmemblk-devel
/usr/share/licenses/libpmemblk-devel/LICENSE
/usr/share/man/man3/pmemblk_bsize.3.gz
/usr/share/man/man3/pmemblk_check.3.gz
/usr/share/man/man3/pmemblk_check_version.3.gz
/usr/share/man/man3/pmemblk_close.3.gz
/usr/share/man/man3/pmemblk_create.3.gz
/usr/share/man/man3/pmemblk_ctl_exec.3.gz
/usr/share/man/man3/pmemblk_ctl_get.3.gz
/usr/share/man/man3/pmemblk_ctl_set.3.gz
/usr/share/man/man3/pmemblk_errormsg.3.gz
/usr/share/man/man3/pmemblk_nblock.3.gz
/usr/share/man/man3/pmemblk_open.3.gz
/usr/share/man/man3/pmemblk_read.3.gz
/usr/share/man/man3/pmemblk_set_error.3.gz
/usr/share/man/man3/pmemblk_set_funcs.3.gz
/usr/share/man/man3/pmemblk_set_zero.3.gz
/usr/share/man/man3/pmemblk_write.3.gz
/usr/share/man/man5/poolset.5.gz
/usr/share/man/man7/libpmemblk.7.gz
References
Summary
In this tutorial we learn how to install libpmemblk-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).