How To Install pythia8 on Fedora 34

pythia8 is Pythia Event Generator for High Energy Physics Pythia Event Generator for High Energy Physics

Introduction

In this tutorial we learn how to install pythia8 on Fedora 34.

What is pythia8

PYTHIA is a program for the generation of high-energy physics events, i.e. for the description of collisions at high energies between elementary particles such as e⁺, e⁻, p and p̄ in various combinations. It contains theory and models for a number of physics aspects, including hard and soft interactions, parton distributions, initial and final-state parton showers, multiple interactions, fragmentation and decay. pythia8 8.3.03 2.fc34 x86_64 3.0 M pythia8-8.3.03-2.fc34.src.rpm updates Pythia Event Generator for High Energy Physics http GPLv2+ PYTHIA is a program for the generation of high-energy physics events, i.e. for the description of collisions at high energies between elementary particles such as e⁺, e⁻, p and p̄ in various combinations. It contains theory and models for a number of physics aspects, including hard and soft interactions, parton distributions, initial and final-state parton showers, multiple interactions, fragmentation and decay.

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

Install pythia8 on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install pythia8 using dnf by running the following command:

sudo dnf -y install pythia8

Install pythia8 on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install pythia8 using yum by running the following command:

sudo yum -y install pythia8

How To Uninstall pythia8 on Fedora 34

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

sudo dnf remove pythia8

pythia8 Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/e130bb6c99dfe4e64fdb0591c63a076348a969
/usr/lib64/libpythia8-8.3.03.so
/usr/share/doc/pythia8
/usr/share/doc/pythia8/AUTHORS
/usr/share/doc/pythia8/GUIDELINES
/usr/share/licenses/pythia8
/usr/share/licenses/pythia8/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/133bd834b15e95cb719ac81a69934c0dad1e87
/usr/lib/libpythia8-8.3.03.so
/usr/share/doc/pythia8
/usr/share/doc/pythia8/AUTHORS
/usr/share/doc/pythia8/GUIDELINES
/usr/share/licenses/pythia8
/usr/share/licenses/pythia8/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/59
/usr/lib/.build-id/59/531ccd894422aab7b5cbfa682c33ac0babaa61
/usr/lib/libpythia8-8.3.03.so
/usr/share/doc/pythia8
/usr/share/doc/pythia8/AUTHORS
/usr/share/doc/pythia8/GUIDELINES
/usr/share/licenses/pythia8
/usr/share/licenses/pythia8/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/d2e95513243f62d9023b2913728b6c9556fec1
/usr/lib64/libpythia8-8.3.03.so
/usr/share/doc/pythia8
/usr/share/doc/pythia8/AUTHORS
/usr/share/doc/pythia8/GUIDELINES
/usr/share/licenses/pythia8
/usr/share/licenses/pythia8/COPYING

References

Summary

In this tutorial we learn how to install pythia8 on Fedora 34 using yum and dnf.