How To Install HepMC on Fedora 36

In this tutorial we learn how to install HepMC in Fedora 36. HepMC is C++ Event Record for Monte Carlo Generators

Introduction

In this tutorial we learn how to install HepMC on Fedora 36.

What is HepMC

The HepMC package is an object oriented event record written in C++ for High Energy Physics Monte Carlo Generators. Many extensions from HEPEVT, the Fortran HEP standard, are supported is unlimited, spin density matrices can be stored with each vertex, flow patterns (such as color) can be stored and traced, integers representing random number generator states can be stored, and an arbitrary number of event weights can be included. Particles and vertices are kept separate in a graph structure, physically similar to a physics event. The added information supports the modularization of event generators. The package has been kept as simple as possible with minimal internal/external dependencies. Event information is accessed by means of iterators supplied with the package.

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

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

sudo dnf -y install HepMC

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

sudo yum -y install HepMC

How To Uninstall HepMC on Fedora 36

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

sudo dnf remove HepMC

HepMC Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/18cbfede459de6047a2184b272f68ad99b8822
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/256a2e7a149a3a71ec9d479fe738364e4f41bd
/usr/lib/libHepMC.so.4
/usr/lib/libHepMC.so.4.0.0
/usr/lib/libHepMCfio.so.4
/usr/lib/libHepMCfio.so.4.0.0
/usr/share/doc/HepMC
/usr/share/doc/HepMC/AUTHORS
/usr/share/doc/HepMC/ChangeLog
/usr/share/doc/HepMC/README
/usr/share/licenses/HepMC
/usr/share/licenses/HepMC/COPYING

References

Summary

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


title: “How To Install HepMC on Fedora 36” linkTitle: “HepMC” type: “docs” description: “In this tutorial we learn how to install HepMC in Fedora 36. HepMC is C++ Event Record for Monte Carlo Generators” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/HepMC-featured.png

Introduction

In this tutorial we learn how to install HepMC on Fedora 36.

What is HepMC

The HepMC package is an object oriented event record written in C++ for High Energy Physics Monte Carlo Generators. Many extensions from HEPEVT, the Fortran HEP standard, are supported is unlimited, spin density matrices can be stored with each vertex, flow patterns (such as color) can be stored and traced, integers representing random number generator states can be stored, and an arbitrary number of event weights can be included. Particles and vertices are kept separate in a graph structure, physically similar to a physics event. The added information supports the modularization of event generators. The package has been kept as simple as possible with minimal internal/external dependencies. Event information is accessed by means of iterators supplied with the package.

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

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

sudo dnf -y install HepMC

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

sudo yum -y install HepMC

How To Uninstall HepMC on Fedora 36

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

sudo dnf remove HepMC

HepMC Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/53ebf5b86a06f9a9ff2630908ad226cbce3cc8
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/972fda5843c341ece7a3022f8758a7483b2677
/usr/lib64/libHepMC.so.4
/usr/lib64/libHepMC.so.4.0.0
/usr/lib64/libHepMCfio.so.4
/usr/lib64/libHepMCfio.so.4.0.0
/usr/share/doc/HepMC
/usr/share/doc/HepMC/AUTHORS
/usr/share/doc/HepMC/ChangeLog
/usr/share/doc/HepMC/README
/usr/share/licenses/HepMC
/usr/share/licenses/HepMC/COPYING

References

Summary

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