How To Install pax-utils on Fedora 36

In this tutorial we learn how to install pax-utils in Fedora 36. 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 Fedora 36.

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 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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pax-utils.

Install pax-utils 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 pax-utils using dnf by running the following command:

sudo dnf -y install pax-utils

Install pax-utils 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 pax-utils using yum by running the following command:

sudo yum -y install pax-utils

How To Uninstall pax-utils on Fedora 36

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

sudo dnf remove pax-utils

pax-utils Package Contents on Fedora 36

/usr/bin/dumpelf
/usr/bin/lddtree
/usr/bin/pspax
/usr/bin/scanelf
/usr/bin/scanmacho
/usr/bin/symtree
/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/9d34ed38a8ddda0415c8775b1da1e63f7fe66d
/usr/lib/.build-id/31
/usr/lib/.build-id/31/6a1c9fa0089cb4069d4be8cc0bb156da0e71b6
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/954356c15427c86470344a914e2bc642ba59e1
/usr/lib/.build-id/65
/usr/lib/.build-id/65/5ae7b160b60cdb888596dda23d8d4b0f660f3b
/usr/share/doc/pax-utils
/usr/share/doc/pax-utils/BUGS
/usr/share/doc/pax-utils/README.md
/usr/share/doc/pax-utils/TODO
/usr/share/licenses/pax-utils
/usr/share/licenses/pax-utils/COPYING
/usr/share/man/man1/dumpelf.1.gz
/usr/share/man/man1/pspax.1.gz
/usr/share/man/man1/scanelf.1.gz
/usr/share/man/man1/scanmacho.1.gz

References

Summary

In this tutorial we learn how to install pax-utils on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).