Installing PMDK using Linux Packages
Last updated
Last updated
PMDK is upstreamed to many Linux distro package repositories including Fedora and Ubuntu. Older versions of PMDK in RPM and DEB format are available from the PMDK releases repository.
The PMDK is a collection of different libraries, each one provides different functionality. This provides greater flexibility for developers as only the required runtime or header files need to be installed without installing unnecessary libraries. Libraries are available in runtime, development header files (*-devel), and debug (*-debug) versions. For example:
The following table shows the list of available libraries:
1) Query the repository to identify if pmdk is available:
Fedora 21 or earlier
Fedora 22 or later
2) Install the pmdk packages
Fedora 21 or earlier
Fedora 22 or later
Since libraries are available in most Linux Distro repositories, the PMDK RPM and DEB packages will no longer be built for each release. The following refers to PMDK v1.4 and earlier available from https://github.com/pmem/pmdk/releases.
1) Download the RPM bundle.
2) The download bundle includes an rpm with the source code and an x86_64
sub-directory with installable packages
3) Install the rpm packages with dependencies
If PMDK was previously installed using the downloaded rpm packages, use the following to upgrade the installed packages.
If you are upgrading from PMDK v1.3.1 (formally NVML) to PMDK 1.4 or later, the name change may cause package conflicts which causes some packages to fail. It is recommended to remove all nvml* packages before trying to upgrade/install pmdk.
1) Download the latest RPM bundle from https://github.com/pmem/pmdk/releases, eg 1.4.1
2) The download bundle includes an rpm with the source code and an x86_64
sub-directory with installable packages
3) Upgrade the packages using the upgrade
or install
sub-command
1) Download the pmdk-{version}-dpkgs.tar.gz from https://github.com/pmem/pmdk/releases, eg to download PMDK v1.4:
2) The download bundle includes installable packages in the root
3) Install the packages
If PMDK was previously installed using the downloaded deb packages, use the following to upgrade the installed packages.
If you are upgrading from PMDK v1.3.1 (formally NVML) to PMDK 1.4 or later, the name change may cause package conflicts which causes some packages to fail. It is recommended to remove all nvml* packages before trying to upgrade/install pmdk.
1) Download the pmdk-{version}-dpkgs.tar.gz from https://github.com/pmem/pmdk/releases, eg to download PMDK v1.4.1:
2) The download bundle includes installable packages in the root
3) Install the packages
Library
Description
libpmem
Low-level persistent memory support library
libpmem-debug
Debug variant of the libpmem low-level persistent memory library
libpmem-devel
Development files for the low-level persistent memory library
Library
Description
libpmem
Low-level persistent memory support library
librpmem
Remote Access to Persistent Memory library
libpmemblk
Persistent Memory Resident Array of Blocks library
libpmemcto
Close-to-Open Persistence library (Deprecated in PMDK v1.5)
libpmemlog
Persistent Memory Resident Log File library
libpmemobj
Persistent Memory Transactional Object Store library
libpmempool
Persistent Memory pool management library
pmempool
Utilities for Persistent Memory