Commit | Line | Data |
---|---|---|
58be0bbb C |
1 | .TH INSTALL 1 "22 April 1983" |
2 | .UC 4 | |
3 | .SH NAME | |
4 | install \- install binaries | |
5 | .SH SYNOPSIS | |
6 | .B install | |
7 | [ | |
8 | .B \-c | |
9 | ] [ | |
10 | .B \-m | |
11 | mode ] [ | |
12 | .B \-o | |
13 | owner ] [ | |
14 | .B \-g | |
15 | group ] [ | |
16 | .B \-s | |
17 | ] binary destination | |
18 | .SH DESCRIPTION | |
19 | .I Binary | |
20 | is moved (or copied if | |
21 | .B \-c | |
22 | is specified) to | |
23 | .IR destination . | |
24 | If | |
25 | .I destination | |
26 | already exists, | |
27 | it is removed before | |
28 | .I binary | |
29 | is moved. | |
30 | If the destination is a directory then | |
31 | .I binary | |
32 | is moved into the | |
33 | .I destination | |
34 | directory with its original file-name. | |
35 | .PP | |
36 | The mode for | |
37 | .I Destination | |
38 | is set to 755; the | |
39 | .B \-m | |
40 | .I mode | |
41 | option may be used to specify a different mode. | |
42 | .PP | |
43 | .I Destination | |
44 | is changed to owner root; the | |
45 | .B \-o | |
46 | .I owner | |
47 | option may be used to specify a different owner. | |
48 | .PP | |
49 | .I Destination | |
50 | is changed to group staff; the | |
51 | .B \-g | |
52 | .I group | |
53 | option may be used to specify a different group. | |
54 | .PP | |
55 | If the | |
56 | .B \-s | |
57 | option is specified the binary is stripped after being installed. | |
58 | .PP | |
59 | .I Install | |
60 | refuses to move a file onto itself. | |
61 | .SH "SEE ALSO" | |
62 | chgrp(1), chmod(1), cp(1), mv(1), strip(1), chown(8) |