Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chgrp(1)

chmod(1)

cp(1)

mv(1)

strip(1)

chown(8)

INSTALL(1)  —  UNIX Programmer’s Manual

NAME

install − install binaries

SYNOPSIS

install [ −c ] [ −q ] [ −r ] [ −m mode ] [ −o owner ] [ −g group ] [ −s ] binary destination

DESCRIPTION

Install copies binary to destination. If destination already exists, it is removed before binary is copied.  If the destination is a directory then binary is copied into the destination directory with its original file-name.  The −c option is kept for backward compatibility with older shell scripts that invoke the install command.  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)

4.2 Berkeley Distribution  —  April 29, 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026