How To Install elfio-devel on Fedora 36

In this tutorial we learn how to install elfio-devel in Fedora 36. elfio-devel is C++ library for reading and generating ELF files

Introduction

In this tutorial we learn how to install elfio-devel on Fedora 36.

What is elfio-devel

ELFIO is a small, header-only C++ library that provides a simple interface for reading and generating files in ELF binary format. It is used as a standalone library - it is not dependent on any other product or project. Adhering to ISO C++, it compiles on a wide variety of architectures and compilers. While the library is easy to use, some basic knowledge of the ELF binary format is required. Such Information can easily be found on the Web.

We can use yum or dnf to install elfio-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install elfio-devel.

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

sudo dnf -y install elfio-devel

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

sudo yum -y install elfio-devel

How To Uninstall elfio-devel on Fedora 36

To uninstall only the elfio-devel package we can use the following command:

sudo dnf remove elfio-devel

elfio-devel Package Contents on Fedora 36

/usr/include/elfio
/usr/include/elfio/elf_types.hpp
/usr/include/elfio/elfio.hpp
/usr/include/elfio/elfio_array.hpp
/usr/include/elfio/elfio_dump.hpp
/usr/include/elfio/elfio_dynamic.hpp
/usr/include/elfio/elfio_header.hpp
/usr/include/elfio/elfio_modinfo.hpp
/usr/include/elfio/elfio_note.hpp
/usr/include/elfio/elfio_relocation.hpp
/usr/include/elfio/elfio_section.hpp
/usr/include/elfio/elfio_segment.hpp
/usr/include/elfio/elfio_strings.hpp
/usr/include/elfio/elfio_symbols.hpp
/usr/include/elfio/elfio_utils.hpp
/usr/include/elfio/elfio_version.hpp
/usr/include/elfio/elfio_versym.hpp
/usr/share/doc/elfio-devel
/usr/share/doc/elfio-devel/AUTHORS
/usr/share/doc/elfio-devel/README.md
/usr/share/doc/elfio-devel/elfio.pdf
/usr/share/elfio
/usr/share/elfio/cmake
/usr/share/elfio/cmake/elfioConfig.cmake
/usr/share/elfio/cmake/elfioConfigVersion.cmake
/usr/share/elfio/cmake/elfioTargets.cmake
/usr/share/licenses/elfio-devel
/usr/share/licenses/elfio-devel/COPYING

References

Summary

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