MKC_INSTALL(1)

πŸ’– MKC_INSTALL(1) β€” bestie's guide to install πŸ’–

okay so you found the install page, welcome, pull up a chair, we're installing binaries and we're gonna have a time ✨


🌸 NAME 🌸

install β€” install binaries, that's it, that's the whole job, and she does it flawlessly πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

install -d [-o own] [-g grp] [-m mod] dir1 dir2 ... dirN
install [-cs] [-l flags] [-o own] [-g grp] [-m mod] file1 file2
install [-cs] [-l flags] [-o own] [-g grp] [-m mod] [files...] dir

like, pick a lane, all three are valid, no cap 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

So the file(s) get copied to the target file or directory. That's the vibe. And if the destination is a directory? Then the file gets copied into that directory keeping its original filename, which is honestly so considerate of her πŸ˜­πŸ’–


✨ OPTIONS ✨

  • -c β€” Copy the file. This is literally the default behavior already; the flag is just kept around for backwards compatibility only. so it's giving legacy, it's giving nostalgia, but she's still here πŸŽ€
  • -d β€” Create directories. Any missing parent directories get created as required, because she's not gonna make you do it in steps, she's a main character πŸ‘‘
  • -g group β€” Specify a group. yep, that's the whole thing πŸ“
  • -l linkflags β€” Instead of copying the file, she makes a link to the source. The type of link is determined by the linkflags argument. Valid linkflags are: h (hard), s (symbolic). two letters, two vibes, choose wisely bestie πŸ’«
  • -m mode β€” Specify an alternative mode. The default mode is set to rwxr-xr-x (0755). The specified mode may be either an octal or symbolic value; see chmod(1) for a description of possible mode values. so many options, so little time 🌈
  • -o owner β€” Specify an owner. slay πŸ’…
  • -s β€” install exec's the command strip(1) to strip binaries so that install can be portable over a large number of systems and binary types. And if the environment variable STRIP is set, it is used as the strip(1) program. she's adaptable, she's flexible, she's iconic πŸ”₯

🌈 ENVIRONMENT 🌈

  • STRIP β€” The program used to strip installed binaries when the -s option is used. If unspecified, strip is used. so like, set it if you want, or don't, she has a default and she's fine with it πŸ’œ

⭐ EXIT STATUS ⭐

The install utility exits 0 on success, and >0 if an error occurs. zero means we ate, anything above zero means something went wrong and we're crying 😭


πŸ’€ AUTHOR πŸ’€

Aleksey Cheusov <vle@gmx.net> β€” thank you for your service, king πŸ«ΆπŸ‘‘


no cap, that's the whole page, every flag, every default, every path, all of it, preserved in the group chat forever πŸ’–

and that's the tea β˜• this was MKC_INSTALL(1) from Jan 26, 2020, mwah, go install something gorgeous πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from