INSTALL(1)
π INSTALL(1) β the install girlie's guide π
okay so bestie, welcome to the General Commands Manual entry for install π yes it's really called that, and no it is not about downloading anything, it's a whole vibe of its own. sit down, grab a strawberry π, let's get into it.
β¨ NAME β¨
install β copy SOURCE to DEST, or copy multiple SOURCE(s) into the existing DIRECTORY, while also setting permission modes and owner/group. it's cp but it's doing the most, and honestly? we respect it. π
β¨ SYNOPSIS β¨
install [OPTION]... [FILE]...
β¨ DESCRIPTION β¨
okay so the whole thing, in one breath: it copies SOURCE to DEST, or it copies multiple SOURCE(s) into the existing DIRECTORY, and while it's at it, it sets the permission modes and the owner/group too. one trip, multiple jobs, main character energy fr fr π
β¨ OPTIONS β¨
ngl there are a LOT of these, and we are doing every single one, no skips, periodt.
--backup[=<CONTROL>]β makes a backup of every existing destination file πΎ-bβ same energy as--backup, but it does not take an argument-cβ literally ignored. that's it. it's just there. iconic of it tbh π-C,--compareβ compares each pair of source and destination files, and in some cases it justβ¦ doesn't touch the destination at all πΈ-d,--directoryβ treats all arguments as directory names, and creates all components of the specified directories π§-Dβ creates all the leading components of DEST except the last one, then copies SOURCE to DEST β¨-g,--group <GROUP>β sets group ownership, instead of whatever the process's current group is-m,--mode <MODE>β sets the permission mode (same idea as inchmod), instead ofrwxr-xr-x-o,--owner <OWNER>β sets ownership (super-user only, bestie, don't try it otherwise π)-p,--preserve-timestampsβ applies the access/modification times of the SOURCE files onto the corresponding destination files β°-s,--stripβ strips symbol tables--strip-program <PROGRAM>β the program used to strip binaries-S,--suffix <SUFFIX>β overrides the usual backup suffix π-t,--target-directory <DIRECTORY>β moves all SOURCE arguments into DIRECTORY-T,--no-target-directoryβ treats DEST as a normal file-v,--verboseβ explains what is being done π£οΈ-P,--preserve-contextβ preserves security context-Zβ sets the SELinux security context of the destination file, and of each created directory, to the default type--context [<CONTEXT>]β sets the security context of files and directories-U,--unprivilegedβ does not require elevated privileges to change the owner, the group, or the file flags of the destination-h,--helpβ prints help π«Ά-V,--versionβ prints version[files]
β¨ VERSION β¨
v(uutils coreutils) 0.12.0
β¨ EXAMPLES β¨
copy files to the destination:
install path/to/source_file1 path/to/source_file2 ...
path/to/destination
copy files to the destination, setting their ownership:
install [-o|--owner] user path/to/source_file1 path/to/source_file2 ...
path/to/destination
copy files to the destination, setting their group ownership:
install [-g|--group] user path/to/source_file1 path/to/source_file2 ...
path/to/destination
copy files to the destination, setting their mode:
install [-m|--mode] +x path/to/source_file1 path/to/source_file2 ...
path/to/destination
copy files and apply access/modification times of source to the destination:
install [-p|--preserve-timestamps] path/to/source_file1
path/to/source_file2 ... path/to/destination
copy files and create the directories at the destination if they don't exist:
install -D path/to/source_file1 path/to/source_file2 ...
path/to/destination
the examples are provided by the tldr-pages project https://tldr.sh under the CC BY 4.0 License π and please note that, since uutils is a work in progress, some examples might fail. not us being honest and transparent, we love to see it π
aaaand that's the whole page bestie π no cap, you now know install better than most people on this planet.
this was the General Commands Manual entry for install, from uutils coreutils 0.12.0, dated 2026-09-25. go forth and copy things responsibly π
β¨π¦
π¦ where this page comes from
- ubuntu stonking: rust-coreutils 0.12.0-1ubuntu2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms