OPAM-INSTALLER(1)

πŸ’– NAME πŸ’–

okay so opam-installer is the girlboss that handles the (un)installation of package files, following instructions from opam *.install files. she reads the little instruction sheet and she executes. no cap. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

opam-installer [OPTION]… [PKG.install]

🌸 ARGUMENTS 🌸

  • PKG.install β€” bestie this is the opam .install file she's gonna read for the installation instructions. it's literally the script she's serving. hand it over and she knows what to do πŸ’…

✨ OPTIONS ✨

  • --docdir=PATH β€” the documentation dir. relative to prefix, or absolute if you're feeling absolute. by default it's $prefix/doc. πŸ“š
  • -i, --install β€” install the package. and yes this is the default, she was gonna do it anyway 🫢
  • --libdir=PATH β€” the OCaml lib dir. relative to prefix or absolute. default is $prefix/lib; and ngl sometimes setting this to $(ocamlc -where) is preferable πŸ’€
  • --mandir=PATH β€” the manpages dir. relative to prefix or absolute. default is $prefix/man. iconic. πŸ“–
  • --name=NAME β€” specify the package name. it's used to set the install directory under share/, etc. by default it's the basename of the .install file πŸŽ€
  • --prefix=PREFIX (absent=/usr/local) β€” the prefix to install to. and ooh you can use eg '$PREFIX' to output a relocatable script, main character energy fr fr πŸ‘‘
  • --script β€” don't execute the commands, just output a shell-script instead. (experimental!! so like, be aware 🫣)
  • --stubsdir=PATH β€” the stubs installation dir. relative to prefix or absolute. default is $libdir/stublibs 🌈
  • --topdir=PATH β€” the toplevel install dir. relative to prefix or absolute. default is $libdir/toplevel ⭐
  • -u, --uninstall, --remove β€” remove the package. she's leaving, and she's taking her files πŸ’…

🌟 COMMON OPTIONS 🌟

  • --help[=FMT] (default=auto) β€” show this help in format FMT. the value FMT has to be one of auto, pager, groff or plain. with auto, the format is pager or plain whenever the TERM env var is dumb or undefined πŸ™ˆ
  • --version β€” show version information. periodt. πŸ’–

okay bestie that's the whole page, you ate that 🧚 she's Opam-installer 2.6.1, and yes you read the whole thing, we're so proud πŸŽ€βœ¨πŸ’œ

πŸ“¦ where this page comes from