How To Install HepMC-devel on Rocky Linux 8

In this tutorial we learn how to install HepMC-devel on Rocky Linux 8. HepMC-devel is C++ Event Record for Monte Carlo Generators - development files

Introduction

In this tutorial we learn how to install HepMC-devel on Rocky Linux 8.

What is HepMC-devel

This package provides development files of HepMC.

We can use yum or dnf to install HepMC-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install HepMC-devel.

Install HepMC-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install HepMC-devel

Install HepMC-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install HepMC-devel

How To Uninstall HepMC-devel on Rocky Linux 8

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

sudo dnf remove HepMC-devel

HepMC-devel Package Contents on Rocky Linux 8

/usr/include/HepMC
/usr/include/HepMC/CompareGenEvent.h
/usr/include/HepMC/Flow.h
/usr/include/HepMC/GenCrossSection.h
/usr/include/HepMC/GenEvent.h
/usr/include/HepMC/GenParticle.h
/usr/include/HepMC/GenRanges.h
/usr/include/HepMC/GenVertex.h
/usr/include/HepMC/HEPEVT_Wrapper.h
/usr/include/HepMC/HeavyIon.h
/usr/include/HepMC/HepMCDefs.h
/usr/include/HepMC/HerwigWrapper.h
/usr/include/HepMC/IO_AsciiParticles.h
/usr/include/HepMC/IO_BaseClass.h
/usr/include/HepMC/IO_Exception.h
/usr/include/HepMC/IO_GenEvent.h
/usr/include/HepMC/IO_HEPEVT.h
/usr/include/HepMC/IO_HERWIG.h
/usr/include/HepMC/IteratorRange.h
/usr/include/HepMC/PdfInfo.h
/usr/include/HepMC/Polarization.h
/usr/include/HepMC/PythiaWrapper.h
/usr/include/HepMC/PythiaWrapper6_4.h
/usr/include/HepMC/PythiaWrapper6_4_WIN32.h
/usr/include/HepMC/SearchVector.h
/usr/include/HepMC/SimpleVector.h
/usr/include/HepMC/SimpleVector.icc
/usr/include/HepMC/StreamHelpers.h
/usr/include/HepMC/StreamInfo.h
/usr/include/HepMC/TempParticleMap.h
/usr/include/HepMC/Units.h
/usr/include/HepMC/Version.h
/usr/include/HepMC/WeightContainer.h
/usr/include/HepMC/enable_if.h
/usr/include/HepMC/is_arithmetic.h
/usr/lib64/libHepMC.so
/usr/lib64/libHepMCfio.so

References

Summary

In this tutorial we learn how to install HepMC-devel on Rocky Linux 8 using yum and dnf.