How To Install pax-utils on CentOS 7

In this tutorial we learn how to install pax-utils on CentOS 7. pax-utils is ELF utils that can check files for security relevant properties

Introduction

In this tutorial we learn how to install pax-utils on CentOS 7.

What is pax-utils

pax-utils is a small set of utilities for peforming Q/A (mostly security) checks on systems (most notably, scanelf). It is focused on the ELF format, but does include a Mach-O helper too for OS X systems. While heavily integrated into Gentoo’s build system, it can be used on any distro as it is a generic toolset. Originally focused only on [PaX](https has been expanded to be generally security focused. It still has a good number of PaX helpers for people interested in that.

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

Install pax-utils on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install pax-utils

Install pax-utils on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install pax-utils

How To Uninstall pax-utils on CentOS 7

To uninstall only the pax-utils package we can use the following command:

sudo dnf remove pax-utils

References

Summary

In this tutorial we learn how to install pax-utils on CentOS 7 using yum and dnf.