


INSTALL(1L)                                           INSTALL(1L)


NNAAMMEE
       install - copy files and set their attributes

SSYYNNOOPPSSIISS
       iinnssttaallll [options] [-s] [--strip] source dest
       iinnssttaallll [options] [-s] [--strip] source... directory
       iinnssttaallll [options] [-d,--directory] directory...
       Options:
       [-c]  [-g  group]  [-m  mode]  [-o  owner] [--group=group]
       [--mode=mode] [--owner=owner]

DDEESSCCRRIIPPTTIIOONN
       This manual page documents the  GNU  version  of  iinnssttaallll.
       iinnssttaallll  copies files and sets their permission modes and,
       if possible, their owner and group.  Used similarly to ccpp;
       typically  used  in  Makefiles to copy programs into their
       destination directories.  It can also be  used  to  create
       the  destination  directories and any leading directories,
       and to set the final directory's  modes.   It  refuses  to
       copy files onto themselves.

   OOPPTTIIOONNSS
       _-_c     Ignored;  for  compatibility with old Unix versions
              of install.

       _-_d_, _-_-_d_i_r_e_c_t_o_r_y
              Create each given directory and its leading  direc-
              tories,  if  they  do  not  already exist.  Set the
              owner, group and mode as given on the command  line
              or  to the defaults.  Also gives any leading direc-
              tories that are created those attributes.  This  is
              different  from  the SunOS 4.x _i_n_s_t_a_l_l, which gives
              directories that it creates the default attributes.

       _-_g_, _-_-_g_r_o_u_p _g_r_o_u_p
              Set  the  group  ownership of the installed file or
              directory to the group ID of _g_r_o_u_p (default is pro-
              cess's current group).  _g_r_o_u_p may also be a numeric
              group ID.

       _-_m_, _-_-_m_o_d_e _m_o_d_e
              Set the permission mode for the installed  file  or
              directory  to  _m_o_d_e,  which  can be either an octal
              number, or a symbolic mode as in chmod, with  0  as
              the  point of departure.  The default mode is 0755.

       _-_o_, _-_-_o_w_n_e_r _o_w_n_e_r
              If run as root, set the ownership of the  installed
              file  to  the  user  ID of _o_w_n_e_r (default is root).
              _o_w_n_e_r may also be a numeric user ID.

       _-_s_, _-_-_s_t_r_i_p
              Strip the symbol tables from installed programs.




                                                                1





INSTALL(1L)                                           INSTALL(1L)


       The long-named options can be introduced with `+' as  well
       as  `--', for compatibility with previous releases.  Even-
       tually support for `+' will  be  removed,  because  it  is
       incompatible with the POSIX.2 standard.





















































                                                                2


