gnunet-config(1)

gnunet-config1

Manipulate gnunet configuration files and provide information on how gnunet was built

Usage

gnunet-config [{-b BACKEND | --supported-backend=BACKEND}] [{-C | --cflags}] [{-c FILENAME | --config=FILENAME}] [{-F | --full}] [{-f | --filename}] [{-h | --help}] [{-j | --libs}] [{-L LOGLEVEL | --loglevel=LOGLEVEL}] [{-o OPTION | --option=OPTION}] [{-p | --prefix}] [{-r | --rewrite}] [{-S - | -list-sections}] [{-s SECTION | --section=SECTION}] [{-V VALUE | --value VALUE}] [{-v | --version}]

Overview

gnunet-config can be used to read or modify GNUnet configuration files. It can also provide information to properly build applications on top of GNUnet, like appropriate values for CFLAGS or the installation prefix.

-b BACKEND | --supported-backend=BACKEND

Tests whether the specified BACKEND is supported by the current installation. The backend must match the name of a plugin, e.g. "namestore_postgres" for the Postgres database backend of the "NAMESTORE" service. If the BACKEND is supported, gnunet-config will return a status code of 0 (success), otherwise 77 (unsupported). When this option is specified, no other options may be specified. Specifying this option together with other options will cause gnunet-config to return a status code of 1 (error).

-C | --cflags

Print an appropriate value for CFLAGS to compile applications on top of GNUnet.

-c FILENAME | --config=FILENAME

Use the configuration file FILENAME.

-F | --full

Write the full configuration, not just the deltas to the defaults.

-f | --filename

Try to perform expansions as if the option values represent filenames (will also be applied even if the option is not really a filename).

-h | --help

Print short help on options.

-j | --libs

Print an appropriate value for LIBS to compile applications on top of GNUnet.

-L LOGLEVEL | --loglevel=LOGLEVEL

Use LOGLEVEL for logging. Valid values are DEBUG, INFO, WARNING and ERROR.

-o OPTION | --option=OPTION

Which configuration option should be accessed or edited. Required to set a value. If not given, all values of a given section will be printed in the format "OPTION = VALUE".

-p | --prefix

Print GNUnet's installation prefix (for example /usr/local.)

-r | --rewrite

Write the configuration to file, even if it did not change.

-S -|-list-sections

List available configuration sections for use with --section.

-s SECTION | --section=SECTION

Which configuration section should be accessed or edited. Required option.

-V VALUE | --value VALUE

Configuration value to store in the given section under the given option. Must only be given together with -s and -o options.

-v | --version

Print GNUnet version number.

Releases

6 releases since Debian 8 (Jessie); the text changed 2 times.

  1. 8–10
  2. 11
  3. 12–13

--cflags since Debian 12 (Bookworm); --full since Debian 12 (Bookworm); --libs since Debian 12 (Bookworm); --prefix since Debian 12 (Bookworm); --rewrite since Debian 11 (Bullseye); -C since Debian 12 (Bookworm); -F since Debian 12 (Bookworm); -j since Debian 12 (Bookworm); -p since Debian 12 (Bookworm); -r since Debian 12 (Bookworm).

--config until Debian 10 (Buster); --loglevel until Debian 10 (Buster); --option until Debian 10 (Buster); --section until Debian 10 (Buster); --value until Debian 10 (Buster); -L until Debian 10 (Buster); -V until Debian 10 (Buster); -W until Debian 11 (Bullseye); -c until Debian 10 (Buster); -o until Debian 10 (Buster); -s until Debian 10 (Buster).

Bugs

Report bugs by using https://bugs.gnunet.org or by sending electronic mail to ⟨[email protected]⟩.

From libgnunet0.20t64 0.20.0-7 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.