How To Install docopt on Fedora 36
In this tutorial we learn how to install docopt in Fedora 36. docopt is Command line argument parsing
Introduction
In this tutorial we learn how to install docopt
on Fedora 36.
What is docopt
Command line argument parsing.
We can use yum
or dnf
to install docopt
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install docopt.
Install docopt 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 docopt
using dnf
by running the following command:
sudo dnf -y install docopt
Install docopt 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 docopt
using yum
by running the following command:
sudo yum -y install docopt
How To Uninstall docopt on Fedora 36
To uninstall only the docopt
package we can use the following command:
sudo dnf remove docopt
docopt Package Contents on Fedora 36
/usr/bin/docopt-wordlist
/usr/lib/.build-id
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/e16cce138f03ccb2590d8244e1173286f2a62a
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/docopt-wordlist.bash
/usr/share/doc/docopt
/usr/share/doc/docopt/README.md
/usr/share/licenses/docopt
/usr/share/licenses/docopt/COPYING
/usr/share/licenses/docopt/LICENSE-MIT
/usr/share/licenses/docopt/UNLICENSE
References
Summary
In this tutorial we learn how to install docopt
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).