How To Install erlang-getopt on Fedora 36
Introduction
In this tutorial we learn how to install erlang-getopt
on Fedora 36.
What is erlang-getopt
Command-line parsing module that uses a syntax similar to that of GNU getopt.
We can use yum
or dnf
to install erlang-getopt
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install erlang-getopt.
Install erlang-getopt 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 erlang-getopt
using dnf
by running the following command:
sudo dnf -y install erlang-getopt
Install erlang-getopt 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 erlang-getopt
using yum
by running the following command:
sudo yum -y install erlang-getopt
How To Uninstall erlang-getopt on Fedora 36
To uninstall only the erlang-getopt
package we can use the following command:
sudo dnf remove erlang-getopt
erlang-getopt Package Contents on Fedora 36
/usr/share/doc/erlang-getopt
/usr/share/doc/erlang-getopt/README.md
/usr/share/doc/erlang-getopt/examples
/usr/share/doc/erlang-getopt/examples/ex1.erl
/usr/share/doc/erlang-getopt/examples/ex1.escript
/usr/share/doc/erlang-getopt/examples/getopt_long_help.escript
/usr/share/doc/erlang-getopt/examples/rebar_test.erl
/usr/share/doc/erlang-getopt/examples/rebar_test.escript
/usr/share/erlang/lib/getopt-1.0.2
/usr/share/erlang/lib/getopt-1.0.2/ebin
/usr/share/erlang/lib/getopt-1.0.2/ebin/getopt.app
/usr/share/erlang/lib/getopt-1.0.2/ebin/getopt.beam
/usr/share/licenses/erlang-getopt
/usr/share/licenses/erlang-getopt/LICENSE.txt
References
Summary
In this tutorial we learn how to install erlang-getopt
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).