Install: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
  install [''options'']... -t <''dest-directory''> <''source''>
  install [''options'']... -t <''dest-directory''> <''source''>
  install [''options'']... -d <''directory''>
  install [''options'']... -d <''directory''>
=Options=
==-o, --owner==
install --owner=root ...
==-g, --group==
install --group=root ...
==-m, --mode==
install --mode=0755 ...


=Example=
=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