How To Install python3-HepMC3 on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-HepMC3
on Rocky Linux 8.
What is python3-HepMC3
This package provides the Python 3 bindings for HepMC3.
We can use yum
or dnf
to install python3-HepMC3
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-HepMC3.
Install python3-HepMC3 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 python3-HepMC3
using dnf
by running the following command:
sudo dnf -y install python3-HepMC3
Install python3-HepMC3 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 python3-HepMC3
using yum
by running the following command:
sudo yum -y install python3-HepMC3
How To Uninstall python3-HepMC3 on Rocky Linux 8
To uninstall only the python3-HepMC3
package we can use the following command:
sudo dnf remove python3-HepMC3
python3-HepMC3 Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/361c40bb04a2a9db3a1b81581b3b6aca62b9dc
/usr/lib64/python3.6/site-packages/pyHepMC3
/usr/lib64/python3.6/site-packages/pyHepMC3-3.2.4-py3.6.egg-info
/usr/lib64/python3.6/site-packages/pyHepMC3/__init__.py
/usr/lib64/python3.6/site-packages/pyHepMC3/__pycache__
/usr/lib64/python3.6/site-packages/pyHepMC3/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pyHepMC3/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pyHepMC3/pyHepMC3.so
References
Summary
In this tutorial we learn how to install python3-HepMC3
on Rocky Linux 8 using yum and dnf.