OCAML-MD5SUMS(1)

πŸ’– OCAML-MD5SUMS πŸ’–

okay bestie, gather round, because we're talking about ocaml-md5sum β€” a lil tool from the User Contributed Perl Documentation section of your friendly neighbourhood manual pages (yes you're in OCAML-MD5SUMS(1), welcome, sit down, hydrate πŸ“). Its whole job? Using and maintaining ocaml md5sums registry files. that's it, that's the gig. πŸ‘‘


✨ SYNOPSIS ✨

ocaml-md5sum (compute|dep) [option ...] file ...

ocaml-md5sum update [option ...]

so real quick on the two main-character modes here:

  • compute β€” dumps the content of the the md5sums files to output. literally just spilling the tea, straight to stdout. πŸ’…
  • dep β€” computes the dependencies of the package, using the md5sums files that can be found. detective work, but make it checksums. πŸ”

and then there's update, which is its own little moment with [option ...] and no files, iykyk.


πŸŽ€ OPTIONS πŸŽ€

every single flag, no skips, no cuts, we eat the whole plate:

  • --package pkg β€” sets the package name for development dependency. name goes here, bestie. 🫢
  • --runtime pkg β€” sets the package name for runtime dependency. different pkg, different vibe.
  • --version ver β€” sets the package version for dependencies. give it a ver. ✨
  • --dump-info fn β€” dumps ocamlobjinfo to the file you name. save it for later, like a screenshot of a fit.
  • --load-info fn β€” restores ocamlobjinfo from a file. the glow-up recovery arc. πŸ¦‹
  • -v β€” increases verbosity. more -v, more lore. πŸ—£οΈ
  • --my-version β€” prints the ocaml-md5sum version and dips. literally prints and exits, no small talk.
  • --nodefined unit β€” avoids export of the OCaml unit into the md5sums file. keep that unit out of the registry, respectfully. πŸ™ˆ
  • --dump-provides fn β€” writes the provides for the package into the given file. get that provides out into the world. πŸ‘‘
  • --md5sums-dir dir β€” adds a directory to the list of directories looked for md5sums files. more dirs, more chances. 🌈
  • --checksum str β€” the checksum to use. you pick the str, you pick the algorithm energy.
  • -help β€” prints a brief help message and exits. tiny help, big heart.
  • -man β€” prints the manual page and exits. (hi, that's me, that's this πŸ’–)
ngl some of these are doing the absolute most, but that's the assignment, and honestly? slay.

🌸 final thoughts 🌸

this page lives in perl v5.40.1 land and it was stamped 2026-08-05 β€” so if you're reading this in a terminal at 2am, hi, you're exactly where you're supposed to be, main character energy fr fr. go forth, ocaml-md5sum, stay iconic, and remember: checksums don't lie. πŸ’œπŸŽ€βœ¨

πŸ“¦ where this page comes from