---
name: "octave-config-2.9.9"
section: "1"
platform: "linux"
package: "octave2.9-headers"
version: "2.9.9-8etch1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/octave-config-2.9.9"
---

# octave-config-2.9.9(1)

GNU Octave component and library information retrieval

## NAME

octave-config - GNU Octave component and library information retrieval

## SYNOPSIS

**octave-config** \[*options*\]

## DESCRIPTION

**octave-config** is a tool to obtain directory information for  *.oct* and  *.m* files for [**octave**(1)](/octave/1.md).

## OPTIONS

**octave-config** accepts the following options:

- **--m-site-dir**

  Display the main directory for local, or site-specific, .m script files.

- **--oct-site-dir**

  Display the main directory for local, or site-specific, .oct dynamic-link libraries.

- **-p\|--print VAR**

  Print the default value of the Octave configuration variable VAR. Recognized variables are:

      CANONICAL\_HOST\_TYPE    LOCALFCNFILEDIR    \
       DEFAULT\_PAGER          LOCALFCNFILEPATH\
       ARCHLIBDIR             LOCALOCTFILEDIR\
       BINDIR                 LOCALOCTFILEPATH\
       DATADIR                LOCALSTARTUPFILEDIR\
       EXEC\_PREFIX            LOCALVERARCHLIBDIR\
       FCNFILEDIR             LOCALVERFCNFILEDIR\
       FCNFILEPATH            LOCALVEROCTFILEDIR\
       IMAGEDIR               MAN1DIR\
       IMAGE\_PATH             MAN1EXT\
       INCLUDEDIR             MANDIR\
       INFODIR                OCTFILEDIR\
       INFOFILE               OCTINCLUDEDIR\
       LIBDIR                 OCTLIBDIR\
       LIBEXECDIR             PREFIX\
       LIBEXECDIR             STARTUPFILEDIR\
       LOCALARCHLIBDIR        VERSION

- **-v\|--version**

  Display the version number of  [**octave**(1)](/octave/1.md).

- **-h\|-?\|--help**

  Display a help page about **octave-config**

## AUTHOR

John W. Eaton \<jwe@bevo.che.wisc.edu\>

This manual page was contributed by Dirk Eddelbuettel \<edd@debian.org\>  for the Debian GNU/Linux distribution but may be used by others.
