How To Install HepMC3-devel on Rocky Linux 8

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

Introduction

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

What is HepMC3-devel

This package provides development files for HepMC3.

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

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

sudo dnf -y install HepMC3-devel

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

sudo yum -y install HepMC3-devel

How To Uninstall HepMC3-devel on Rocky Linux 8

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

sudo dnf remove HepMC3-devel

HepMC3-devel Package Contents on Rocky Linux 8

/usr/bin/HepMC3-config
/usr/include/HepMC3
/usr/include/HepMC3/AssociatedParticle.h
/usr/include/HepMC3/Attribute.h
/usr/include/HepMC3/Data
/usr/include/HepMC3/Data/GenEventData.h
/usr/include/HepMC3/Data/GenParticleData.h
/usr/include/HepMC3/Data/GenRunInfoData.h
/usr/include/HepMC3/Data/GenVertexData.h
/usr/include/HepMC3/Errors.h
/usr/include/HepMC3/FourVector.h
/usr/include/HepMC3/GenCrossSection.h
/usr/include/HepMC3/GenCrossSection_fwd.h
/usr/include/HepMC3/GenEvent.h
/usr/include/HepMC3/GenHeavyIon.h
/usr/include/HepMC3/GenHeavyIon_fwd.h
/usr/include/HepMC3/GenParticle.h
/usr/include/HepMC3/GenParticle_fwd.h
/usr/include/HepMC3/GenPdfInfo.h
/usr/include/HepMC3/GenPdfInfo_fwd.h
/usr/include/HepMC3/GenRunInfo.h
/usr/include/HepMC3/GenVertex.h
/usr/include/HepMC3/GenVertex_fwd.h
/usr/include/HepMC3/HEPEVT_Wrapper.h
/usr/include/HepMC3/HepMC3.h
/usr/include/HepMC3/LHEF.h
/usr/include/HepMC3/LHEFAttributes.h
/usr/include/HepMC3/Print.h
/usr/include/HepMC3/PrintStreams.h
/usr/include/HepMC3/Reader.h
/usr/include/HepMC3/ReaderAscii.h
/usr/include/HepMC3/ReaderAsciiHepMC2.h
/usr/include/HepMC3/ReaderFactory.h
/usr/include/HepMC3/ReaderHEPEVT.h
/usr/include/HepMC3/ReaderLHEF.h
/usr/include/HepMC3/ReaderPlugin.h
/usr/include/HepMC3/Setup.h
/usr/include/HepMC3/Units.h
/usr/include/HepMC3/Version.h
/usr/include/HepMC3/Writer.h
/usr/include/HepMC3/WriterAscii.h
/usr/include/HepMC3/WriterAsciiHepMC2.h
/usr/include/HepMC3/WriterHEPEVT.h
/usr/include/HepMC3/WriterPlugin.h
/usr/lib64/libHepMC3.so
/usr/share/HepMC3
/usr/share/HepMC3/cmake
/usr/share/HepMC3/cmake/HepMC3Config-version.cmake
/usr/share/HepMC3/cmake/HepMC3Config.cmake

References

Summary

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