How To Install pmreorder on CentOS 8

pmreorder is Consistency Checker for Persistent Memory

Introduction

In this tutorial we learn how to install pmreorder on CentOS 8.

What is pmreorder

The pmreorder tool is a collection of python scripts designed to parse and replay operations logged by pmemcheck - a persistent memory checking tool. Pmreorder performs the store reordering between persistent memory barriers - a sequence of flush-fence operations. It uses a consistency checking routine provided in the command line options to check whether files are in a consistent state.

We can use yum or dnf to install pmreorder on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install pmreorder.

Install pmreorder on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install pmreorder

Install pmreorder on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install pmreorder using yum by running the following command:

sudo yum -y install pmreorder

How To Uninstall pmreorder on CentOS 8

To uninstall only the pmreorder package we can use the following command:

sudo dnf remove pmreorder

pmreorder Package Contents on CentOS 8

/usr/bin/pmreorder
/usr/share/doc/pmreorder
/usr/share/doc/pmreorder/CONTRIBUTING.md
/usr/share/doc/pmreorder/ChangeLog
/usr/share/doc/pmreorder/README.md
/usr/share/licenses/pmreorder
/usr/share/licenses/pmreorder/LICENSE
/usr/share/man/man1/pmreorder.1.gz
/usr/share/pmreorder/binaryoutputhandler.py
/usr/share/pmreorder/consistencycheckwrap.py
/usr/share/pmreorder/loggingfacility.py
/usr/share/pmreorder/markerparser.py
/usr/share/pmreorder/memoryoperations.py
/usr/share/pmreorder/operationfactory.py
/usr/share/pmreorder/opscontext.py
/usr/share/pmreorder/pmreorder.py
/usr/share/pmreorder/reorderengines.py
/usr/share/pmreorder/reorderexceptions.py
/usr/share/pmreorder/statemachine.py
/usr/share/pmreorder/utils.py

References

Summary

In this tutorial we learn how to install pmreorder on CentOS 8 using yum and dnf.