Name

install

Synopsis

install [options] [file] directories

Description

System administration command. Used primarily in makefiles to update files. install copies files into user-specified directories. It will not overwrite a file. Similar to cp but attempts to set permission modes, owner, and group.

Options

-d, --directory

Create any missing directories.

-g group, --group group

Set group ID of new file to group (privileged users only).

-m mode, --mode mode

Set permissions of new file to mode (octal or symbolic). By default, the mode is 0755.

-o [owner], --owner [owner]

Set ownership to owner or, if unspecified, to root (privileged users only).

-s, --strip

Strip symbol tables.

Get Linux in a Nutshell, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.