diff options
| author | Soccera1 <[email protected]> | 2026-07-28 16:08:14 +1000 |
|---|---|---|
| committer | Soccera1 <[email protected]> | 2026-07-28 16:08:48 +1000 |
| commit | 9846f087eb28bf11df740675ef487657ded39b69 (patch) | |
| tree | e91dbd19b524f9432da6bcb86b1fc193e0d02e26 /man/install.1 | |
| parent | 7fa396c9ef22b32a0b05e94aaa0266dd3e7515f8 (diff) | |
| parent | 6a2f098e72e71437154ec00506e8e736aa8e1026 (diff) | |
| download | bnu-9846f087eb28bf11df740675ef487657ded39b69.tar.gz bnu-9846f087eb28bf11df740675ef487657ded39b69.zip | |
Merge branch 'master' into refactor/single-call-commandsrefactor/single-call-commands
# Conflicts:
# README.md
Diffstat (limited to 'man/install.1')
| -rw-r--r-- | man/install.1 | 145 |
1 files changed, 145 insertions, 0 deletions
diff --git a/man/install.1 b/man/install.1 new file mode 100644 index 0000000..9ce2407 --- /dev/null +++ b/man/install.1 @@ -0,0 +1,145 @@ +.\" Adapted for BNU from the GNU Coreutils 9.11 manual page; see doc/README.md. +.TH INSTALL "1" "2026-07-28" "BNU 9.11" "BNU Commands" +.SH NAME +install \- copy files and set attributes +.SH SYNOPSIS +.B install +[\fI\,OPTION\/\fR]... [\fI\,-T\/\fR] \fI\,SOURCE DEST\/\fR +.br +.B install +[\fI\,OPTION\/\fR]... \fI\,SOURCE\/\fR... \fI\,DIRECTORY\/\fR +.br +.B install +[\fI\,OPTION\/\fR]... \fI\,-t DIRECTORY SOURCE\/\fR... +.br +.B install +[\fI\,OPTION\/\fR]... \fI\,-d DIRECTORY\/\fR... +.SH DESCRIPTION +.\" This page is derived from GNU Coreutils documentation. +This page documents BNU, an independent Bun implementation compatible with +GNU Coreutils 9.11. +.PP +This install program copies files (often just compiled) into destination +locations you choose. If you want to download and install a ready\-to\-use +package on a GNU/Linux system, you should instead be using a package manager +like \fByum\fP(1) or \fBapt\-get\fP(1). +.PP +In the first three forms, copy SOURCE to DEST or multiple SOURCE(s) to +the existing DIRECTORY, while setting permission modes and owner/group. +In the 4th form, create all components of the given DIRECTORY(ies). +.PP +Mandatory arguments to long options are mandatory for short options too. +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install--backup'\fB\-\-backup[=CONTROL]\fP\X'tty: link' +make a backup of each existing destination file +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install-b'\fB\-b\fP\X'tty: link' +like \fB\-\-backup\fR but does not accept an argument +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install-c'\fB\-c\fP\X'tty: link' +(ignored) +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install-C'\fB\-C, \-\-compare\fP\X'tty: link' +compare content of source and destination files, +and if no change to content, ownership, and permissions, +do not modify the destination at all +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install-d'\fB\-d, \-\-directory\fP\X'tty: link' +treat all arguments as directory names; +create all components of the specified directories +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install-D'\fB\-D\fP\X'tty: link' +create all leading components of DEST except the last, +or all components of \fB\-\-target\-directory\fR, +then copy SOURCE to DEST +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install--debug'\fB\-\-debug\fP\X'tty: link' +explain how a file is copied. Implies \fB\-v\fR +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install-g'\fB\-g, \-\-group=\,GROUP\fP\X'tty: link'\/\fR +set group ownership, instead of process' current group +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install-m'\fB\-m, \-\-mode=\,MODE\fP\X'tty: link'\/\fR +set permission mode (as in chmod), instead of rwxr\-xr\-x +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install-o'\fB\-o, \-\-owner=\,OWNER\fP\X'tty: link'\/\fR +set ownership (super\-user only) +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install-p'\fB\-p, \-\-preserve\-timestamps\fP\X'tty: link' +apply access/modification times of SOURCE files +to corresponding destination files +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install-s'\fB\-s, \-\-strip\fP\X'tty: link' +strip symbol tables +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install--strip-program'\fB\-\-strip\-program=PROGRAM\fP\X'tty: link' +program used to strip binaries +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install-S'\fB\-S, \-\-suffix=\,SUFFIX\fP\X'tty: link'\/\fR +override the usual backup suffix +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install-t'\fB\-t, \-\-target\-directory=\,DIRECTORY\fP\X'tty: link'\/\fR +copy all SOURCE arguments into DIRECTORY +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install-T'\fB\-T, \-\-no\-target\-directory\fP\X'tty: link' +treat DEST as a normal file +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install-v'\fB\-v, \-\-verbose\fP\X'tty: link' +print the name of each created file or directory +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install--preserve-context'\fB\-\-preserve\-context\fP\X'tty: link' +preserve SELinux security context +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install-Z'\fB\-Z\fP\X'tty: link' +set SELinux security context of destination file +and each created directory, to default type +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#install--context'\fB\-\-context[=CTX]\fP\X'tty: link' +like \fB\-Z\fR, or if CTX is specified then set the +SELinux or SMACK security context to CTX +.TP +\X'tty: link https://www.gnu.org/software/coreutils/install#install--help'\fB\-\-help\fP\X'tty: link' +display this help and exit +.TP +\X'tty: link https://www.gnu.org/software/coreutils/install#install--version'\fB\-\-version\fP\X'tty: link' +output version information and exit +.PP +The backup suffix is '~', unless set with \fB\-\-suffix\fR or SIMPLE_BACKUP_SUFFIX. +The version control method may be selected via the \fB\-\-backup\fR option or through +the VERSION_CONTROL environment variable. Here are the values: +.TP +none, off +never make backups (even if \fB\-\-backup\fR is given) +.TP +numbered, t +make numbered backups +.TP +existing, nil +numbered if numbered backups exist, simple otherwise +.TP +simple, never +always make simple backups +.SH AUTHORS +Upstream GNU Coreutils documentation authors: +Written by David MacKenzie. +.br +Adapted for BNU; the BNU implementation is independent. +.SH "REPORTING BUGS" +Report BNU bugs at <https://github.com/Soccera1/bnu/issues>. +.br +For upstream GNU Coreutils, see <https://www.gnu.org/software/coreutils/>. +.SH COPYRIGHT +Copyright \(co 2026 Free Software Foundation, Inc. +.br +This manual page was adapted for BNU in 2026. +License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. +.br +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. +.SH "SEE ALSO" +\fBcp\fP(1) +.PP +.br +Upstream documentation <https://www.gnu.org/software/coreutils/install> +.br +BNU documentation is available locally via: info \(aq(bnu) install invocation\(aq |
