install-info(1)

install-info1

Update info/dir entries

Usage

install-info [OPTION] ... [INFO-FILE [DIR-FILE]]

Overview

Add or remove entries in INFO-FILE from the Info directory DIR-FILE. INFO-FILE and DIR-FILE are required unless the --info-file or --dir-file (or --info-dir) options are given, respectively.

Options

--add-once

add only to first matching section, not all.

--align=COL

start description of new entries at column COL.

--calign=COL

format second and subsequent description lines to start at column COL.

--debug

report what is being done.

--delete

delete existing entries for INFO-FILE from DIR-FILE; don't insert any new entries.

--defsection=TEXT

like --section, but only use TEXT if no sections are present in INFO-FILE (replacing "Miscellaneous").

--description=TEXT

the description of the entry is TEXT; used with the --name option to become synonymous with the --entry option.

--dir-file=NAME

specify file name of Info directory file; equivalent to using the DIR-FILE argument.

--dry-run

same as --test.

--entry=TEXT

insert TEXT as an Info directory entry, overriding any corresponding entry from DIR-FILE. TEXT is written as an Info menu item line followed

by zero or more extra lines starting with whitespace.

If you specify more than one entry, all are added. If you don't specify any entries, they are determined

from information in the Info file itself.

--help

display this help and exit.

--info-dir=DIR

same as --dir-file=DIR/dir.

--info-file=FILE

specify Info file to install in the directory; equivalent to using the INFO-FILE argument.

--item=TEXT

same as --entry=TEXT.

--keep-old

do not replace entries, or remove empty sections.

--maxwidth, --max-width=COL

wrap description at column COL.

--menuentry=TEXT

same as --name=TEXT.

--name=TEXT

the name of the entry is TEXT; used with --description to become synonymous with the --entry option.

--no-indent

do not format new entries in the DIR file.

--quiet

suppress warnings.

--regex=R

put this file's entries in all sections that match the regular expression R (ignoring case).

--remove

same as --delete.

--remove-exactly

only remove if the info file name matches exactly; suffixes such as .info and .gz are not ignored.

--section=SEC

put entries in section SEC of the directory. If you specify more than one section, all the entries

are added in each of the sections.

If you don't specify any sections, they are determined

from information in the Info file itself;

if nothing is available there, the --defsection value is used; if that is not specified, the final default is "Miscellaneous".

--section R SEC

equivalent to --regex=R --section=SEC --add-once.

--silent

suppress warnings.

--test

suppress updating of DIR-FILE.

--version

display version information and exit.

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0–7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13
  8. Arch

--add-once since Debian 8 (Jessie); --align since Debian 8 (Jessie); --calign since Debian 8 (Jessie); --debug since Debian 8 (Jessie); --defsection since Debian 9 (Stretch); --delete since Debian 8 (Jessie); --description since Debian 8 (Jessie); --dir-file since Debian 8 (Jessie); --dry-run since Debian 8 (Jessie); --entry since Debian 8 (Jessie); --help since Debian 8 (Jessie); --info-dir since Debian 8 (Jessie); --info-file since Debian 8 (Jessie); --item since Debian 8 (Jessie); --keep-old since Debian 8 (Jessie); --max-width since Debian 8 (Jessie); --maxwidth since Debian 8 (Jessie); --menuentry since Debian 8 (Jessie); --name since Debian 8 (Jessie); --no-indent since Debian 8 (Jessie); --quiet since Debian 8 (Jessie); --regex since Debian 8 (Jessie); --remove since Debian 8 (Jessie); --remove-exactly since Debian 8 (Jessie); --section since Debian 8 (Jessie); --silent since Debian 8 (Jessie); --test since Debian 8 (Jessie); --version since Debian 8 (Jessie).

Reporting bugs

Email bug reports to [email protected], general questions and discussion to [email protected].
Texinfo home page: https://www.gnu.org/software/texinfo/

From texinfo 7.3-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.