xref: /386bsd/usr/share/man/cat1/install.0 (revision a2142627)
1INSTALL(1)                  386BSD Reference Manual                 INSTALL(1)
2
3NNAAMMEE
4     iinnssttaallll - install binaries
5
6SSYYNNOOPPSSIISS
7     iinnssttaallll [--ccss] [--mm _m_o_d_e] [--oo _o_w_n_e_r] [--gg _g_r_o_u_p] _f_i_l_e_1 _f_i_l_e_2
8     iinnssttaallll [--ccss] [--mm _m_o_d_e] [--oo _o_w_n_e_r] [--gg _g_r_o_u_p] _f_i_l_e_1 ...  _f_i_l_e_N _d_i_r_e_c_t_o_r_y
9
10DDEESSCCRRIIPPTTIIOONN
11     The file(s) are moved (or copied if the --cc option is specified) to the
12     target file or directory.  If the destination is a directory, then the
13     _f_i_l_e is moved into _d_i_r_e_c_t_o_r_y with its original filename.  If the target
14     file already exists, it is overwritten if permissions allow.
15
16     --mm      Specify an alternate mode.  The default mode is set to 755.  The
17             specified mode may be either an octal or symbolic value; see
18             chmod(1) for a description of possible mode values.
19
20     --oo      Specify an owner.
21
22     --gg      Specify a group.
23
24     --ss      IInnssttaallll exec's the command strip(1) to strip binaries so that
25             install can be portable over a large number of systems and binary
26             types.
27
28     IInnssttaallll refuses to move a file onto itself.
29
30     Installing /_d_e_v/_n_u_l_l creates an empty file.
31
32     Upon successful completion a value of 0 is returned.  Otherwise, a value
33     of 1 is returned.
34
35SSEEEE AALLSSOO
36     chgrp(1),  chmod(1),  cp(1),  mv(1),  strip(1),  a.out(5),  chown(8)
37
38HHIISSTTOORRYY
39     The iinnssttaallll utility appeared in 4.2BSD.
40
414.2 Berkeley Distribution        May 31, 1991                                1
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67