INSTALL(1)
๐ INSTALL(1) ๐
okay bestie, this is the install manual page from the User Commands section of the GNU coreutils girlies, and honestly? it's giving "cp but make it fashion." let's get into it ๐
โจ NAME โจ
install โ copy files and set attributes ๐
๐ธ SYNOPSIS ๐ธ
install [OPTION]... [-T] SOURCE DEST
install [OPTION]... SOURCE... DIRECTORY
install [OPTION]... -t DIRECTORY SOURCE...
install [OPTION]... -d DIRECTORY...
๐ฆ DESCRIPTION ๐ฆ
so this install program copies files (like, usually the ones you just compiled) into whatever destination locations you pick out. obsessed.
but real talk โ if your goal is downloading and installing a ready-to-use package on a GNU/Linux system, you should be using a package manager like yum(1) or apt-get(1) instead. that's just the move, fr fr.
in the first three forms, you copy SOURCE to DEST, or you copy multiple SOURCE(s) into the existing DIRECTORY, while also setting permission modes and owner/group. in the 4th form? you just create all components of the given DIRECTORY(ies). slay.
๐ mandatory arguments to long options are also mandatory for the corresponding short options. no shortcuts, bestie.
๐ OPTIONS ๐
--backup[=CONTROL]โ make a backup of each existing destination file ๐พ-bโ like--backupbut it does not accept an argument-cโ (ignored) ๐ yeah it just... sits there. iconic honestly-C,--compareโ compare content of source and destination files, and if there's no change to content, ownership, and permissions, don't modify the destination at all. lowkey respectful of your files' peace-d,--directoryโ treat all arguments as directory names; create all components of the specified directories ๐-Dโ create all leading components ofDESTexcept the last, or all components of--target-directory, then copySOURCEtoDEST--debugโ explain how a file is copied. implies-v๐-g,--group=GROUPโ set group ownership, instead of the process' current group-m,--mode=MODEโ set permission mode (as inchmod), instead ofrwxr-xr-x-o,--owner=OWNERโ set ownership (super-user only, so like... know your power level ๐)-p,--preserve-timestampsโ apply access/modification times ofSOURCEfiles to the corresponding destination files โฐ-s,--stripโ strip symbol tables--strip-program=PROGRAMโ program used to strip binaries-S,--suffix=SUFFIXโ override the usual backup suffix-t,--target-directory=DIRECTORYโ copy allSOURCEarguments intoDIRECTORY-T,--no-target-directoryโ treatDESTas a normal file-v,--verboseโ print the name of each created file or directory ๐ฃ๏ธ--preserve-contextโ preserve SELinux security context-Zโ set SELinux security context of the destination file and each created directory, to default type--context[=CTX]โ like-Z, or ifCTXis specified then set the SELinux or SMACK security context toCTX--helpโ display this help and exit ๐--versionโ output version information and exit
๐ the backup suffix tea ๐
the backup suffix is '~', unless you set it with --suffix or SIMPLE_BACKUP_SUFFIX. and the version control method can be selected via the --backup option or through the VERSION_CONTROL environment variable. here are the values, bestie:
none,offโ never make backups (even if--backupis given) ๐numbered,tโ make numbered backupsexisting,nilโ numbered if numbered backups exist, simple otherwisesimple,neverโ always make simple backups
๐ AUTHOR ๐
written by David MacKenzie. we stan. ๐ซถ
๐ REPORTING BUGS ๐
- report bugs to: <bug-coreutils@gnu.org>.
- report any translation bugs to: <https://translationproject.org/team/>.
- GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
- general help using GNU software: <https://www.gnu.org/gethelp/>
โญ COPYRIGHT โญ
Copyright ยฉ 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
this is free software: you are free to change and redistribute it. there is NO WARRANTY, to the extent permitted by law. ๐ซฃ
๐ SEE ALSO ๐
full documentation <https://www.gnu.org/software/coreutils/install> โ or available locally via: info '(coreutils) install invocation' ๐
and that's the whole page, babe! this is from GNU coreutils 9.12, dated September 2026 โ so go forth, copy your files, set your attributes, and remember: you're the main character of this terminal. periodt. ๐ โจ๐ฆ
๐ฆ where this page comes from
- arch rolling: coreutils 9.12-2 ยท GPL-3.0-or-later AND GFDL-1.3-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms