xref: /csrg-svn/usr.bin/xinstall/install.1 (revision 19722)
Copyright (c) 1983 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)install.1 5.1 (Berkeley) 04/29/85

INSTALL 1 "22 April 1983"
C 5
NAME
install - install binaries
SYNOPSIS
install [ -c ] [ -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 mode for Destination is set to 755; the -m mode option may be used to specify a different mode.

Destination is changed to owner root; the -o owner option may be used to specify a different owner.

Destination 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.

Install refuses to move a file onto itself.

"SEE ALSO"
chgrp(1), chmod(1), cp(1), mv(1), strip(1), chown(8)