Skip to content

Environment variables

The global parameters can be configured using environment variables.

Logging

Increase verbosity of output:

  • $UNIGET_LOGLEVEL
  • $UNIGET_DEBUG
  • $UNIGET_TRACE

Directories

Set the base directory using $UNIGET_PREFIX or --prefix. See chroot for more information.

Set the target directory $UNIGET_TARGET or --target.

Set the user context using $UNIGET_USER or --user. See context for more information.

Configure default behaviour

Configure defaults for uniget using environment variables.

User context

Configure operations to operate in user context:

export UNIGET_USER=true

Custom target directory

Configure a custom target directory:

export UNIGET_TARGET=/opt/uniget

Integrations

Enable the integrations when installing tools:

export UNIGET_INTEGRATEPROFILED=true
export UNIGET_INTEGRATEETC=true
export UNIGET_INTEGRATEALL=true

See also --integrate-profiled, --integrate-etc and --integrate-all.

Signature verification

Enabled by default. Disable verification of metadata and tool image signatures:

export UNIGET_VERIFY_IMAGE_SIGNATURE=false

Metadata download

Automatically update the metadata when needed:

export UNIGET_AUTOUPDATE=true