3 install \- install files
8 .RB [ \-cpsz\fIN\fP "] [" \-l
23 .RB [ \-cpsz\fIN\fP "] [" \-l
53 puts executables, manual pages, and library files in their proper place
54 in the bin, man, and lib directories. The first two forms of the
57 copying either one file to another or copying several files to a
58 directory. The "\fB\-d\fP" form is like
64 may be omitted if neither
68 is given to change the attributes of
71 Attributes are always copied from the source file, use the options to change.
72 Note that the source file's attributes are changed with the destination file
73 if they are linked. So copy the file if you change it in a way that makes
74 it read-only. You would otherwise not be able to compile a command again.
78 Link the destination to the source file instead of copying it. This is done
79 to either save space on a file system with both the source and the bin
80 directories on it, or to install synonyms to a command. The
82 argument can either be
90 Copy the source file to its proper place. This option is the default if
94 the file is copied if the link fails. This option is also allowed with
101 Preserve timestamp on source file or directory.
104 Strip the destination file of its symbol table,
106 it is an executable, and
108 it is actually copied. It has no effect on a link or a non-executable.
111 Compress the executable using
113 and prepend a header line that calls
115 to decompress and execute the binary. This will on average save 40% disk
116 space at the expense of a slower startup time. Like
118 the file must be actually copied for the flag to have effect.
123 to compress the binary. You may see up to 60% space savings, but it will
126 is a digit from 1 to 9 telling the compression effort, see
130 Make a directory, usually to install files in a separate directory in a
131 library. Intermediate directories in the path are created with the same
132 attributes as the final directory. Only the attributes of the final
133 directory are set if the directory exists.
136 Set the owner of the target. This only works if the invoker is the
139 is run setuid root and the invoker is a member of group zero. If
141 is omitted then the ownership is copied from the source file, or set to
142 the id of the invoker if a directory is made.
147 but for the group ownership of the target.
151 is an octal number that specifies the mode the target should get. The
152 default is the source file's mode with a
154 applied to it, or 755 for a new directory. Implies
158 if a file is to be set-uid or set-gid and the invoker has permission to
159 change ownership. This trick allows a group 0 member to install third party
160 software, even though it expects to be installed by root.
163 Sets the maximum amount of heap + stack that an executable may have when
164 running. The argument is a C-style decimal, octal or hexadecimal
165 number, optionally followed by the multipliers
171 for mega (1024*1024), kilo (1024), "word" (2 or 4), and byte (1). Uppercase
173 is also accepted for those who know what S.I. means. The compilers use
175 by default, that translates to 64kb for an 8086, and 128kb for other
176 architectures. This option is ignored on a non-executable.
195 are also accepted for those who don't know what S.I. means.
197 Kees J. Bot (kjb@cs.vu.nl)