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.installfile 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 undershare/, etc. by default it's the basename of the.installfile π--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 formatFMT. the valueFMThas to be one ofauto,pager,grofforplain. withauto, the format ispagerorplainwhenever theTERMenv var isdumbor 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
- arch rolling: opam 2.6.1-1 Β· LGPL-2.1-only
- fedora 44: opam-installer 2.6.1-1.fc44 Β· LGPL-2.1-only WITH OCaml-LGPL-linking-exception
- nixpkgs unstable: ocaml5.5.1-opam-installer 2.6.1
- nixpkgs unstable: opam 2.6.1-installer
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms