INSTALL
Section: User Commands (1)
Updated: April 29, 1985
Index
Return to Main Contents
NAME
install - install binaries
SYNOPSIS
install
[
-c
] [
-q
] [
-r
] [
-m
mode ] [
-o
owner ] [
-g
group ] [
-s
] binary destination
DESCRIPTION
Binary
is moved (or copied if
-c
is specified) to
destination.
If
destination
already exists,
it is removed before
binary
is moved.
If the destination is a directory then
binary
is moved into the
destination
directory with its original file-name.
The
-q
flag sets install in "quick" mode.
The
-r
flag causes
install
to run
ranlib
on
binary
(an archive) after installing it in
destination.
The mode for
destination
is set to 755; the
-m
mode
option may be used to specify a different mode.
The
destination
file
is changed to owner root; the
-o
owner
option may be used to specify a different owner.
The
destination
file
is changed to group staff; the
-g
group
option may be used to specify a different group.
If the
-s
option is specified the binary is stripped after being installed.
Additional options to the
-s
option are specified
-sX,
where
X
is chosen among the options available via the
strip(1)
command.
Currently implemented are:
-
-sX
--- see strip -X
-sx
--- see strip -x
-sA
--- see strip -A
-sS
--- see strip -S
-sSd
--- see strip -S -d
-sgg
--- see strip -gg
-sAn
--- see strip -A -n
The
install
utility
refuses to move a file onto itself.
SEE ALSO
chgrp(1), chmod(1), cp(1), mv(1), strip(1), chown(8)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 17:19:43 GMT, March 25, 2025