How To Install gfal2 on Fedora 34

gfal2 is Grid file access library 2.0 Grid file access library 2.0

Introduction

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

What is gfal2

GFAL 2.0 offers an a single and simple POSIX-like API for the file operations in grids and cloud environments. The set of supported protocols depends of the gfal2 installed plugins. gfal2 2.18.2 8.fc34 x86_64 84 k gfal2-2.18.2-8.fc34.src.rpm fedora Grid file access library 2.0 http ASL 2.0 GFAL 2.0 offers an a single and simple POSIX-like API for the file operations in grids and cloud environments. The set of supported protocols depends of the gfal2 installed plugins.

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

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

sudo dnf -y install gfal2

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

sudo yum -y install gfal2

How To Uninstall gfal2 on Fedora 34

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

sudo dnf remove gfal2

gfal2 Package Contents on Fedora 34

/etc/gfal2.d
/etc/gfal2.d/bdii.conf
/etc/gfal2.d/gfal2_core.conf
/etc/gfal2.d/x509.conf
/usr/bin/gfal2_version
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/3b06b59551a6a83549d5d5654e84db3e1ba86a
/usr/lib/.build-id/37
/usr/lib/.build-id/37/ed92115f603173a1dfa02d27950b1486031865
/usr/lib/.build-id/44
/usr/lib/.build-id/44/5e533894cf878ba79f50bea4dbf40a81ec2b3a
/usr/lib/gfal2-plugins
/usr/lib/libgfal2.so.2
/usr/lib/libgfal2.so.2.18.2
/usr/lib/libgfal_transfer.so.2
/usr/lib/libgfal_transfer.so.2.18.2
/usr/share/doc/gfal2
/usr/share/doc/gfal2/DESCRIPTION
/usr/share/doc/gfal2/LICENSE
/usr/share/doc/gfal2/README.md
/usr/share/doc/gfal2/RELEASE-NOTES
/usr/share/man/man1/gfal2_version.1.gz
/etc/gfal2.d
/etc/gfal2.d/bdii.conf
/etc/gfal2.d/gfal2_core.conf
/etc/gfal2.d/x509.conf
/usr/bin/gfal2_version
/usr/lib/.build-id
/usr/lib/.build-id/61
/usr/lib/.build-id/61/c76b1b0ae39a4d01e93c93af7f67f19750e9b6
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/010ce73b660f5f7c0879ef73b04bc92bd7ef19
/usr/lib/.build-id/98
/usr/lib/.build-id/98/2ae28ac6dd8b580821ce2d95a7d5b8046799cc
/usr/lib64/gfal2-plugins
/usr/lib64/libgfal2.so.2
/usr/lib64/libgfal2.so.2.18.2
/usr/lib64/libgfal_transfer.so.2
/usr/lib64/libgfal_transfer.so.2.18.2
/usr/share/doc/gfal2
/usr/share/doc/gfal2/DESCRIPTION
/usr/share/doc/gfal2/LICENSE
/usr/share/doc/gfal2/README.md
/usr/share/doc/gfal2/RELEASE-NOTES
/usr/share/man/man1/gfal2_version.1.gz

References

Summary

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