.. _spkg_gengetopt:

gengetopt: getopt_long parser generator
===========================================

Description
-----------

GNU Gengetopt converts a textual description of your program's
arguments and options into a getopt_long() parser in C (or C++).

Website: https://www.gnu.org/software/gengetopt/


License
-------
GPL-3+ (https://www.gnu.org/software/gengetopt/LICENSE)

Type
----

standard


Version Information
-------------------

package-version.txt::

    2.23


Equivalent System Packages
--------------------------

conda:

.. CODE-BLOCK:: bash

    $ conda install gengetopt

cygwin:

.. CODE-BLOCK:: bash

    $ apt-cyg install gengetopt

Debian/Ubuntu:

.. CODE-BLOCK:: bash

    $ sudo apt-get install  gengetopt

Fedora/Redhat/CentOS:

.. CODE-BLOCK:: bash

    $ sudo yum install  gengetopt

gentoo:

.. CODE-BLOCK:: bash

    $ sudo emerge dev-util/gengetopt

homebrew:

.. CODE-BLOCK:: bash

    $ brew install gengetopt

nix:

.. CODE-BLOCK:: bash

    $ nix-env --install gengetopt

void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  gengetopt

See https://repology.org/project/gengetopt/versions

If the system package is installed, ./configure will check whether it can be used.

