How to Install and Uninstall libdocopt-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 15,2024

1. Install "libdocopt-dev" package

This is a short guide on how to install libdocopt-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libdocopt-dev

2. Uninstall "libdocopt-dev" package

Learn how to uninstall libdocopt-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libdocopt-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libdocopt-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: libdocopt-dev
Architecture: amd64
Version: 0.6.2-2.1
Multi-Arch: same
Priority: optional
Section: universe/libdevel
Source: docopt.cpp
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 661
Depends: libdocopt0 (= 0.6.2-2.1)
Filename: pool/universe/d/docopt.cpp/libdocopt-dev_0.6.2-2.1_amd64.deb
Size: 109136
MD5sum: 9cd9d9000842134702caf6ef4cc56cc1
SHA1: 98a80050aa5828cfaa382ac6b1243fdc9deca378
SHA256: 1c1bd93a021aabe279d8905b61116d01b457e505d47d20e82ecf5d095547d1ff
SHA512: 39218419f6aa9a6dd26f8530c39b37da0a60639e7471a29e4697b5b70a47c6ffd2aac66997fec3f63657a1c9b63bfbb1e37f7d972492d3bae4dbaf741156a0c8
Homepage: https://github.com/docopt/docopt.cpp
Description-en: development files for docopt.cpp
With docopt, the option parser is generated based on the program's docstring.
docopt parses the usage pattern ("Usage: ...") and option descriptions (lines
starting with dash "-") and ensures that the program invocation matches the
usage pattern. It parses options, arguments and commands based on that. The
basic idea is that a good help message has all necessary information in it to
make a parser.
.
This is a port of the docopt Python module to C++ with a focus on maintaining
full feature parity (and code structure) as the original. The differences from
the Python port are:
.
- The addition of a docopt_parse function, which does not terminate the
program on error a docopt::value type to hold the various value types that
can be parsed.
.
- Because C++ is statically-typed and Python is not, some changes were made
to the interfaces of the internal parse tree types.
.
- Because std::regex does not have an equivalent to Python's regex.split,
some of the regex's had to be restructured and additional loops used.
.
This package provides the development files.
Description-md5: 3b951919bd25cd6fa2c3424528691856