install-info (1) - Linux Manuals

install-info: update info/dir entries


install-info - update info/dir entries


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


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.


add only to first matching section, not all.
start description of new entries at column COL.
format second and subsequent description lines to start at column COL.
report what is being done.
delete existing entries for INFO-FILE from DIR-FILE; don't insert any new entries.
like --section, but only use TEXT if no sections are present in INFO-FILE (replacing "Miscellaneous").
the description of the entry is TEXT; used with the --name option to become synonymous with the --entry option.
specify file name of Info directory file; equivalent to using the DIR-FILE argument.
same as --test.
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.
display this help and exit.
same as --dir-file=,DIR//dir.
specify Info file to install in the directory; equivalent to using the INFO-FILE argument.
same as --entry=,TEXT/.
do not replace entries, or remove empty sections.
--maxwidth, --max-width=,COL/
wrap description at column COL.
same as --name=,TEXT/.
the name of the entry is TEXT; used with --description to become synonymous with the --entry option.
do not format new entries in the DIR file.
suppress warnings.
put this file's entries in all sections that match the regular expression R (ignoring case).
same as --delete.
only remove if the info file name matches exactly; suffixes such as .info and .gz are not ignored.
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.
suppress warnings.
suppress updating of DIR-FILE.
display version information and exit.


Email bug reports to bug-texinfo [at], general questions and discussion to help-texinfo [at]
Texinfo home page:


Copyright © 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.


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

should give you access to the complete manual.