3 install \- install files
8 .RB [ \-lcsz\fIN\fP "] [" \-o
21 .RB [ \-lcsz\fIN\fP "] [" \-o
47 puts executables, manual pages, and library files in their proper place
48 in the bin, man, and lib directories. The first two forms of the
51 copying either one file to another or copying several files to a
52 directory. The "\fB\-d\fP" form is like
58 may be omitted if neither
62 is given to change the attributes of
65 Attributes are always copied from the source file, use the options to change.
66 Note that the source file's attributes are changed with the destination file
67 if they are linked. So copy the file if you change it in a way that makes
68 it read-only. You would otherwise not be able to compile a command again.
72 Link the destination to the source file instead of copying it. This is done
73 to either save space on a file system with both the source and the bin
74 directories on it, or to install synonyms to a command.
77 Copy the source file to its proper place. This option is the default if
81 the file is copied if the link fails.
84 Strip the destination file of its symbol table,
86 it is an executable, and
88 it is actually copied. It has no effect on a link or a non-executable.
91 Compress the executable using
93 and prepend a header line that calls
95 to decompress and execute the binary. This will on average save 40% disk
96 space at the expense of a slower startup time. Like
98 the file must be actually copied for the flag to have effect.
103 to compress the binary. You may see up to 60% space savings, but it will
106 is a digit from 1 to 9 telling the compression effort, see
110 Make a directory, usually to install files in a separate directory in a
111 library. Intermediate directories in the path are created with the same
112 attributes as the final directory. Only the attributes of the final
113 directory are set if the directory exists.
116 Set the owner of the target. This only works if the invoker is the
119 is run setuid root and the invoker is a member of group zero. If
121 is omitted then the ownership is copied from the source file, or set to
122 the id of the invoker if a directory is made.
127 but for the group ownership of the target.
131 is an octal number that specifies the mode the target should get. The
132 default is the source file's mode with a
134 applied to it, or 755 for a new directory. Implies
138 if a file is to be set-uid or set-gid and the invoker has permission to
139 change ownership. This trick allows a group 0 member to install third party
140 software, even though it expects to be installed by root.
143 Sets the maximum amount of heap + stack that an executable may have when
144 running. The argument is a C-style decimal, octal or hexadecimal
145 number, optionally followed by the multipliers
151 for mega (1024*1024), kilo (1024), "word" (2 or 4), and byte (1). Uppercase
153 is also accepted for those who know what S.I. means. The compilers use
155 by default, that translates to 64kb for an 8086, and 128kb for other
156 architectures. This option is ignored on a non-executable.
175 are also accepted for those who don't know what S.I. means.
177 Kees J. Bot (kjb@cs.vu.nl)