install(1) General Commands Manual install(1)
Name
install - install binaries
Syntax
install [-c] [-m mode] [-o owner] [-g group] [-s] binary destination
Description
The binary is moved to destination. If destination already exists, it is removed before binary is moved. If the destination is a direc-
tory then binary is moved into the destination directory with its original file-name.
The command refuses to move a file onto itself.
Options
-c Copies binary to destination.
-g group Specifies a different group from group staff for destination. The destination is changed to group system; the -g group
option may be used to specify a different group. The user must belong to the specified group and be the owner of the
file or the superuser.
-m mode Specifies a different mode from the standard 755 for destination.
-o owner Specifies a different owner from owner root for destination. The destination is changed to current owner. The -o
owner option may be used to specify a different owner, but only the superuser can change the owner.
-s Strips the binary after it is installed.
See Also
chgrp(1), chmod(1), cp(1), mv(1), strip(1), chown(8)
install(1)