INSTALL(1)
π INSTALL(1) β bestie's guide to install π
okay so you found the install manual page, and honestly? she's an icon. she lives in the GNU coreutils, she's a User Command, and she copies files AND sets their attributes. no cap. let's get into it π«Ά
β¨ NAME β¨
install β copy files and set attributes. that's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
install [OPTION]... [-T] SOURCE DEST
install [OPTION]... SOURCE... DIRECTORY
install [OPTION]... -t DIRECTORY SOURCE...
install [OPTION]... -d DIRECTORY...
four forms, four moods, all of them slay. β
π¦ DESCRIPTION π¦
so this install program copies files (usually the ones you literally just compiled, like fresh out the compiler) into whatever destination locations you choose. main character behavior fr fr. π
important side quest: if what you actually wanna do is download and install a ready-to-use package on a GNU/Linux system, you should be using a package manager likeyum(1)orapt-get(1)instead. notinstall. she's for a different job. iykyk.
okay so the forms:
- in the first three forms, you copy SOURCE to DEST, or multiple SOURCE(s) to the existing DIRECTORY, while setting permission modes and owner/group. glowed up copy-paste. β¨
- in the 4th form, you create all components of the given DIRECTORY(ies). nesting? built the whole house. π
and a lil note that matters: mandatory arguments to long options are mandatory for short options too. so no skipping, bestie. π
β¨ the options (aka the whole menu) β¨
--backup[=CONTROL]β make a backup of each existing destination file. safety first, queen. π-bβ like--backupbut she does not accept an argument. low maintenance.-cβ (ignored). yeah she's just there. standing in the corner. not doing anything. we love her anyway. π-C,--compareβ compare content of source and destination files, and if there's no change to content, ownership, and permissions, do not modify the destination at all. it's giving "if it ain't broke". π-d,--directoryβ treat all arguments as directory names; create all components of the specified directories. π-Dβ create all leading components of DEST except the last, or all components of--target-directory, then copy SOURCE to DEST.--debugβ explain how a file is copied. implies-v. she narrates everything, and honestly? valid. π-g,--group=GROUPβ set group ownership, instead of the process' current group.-m,--mode=MODEβ set permission mode (as inchmod), instead ofrwxr-xr-x. customize the fit. β¨-o,--owner=OWNERβ set ownership (super-user only). > heads up bestie: super-user only, so don't come for me if it says no. π₯-p,--preserve-timestampsβ apply access/modification times of SOURCE files to corresponding destination files. keeping her timestamps, untouched, pristine. π₯Ή-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 all SOURCE arguments into DIRECTORY. π-T,--no-target-directoryβ treat DEST as a normal file.-v,--verboseβ print the name of each created file or directory. she's a yapper and we're obsessed. π--preserve-contextβ preserve SELinux security context.-Zβ set SELinux security context of destination file and each created directory, to default type.--context[=CTX]β like-Z, or if CTX is specified then set the SELinux or SMACK security context to CTX.--helpβ display this help and exit. the classic.--versionβ output version information and exit.
π the backup lore π
so the backup suffix is '~', unless you set it with --suffix or the SIMPLE_BACKUP_SUFFIX environment variable. πΈ
and the version control method? that may be selected via the --backup option or through the VERSION_CONTROL environment variable. here are the values, memorize them like your fave lyrics:
none,offβ never make backups (even if--backupis given). bold. reckless. iconic. πnumbered,tβ make numbered backups.existing,nilβ numbered if numbered backups exist, simple otherwise. she's flexible, she adapts. π¦simple,neverβ always make simple backups.
π AUTHOR π
Written by David MacKenzie. king behavior, no notes. π«Ά
π REPORTING BUGS π
found a bug? tell the people:
- Report bugs to:
bug-coreutils@gnu.org - GNU coreutils home page:
https://www.gnu.org/software/coreutils/ - General help using GNU software:
https://www.gnu.org/gethelp/ - Report any translation bugs to
https://translationproject.org/team/
π SEE ALSO π
cp(1)β her sibling, the og copier. π- Full documentation
https://www.gnu.org/software/coreutils/install - or available locally via:
info '(coreutils) install invocation'
Packaged by Ubuntu (9.10-1ubuntu2). 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.
not me ending on the legal bit but it MATTERS: no warranty, to the extent permitted by law. periodt. β¨
and that's the page, bestie β GNU coreutils 9.10, dated August 2026, INSTALL(1), all wrapped up with a lil bow π go forth and install responsibly, mwah ππ¦β¨
π¦ where this page comes from
- ubuntu stonking: gnu-coreutils 9.10-1ubuntu2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms