How To Install gfal2-util on CentOS 8
Introduction
In this tutorial we learn how to install gfal2-util
on CentOS 8.
What is gfal2-util
gfal2-util is a set of basic utility tools for file interactions and file copy based on the GFAL 2.0 toolkit. gfal2-util supports the protocols of GFAL 2.0 gridFTP, http(s), SRM, xrootd, etc…
We can use yum
or dnf
to install gfal2-util
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install gfal2-util.
Install gfal2-util on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install gfal2-util
using dnf
by running the following command:
sudo dnf -y install gfal2-util
Install gfal2-util on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install gfal2-util
using yum
by running the following command:
sudo yum -y install gfal2-util
How To Uninstall gfal2-util on CentOS 8
To uninstall only the gfal2-util
package we can use the following command:
sudo dnf remove gfal2-util
gfal2-util Package Contents on CentOS 8
/usr/bin/gfal-cat
/usr/bin/gfal-chmod
/usr/bin/gfal-copy
/usr/bin/gfal-legacy-bringonline
/usr/bin/gfal-legacy-register
/usr/bin/gfal-legacy-replicas
/usr/bin/gfal-legacy-unregister
/usr/bin/gfal-ls
/usr/bin/gfal-mkdir
/usr/bin/gfal-rename
/usr/bin/gfal-rm
/usr/bin/gfal-save
/usr/bin/gfal-stat
/usr/bin/gfal-sum
/usr/bin/gfal-xattr
/usr/lib/python3.6/site-packages/gfal2_util
/usr/lib/python3.6/site-packages/gfal2_util-1.5.3-py3.6.egg-info
/usr/lib/python3.6/site-packages/gfal2_util/__init__.py
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/commands.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/commands.cpython-36.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/copy.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/copy.cpython-36.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/gfal2_utils_parameters.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/gfal2_utils_parameters.cpython-36.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/legacy.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/legacy.cpython-36.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/ls.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/ls.cpython-36.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/progress.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/progress.cpython-36.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/rm.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/rm.cpython-36.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/shell.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/shell.cpython-36.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gfal2_util/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/gfal2_util/base.py
/usr/lib/python3.6/site-packages/gfal2_util/commands.py
/usr/lib/python3.6/site-packages/gfal2_util/copy.py
/usr/lib/python3.6/site-packages/gfal2_util/gfal2_utils_parameters.py
/usr/lib/python3.6/site-packages/gfal2_util/legacy.py
/usr/lib/python3.6/site-packages/gfal2_util/ls.py
/usr/lib/python3.6/site-packages/gfal2_util/progress.py
/usr/lib/python3.6/site-packages/gfal2_util/rm.py
/usr/lib/python3.6/site-packages/gfal2_util/shell.py
/usr/lib/python3.6/site-packages/gfal2_util/utils.py
/usr/share/doc/gfal2-util
/usr/share/doc/gfal2-util/LICENSE
/usr/share/doc/gfal2-util/RELEASE-NOTES
/usr/share/doc/gfal2-util/VERSION
/usr/share/man/man1/gfal-cat.1.gz
/usr/share/man/man1/gfal-chmod.1.gz
/usr/share/man/man1/gfal-copy.1.gz
/usr/share/man/man1/gfal-legacy-register.1.gz
/usr/share/man/man1/gfal-legacy-replicas.1.gz
/usr/share/man/man1/gfal-legacy-unregister.1.gz
/usr/share/man/man1/gfal-ls.1.gz
/usr/share/man/man1/gfal-mkdir.1.gz
/usr/share/man/man1/gfal-rename.1.gz
/usr/share/man/man1/gfal-rm.1.gz
/usr/share/man/man1/gfal-save.1.gz
/usr/share/man/man1/gfal-stat.1.gz
/usr/share/man/man1/gfal-sum.1.gz
/usr/share/man/man1/gfal-xattr.1.gz
References
Summary
In this tutorial we learn how to install gfal2-util
on CentOS 8 using yum and dnf.