Scroll to navigation

GNUNET-CONFIG(1) General Commands Manual GNUNET-CONFIG(1)

NAME

gnunet-configmanipulate GNUnet configuration files and provide information on how GNUnet was built

SYNOPSIS

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]

DESCRIPTION

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.

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).
|
Print an appropriate value for CFLAGS to compile applications on top of GNUnet.
FILENAME | FILENAME
Use the configuration file FILENAME.
|
Write the full configuration, not just the deltas to the defaults.
|
Try to perform expansions as if the option values represent filenames (will also be applied even if the option is not really a filename).
|
Print short help on options.
|
Print an appropriate value for LIBS to compile applications on top of GNUnet.
LOGLEVEL | LOGLEVEL
Use LOGLEVEL for logging. Valid values are DEBUG, INFO, WARNING and ERROR.
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".
|
Print GNUnet's installation prefix (for example /usr/local.)
|
Write the configuration to file, even if it did not change.
-|-list-sections
List available configuration sections for use with --section.
SECTION | SECTION
Which configuration section should be accessed or edited. Required option.
VALUE | VALUE
Configuration value to store in the given section under the given option. Must only be given together with -s and -o options.
|
Print GNUnet version number.

SEE ALSO

The full documentation for gnunet is maintained as a Texinfo manual. If the info(1) and gnunet programs are properly installed at your site, the command

info gnunet

should give you access to the complete handbook,

info gnunet-c-tutorial

will give you access to a tutorial for developers.

Depending on your installation, this information is also available in gnunet(7) and gnunet-c-tutorial(7).

BUGS

Report bugs by using https://bugs.gnunet.org or by sending electronic mail to <gnunet-developers@gnu.org>.

July 15, 2012 Debian