# phpman > man > install-info(1)

[INSTALL-INFO(1)](https://www.chedong.com/phpMan.php/man/INSTALL-INFO/1/markdown)                             User Commands                            [INSTALL-INFO(1)](https://www.chedong.com/phpMan.php/man/INSTALL-INFO/1/markdown)



## NAME
       install-info - update info/dir entries

## SYNOPSIS
       **install-info** [_OPTION_]... [_INFO-FILE_ [_DIR-FILE_]]

## DESCRIPTION
       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,  respec‐
       tively.

## 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 argu‐
              ment.

       **--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  speci‐
              fied, 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.

## REPORTING BUGS
       Email  bug  reports  to  <bug-texinfo@gnu.org>,  general  questions and discussion to help-tex‐
       <info@gnu.org>.
       Texinfo home page: <http://www.gnu.org/software/texinfo/>

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

## SEE ALSO
       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.



install-info 6.8                              July 2021                              [INSTALL-INFO(1)](https://www.chedong.com/phpMan.php/man/INSTALL-INFO/1/markdown)
