Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ install(1) — SunOS 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chmod(1)

cp(1)

mv(1)

strip(1)

chown(8)

INSTALL(1)  —  User’s Manual — Commands

NAME

install − install files

SYNOPSIS

install [ −c ] [ −m mode ] [ −o owner ] [ −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 file destination/binary. 

Install refuses to move a file onto itself. 

OPTIONS

−c Copy the file instead of moving it. 

−m mode Specifies a different mode for the file: the mode for destination is set to 755 by default. 

−o owner Set the owner of the destination file to owner.  destination is changed to owner root by default. 

−s Strip binary files after it is installed — only applicable to binary files in a.out(5) format.

SEE ALSO

chmod(1), cp(1), mv(1), strip(1), chown(8)

BUGS

Should be possible to move multiple files at a time, like mv(1) or cp(1).

When the destination is a directory, install simply appends the entire source file name to the directory name, instead of using the source file name’s last component like mv(1) or cp(1).

Sun System Release 1.0  —  24 October 1983

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