1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
2 .TH INSTALL "1" "January 2016" "GNU coreutils 8.25" "User Commands"
4 install \- copy files and set attributes
7 [\fI\,OPTION\/\fR]... [\fI\,-T\/\fR] \fI\,SOURCE DEST\/\fR
10 [\fI\,OPTION\/\fR]... \fI\,SOURCE\/\fR... \fI\,DIRECTORY\/\fR
13 [\fI\,OPTION\/\fR]... \fI\,-t DIRECTORY SOURCE\/\fR...
16 [\fI\,OPTION\/\fR]... \fI\,-d DIRECTORY\/\fR...
18 .\" Add any additional description here
20 This install program copies files (often just compiled) into destination
21 locations you choose. If you want to download and install a ready\-to\-use
22 package on a GNU/Linux system, you should instead be using a package manager
23 like yum(1) or apt\-get(1).
25 In the first three forms, copy SOURCE to DEST or multiple SOURCE(s) to
26 the existing DIRECTORY, while setting permission modes and owner/group.
27 In the 4th form, create all components of the given DIRECTORY(ies).
29 Mandatory arguments to long options are mandatory for short options too.
31 \fB\-\-backup\fR[=\fI\,CONTROL\/\fR]
32 make a backup of each existing destination file
35 like \fB\-\-backup\fR but does not accept an argument
40 \fB\-C\fR, \fB\-\-compare\fR
41 compare each pair of source and destination files, and
42 in some cases, do not modify the destination at all
44 \fB\-d\fR, \fB\-\-directory\fR
45 treat all arguments as directory names; create all
46 components of the specified directories
49 create all leading components of DEST except the last,
50 or all components of \fB\-\-target\-directory\fR,
51 then copy SOURCE to DEST
53 \fB\-g\fR, \fB\-\-group\fR=\fI\,GROUP\/\fR
54 set group ownership, instead of process' current group
56 \fB\-m\fR, \fB\-\-mode\fR=\fI\,MODE\/\fR
57 set permission mode (as in chmod), instead of rwxr\-xr\-x
59 \fB\-o\fR, \fB\-\-owner\fR=\fI\,OWNER\/\fR
60 set ownership (super\-user only)
62 \fB\-p\fR, \fB\-\-preserve\-timestamps\fR
63 apply access/modification times of SOURCE files
64 to corresponding destination files
66 \fB\-s\fR, \fB\-\-strip\fR
69 \fB\-\-strip\-program\fR=\fI\,PROGRAM\/\fR
70 program used to strip binaries
72 \fB\-S\fR, \fB\-\-suffix\fR=\fI\,SUFFIX\/\fR
73 override the usual backup suffix
75 \fB\-t\fR, \fB\-\-target\-directory\fR=\fI\,DIRECTORY\/\fR
76 copy all SOURCE arguments into DIRECTORY
78 \fB\-T\fR, \fB\-\-no\-target\-directory\fR
79 treat DEST as a normal file
81 \fB\-v\fR, \fB\-\-verbose\fR
82 print the name of each directory as it is created
84 \fB\-\-preserve\-context\fR
85 preserve SELinux security context
88 set SELinux security context of destination
91 \fB\-\-context\fR[=\fI\,CTX\/\fR]
92 like \fB\-Z\fR, or if CTX is specified then set the
93 SELinux or SMACK security context to CTX
96 display this help and exit
99 output version information and exit
101 The backup suffix is '~', unless set with \fB\-\-suffix\fR or SIMPLE_BACKUP_SUFFIX.
102 The version control method may be selected via the \fB\-\-backup\fR option or through
103 the VERSION_CONTROL environment variable. Here are the values:
106 never make backups (even if \fB\-\-backup\fR is given)
109 make numbered backups
112 numbered if numbered backups exist, simple otherwise
115 always make simple backups
117 Written by David MacKenzie.
119 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
121 Report install translation bugs to <http://translationproject.org/team/>
123 Copyright \(co 2016 Free Software Foundation, Inc.
124 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
126 This is free software: you are free to change and redistribute it.
127 There is NO WARRANTY, to the extent permitted by law.
129 Full documentation at: <http://www.gnu.org/software/coreutils/install>
131 or available locally via: info \(aq(coreutils) install invocation\(aq