Install: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Linux =Overview=")
 
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:


=Overview=
=Overview=
Utility to install binaries. It copies files by combining several commands into one to make them easy to use. It combines <code>cp</code>, <code>chown</code>, <code>chmod</code> and <code>strip</code>.
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=

Latest revision as of 22:06, 18 November 2019

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