Install

From NovaOrdis Knowledge Base
Revision as of 22:06, 18 November 2019 by Ovidiu (talk | contribs) (→‎-m, --mode)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

Utility to install binaries. It copies files by combining several commands into one to make them easy to use. It combines cp, chown, chmod and strip.

install [options]... <source> <dest>
install [options]... <source> <source> .... <source> <dest-directory>
install [options]... -t <dest-directory> <source>
install [options]... -d <directory>

Options

-o, --owner

install --owner=root ...

-g, --group

install --group=root ...

-m, --mode

install --mode=0755 ...

Example