How To Install HepMC-doc on Fedora 36

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

Introduction

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

What is HepMC-doc

This package provides HepMC manuals and examples.

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

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

sudo dnf -y install HepMC-doc

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

sudo yum -y install HepMC-doc

How To Uninstall HepMC-doc on Fedora 36

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

sudo dnf remove HepMC-doc

HepMC-doc Package Contents on Fedora 36

/usr/share/doc/HepMC
/usr/share/doc/HepMC/HepMC-reference-manual.pdf
/usr/share/doc/HepMC/HepMC-user-manual.pdf
/usr/share/doc/HepMC/examples
/usr/share/doc/HepMC/examples/GNUmakefile
/usr/share/doc/HepMC/examples/VectorConversion.h
/usr/share/doc/HepMC/examples/example_BuildEventFromScratch.cc
/usr/share/doc/HepMC/examples/example_EventSelection.cc
/usr/share/doc/HepMC/examples/example_UsingIterators.cc
/usr/share/doc/HepMC/examples/example_UsingIterators.txt
/usr/share/doc/HepMC/examples/example_VectorConversion.cc
/usr/share/doc/HepMC/examples/fio
/usr/share/doc/HepMC/examples/fio/GNUmakefile
/usr/share/doc/HepMC/examples/fio/PythiaHelper.h
/usr/share/doc/HepMC/examples/fio/example_MyHerwig.cc
/usr/share/doc/HepMC/examples/fio/example_MyPythia.cc
/usr/share/doc/HepMC/examples/fio/example_MyPythiaOnlyToHepMC.cc
/usr/share/doc/HepMC/examples/fio/example_PythiaStreamIO.cc
/usr/share/doc/HepMC/examples/fio/initPythia.cc
/usr/share/doc/HepMC/examples/fio/initpydata.f
/usr/share/doc/HepMC/examples/fio/testHerwigCopies.cc
/usr/share/doc/HepMC/examples/fio/testPythiaCopies.cc
/usr/share/doc/HepMC/examples/pythia8
/usr/share/doc/HepMC/examples/pythia8/GNUmakefile
/usr/share/doc/HepMC/examples/pythia8/main31.cc
/usr/share/doc/HepMC/examples/pythia8/main32.cc
/usr/share/doc/HepMC/examples/pythia8/main32.cmnd
/usr/share/licenses/HepMC-doc
/usr/share/licenses/HepMC-doc/COPYING

References

Summary

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