How To Install argbash on Rocky Linux 8
Introduction
In this tutorial we learn how to install argbash on Rocky Linux 8.
What is argbash
Argbash helps your shell scripts to accept arguments. You declare what arguments you want your script to accept and Argbash generates the shell code that parses them from the command-line and exposes passed values as shell variables. Help message is also generated, and helpful error messages are dispatched if the script is called with arguments that conflict with the interface.
We can use yum or dnf to install argbash on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install argbash.
Install argbash 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 argbash using dnf by running the following command:
sudo dnf -y install argbash
Install argbash 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 argbash using yum by running the following command:
sudo yum -y install argbash
How To Uninstall argbash on Rocky Linux 8
To uninstall only the argbash package we can use the following command:
sudo dnf remove argbash
argbash Package Contents on Rocky Linux 8
/usr/bin/argbash
/usr/bin/argbash-1to2
/usr/bin/argbash-init
/usr/share/argbash
/usr/share/argbash/argbash-lib.m4
/usr/share/argbash/argument_value_types.m4
/usr/share/argbash/collectors.m4
/usr/share/argbash/constants.m4
/usr/share/argbash/default_settings.m4
/usr/share/argbash/docopt.m4
/usr/share/argbash/env_vars.m4
/usr/share/argbash/function_generators.m4
/usr/share/argbash/list.m4
/usr/share/argbash/output-bash-script.m4
/usr/share/argbash/output-completion.m4
/usr/share/argbash/output-docopt.m4
/usr/share/argbash/output-manpage-defs.m4
/usr/share/argbash/output-manpage.m4
/usr/share/argbash/output-posix-script.m4
/usr/share/argbash/output-strip-all.m4
/usr/share/argbash/output-strip-none.m4
/usr/share/argbash/output-strip-user-content.m4
/usr/share/argbash/progs.m4
/usr/share/argbash/stuff.m4
/usr/share/argbash/utilities.m4
/usr/share/argbash/value_validators.m4
/usr/share/argbash/version
/usr/share/bash-completion/completions/argbash
/usr/share/doc/argbash
/usr/share/doc/argbash/ChangeLog
/usr/share/doc/argbash/README.md
/usr/share/licenses/argbash
/usr/share/licenses/argbash/LICENSE
/usr/share/man/man1/argbash.1.gz
References
Summary
In this tutorial we learn how to install argbash on Rocky Linux 8 using yum and dnf.