How To Install lhapdf on Fedora 36

In this tutorial we learn how to install lhapdf in Fedora 36. lhapdf is Les Houches Accord PDF Interface

Introduction

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

What is lhapdf

LHAPDF is a general purpose C++ interpolator, used for evaluating PDFs from discretized data files. Previous versions of LHAPDF were written in Fortran 77/90 and are documented at http LHAPDF6 vastly reduces the memory overhead of the Fortran LHAPDF (from gigabytes to megabytes!), entirely removes restrictions on numbers of concurrent PDFs, allows access to single PDF members without needing to load whole sets, and separates a new standardized PDF data format from the code library so that new PDF sets may be created and released easier and faster. The C++ LHAPDF6 also permits arbitrary parton contents via the standard PDG ID code scheme, is computationally more efficient (particularly if only one or two flavors are required at each phase space point, as in PDF reweighting), and uses a flexible metadata system which fixes many fundamental metadata and concurrency bugs in LHAPDF5. Compatibility routines are provided as standard for existing C++ and Fortran codes using the LHAPDF5 and PDFLIB legacy interfaces, so you can keep using your existing codes. But the new interface is much more powerful and pleasant to work with, so we think you’ll want to switch once you’ve used it! LHAPDF6 is documented in more detail in http

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

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

sudo dnf -y install lhapdf

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

sudo yum -y install lhapdf

How To Uninstall lhapdf on Fedora 36

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

sudo dnf remove lhapdf

lhapdf Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/a5623f9288c8edc74eda4e6c8432fd5eae546b
/usr/lib64/libLHAPDF-6.4.0.so
/usr/share/LHAPDF
/usr/share/LHAPDF/lhapdf.conf
/usr/share/LHAPDF/pdfsets.index
/usr/share/doc/lhapdf
/usr/share/doc/lhapdf/AUTHORS
/usr/share/doc/lhapdf/ChangeLog
/usr/share/licenses/lhapdf
/usr/share/licenses/lhapdf/COPYING

References

Summary

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


title: “How To Install lhapdf on Fedora 36” linkTitle: “lhapdf” type: “docs” description: “In this tutorial we learn how to install lhapdf in Fedora 36. lhapdf is Les Houches Accord PDF Interface” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/lhapdf-featured.png

Introduction

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

What is lhapdf

LHAPDF is a general purpose C++ interpolator, used for evaluating PDFs from discretized data files. Previous versions of LHAPDF were written in Fortran 77/90 and are documented at http LHAPDF6 vastly reduces the memory overhead of the Fortran LHAPDF (from gigabytes to megabytes!), entirely removes restrictions on numbers of concurrent PDFs, allows access to single PDF members without needing to load whole sets, and separates a new standardized PDF data format from the code library so that new PDF sets may be created and released easier and faster. The C++ LHAPDF6 also permits arbitrary parton contents via the standard PDG ID code scheme, is computationally more efficient (particularly if only one or two flavors are required at each phase space point, as in PDF reweighting), and uses a flexible metadata system which fixes many fundamental metadata and concurrency bugs in LHAPDF5. Compatibility routines are provided as standard for existing C++ and Fortran codes using the LHAPDF5 and PDFLIB legacy interfaces, so you can keep using your existing codes. But the new interface is much more powerful and pleasant to work with, so we think you’ll want to switch once you’ve used it! LHAPDF6 is documented in more detail in http

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

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

sudo dnf -y install lhapdf

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

sudo yum -y install lhapdf

How To Uninstall lhapdf on Fedora 36

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

sudo dnf remove lhapdf

lhapdf Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/e585809a72fb5eccc57d0864f3035fc12788b5
/usr/lib/libLHAPDF-6.4.0.so
/usr/share/LHAPDF
/usr/share/LHAPDF/lhapdf.conf
/usr/share/LHAPDF/pdfsets.index
/usr/share/doc/lhapdf
/usr/share/doc/lhapdf/AUTHORS
/usr/share/doc/lhapdf/ChangeLog
/usr/share/licenses/lhapdf
/usr/share/licenses/lhapdf/COPYING

References

Summary

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