Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ install(1m) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chmod(1)

make(1)

mk(8)



     install(1m)                DG/UX 4.30                 install(1m)



     NAME
          install - install commands

     SYNOPSIS
          /etc/install [-c dira] [-f dirb] [-i] [-n dirc] [-o] [-s]
          file [dirx ...]

     DESCRIPTION
          Install is a command most commonly used in makefiles (see
          make(1)) to install a file (updated target file) in a
          specific place within a file system.  Each file is installed
          by copying it into the appropriate directory, thereby
          retaining the mode and owner of the original command.  The
          program prints messages telling the user exactly which files
          it is replacing or creating and where they are going.

          If you give no options or directories (dirx ...), install
          searches a set of default directories (/bin, /usr/bin, /etc,
          /lib, and /usr/lib, in that order) for a file with the same
          name as file.  When the first occurrence is found, install
          issues a message saying that it is overwriting that file
          with file, and proceeds to do so.  If the file is not found,
          the program states this and exits without further action.

          If you specify one or more directories (dirx ...)  after
          file, those directories will be searched before the
          directories specified in the default list.

          Options are:

          -c  dira  Install a new command (file) in the directory
                    specified by dira, only if it is not found.  If it
                    is found, install issues a message saying that the
                    file already exists, and exits without overwriting
                    it.  This option can be used alone or with the -s
                    option.

          -f dirb   Install file in given directory, whether or not
                    one already exists.  If the file being installed
                    does not already exist, the mode and owner of the
                    new file are set to 755 and bin, respectively.  If
                    the file already exists, the mode and owner of the
                    file stay the same.  This option can be used alone
                    or with the -o or -s options.

          -i        Ignore the default directory list, searching only
                    through the given directories (dirx ...).  This
                    option can be used alone or with any other options
                    other than -c and -f.

          -n dirc   Put file in directory dirc, if the file is not
                    found in any of the searched directories; set the



     Licensed material--property of copyright holder(s)         Page 1





     install(1m)                DG/UX 4.30                 install(1m)



                    mode and owner of the new file to 755 and bin,
                    respectively.  This option can be used alone or
                    with any other options except -c and -f.

          -o        Save file, if found, by copying it to OLDfile in
                    the directory in which the file was found.  This
                    option is useful when installing a normally text
                    busy file such as /bin/sh or /etc/getty, where the
                    existing file cannot be removed.  May be used
                    alone or with any other options other than -c.

          -s        Suppress printing of messages other than error
                    messages.  This option can be used alone or with
                    any other options.

     SEE ALSO
          chmod(1), make(1), mk(8).






































     Licensed material--property of copyright holder(s)         Page 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026