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 directory then binary is moved into the destination directory with its original file-name.
The install command refuses to move a file onto itself.
Options
−cCopies binary to destination.
−g groupSpecifies 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 modeSpecifies a different mode from the standard 755 for destination.
−o ownerSpecifies 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.
−sStrips the binary after it is installed.