How To Install HepMC3-interfaces-devel on Rocky Linux 8

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

Introduction

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

What is HepMC3-interfaces-devel

This package provides HepMC3 interfaces to some common Monte Carlo generators.

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

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

sudo dnf -y install HepMC3-interfaces-devel

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

sudo yum -y install HepMC3-interfaces-devel

How To Uninstall HepMC3-interfaces-devel on Rocky Linux 8

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

sudo dnf remove HepMC3-interfaces-devel

HepMC3-interfaces-devel Package Contents on Rocky Linux 8

/usr/share/HepMC3/interfaces
/usr/share/HepMC3/interfaces/HepMCCompatibility
/usr/share/HepMC3/interfaces/HepMCCompatibility/include
/usr/share/HepMC3/interfaces/HepMCCompatibility/include/HepMCCompatibility.h
/usr/share/HepMC3/interfaces/Photospp
/usr/share/HepMC3/interfaces/Photospp/include
/usr/share/HepMC3/interfaces/Photospp/include/Photos
/usr/share/HepMC3/interfaces/Photospp/include/Photos/PhotosHepMC3Event.h
/usr/share/HepMC3/interfaces/Photospp/include/Photos/PhotosHepMC3Particle.h
/usr/share/HepMC3/interfaces/Photospp/src
/usr/share/HepMC3/interfaces/Photospp/src/PhotosHepMC3Event.cxx
/usr/share/HepMC3/interfaces/Photospp/src/PhotosHepMC3Particle.cxx
/usr/share/HepMC3/interfaces/Tauolapp
/usr/share/HepMC3/interfaces/Tauolapp/include
/usr/share/HepMC3/interfaces/Tauolapp/include/Tauola
/usr/share/HepMC3/interfaces/Tauolapp/include/Tauola/TauolaHepMC3Event.h
/usr/share/HepMC3/interfaces/Tauolapp/include/Tauola/TauolaHepMC3Particle.h
/usr/share/HepMC3/interfaces/Tauolapp/src
/usr/share/HepMC3/interfaces/Tauolapp/src/TauolaHepMC3Event.cxx
/usr/share/HepMC3/interfaces/Tauolapp/src/TauolaHepMC3Particle.cxx
/usr/share/HepMC3/interfaces/mc-tester
/usr/share/HepMC3/interfaces/mc-tester/include
/usr/share/HepMC3/interfaces/mc-tester/include/HepMC3Event.h
/usr/share/HepMC3/interfaces/mc-tester/include/HepMC3Particle.h
/usr/share/HepMC3/interfaces/mc-tester/src
/usr/share/HepMC3/interfaces/mc-tester/src/HepMC3Event.cxx
/usr/share/HepMC3/interfaces/mc-tester/src/HepMC3Particle.cxx
/usr/share/HepMC3/interfaces/pythia6
/usr/share/HepMC3/interfaces/pythia6/include
/usr/share/HepMC3/interfaces/pythia6/include/Pythia6
/usr/share/HepMC3/interfaces/pythia6/include/Pythia6/Pythia6ToHepMC3.cc
/usr/share/HepMC3/interfaces/pythia6/include/Pythia6/Pythia6ToHepMC3.inc
/usr/share/HepMC3/interfaces/pythia8
/usr/share/HepMC3/interfaces/pythia8/include
/usr/share/HepMC3/interfaces/pythia8/include/Pythia8
/usr/share/HepMC3/interfaces/pythia8/include/Pythia8/Pythia8ToHepMC3.h

References

Summary

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