Closed samoht closed 2 years ago
Ideally, we wouldn't have to depend on external tools like sha512sum
. I don't think the opam installer depends on it, right? How do they do checksums?
I have a fix for the mangled prompt and for the sha512sum
command: https://github.com/tarides/ocaml-platform-installer/pull/77
The Opam installer simply don't check if the command it needs isn't available (and it uses an even more uncommon commands, openssl
).
Checking the consistency of downloaded archives is a good practice but not required when using https
. Skipping the check is fine but I'd be curious to know first if a distro don't have shasum
(distributed with perl) installed by default.
On macOS the experience is not super smooth yet it seems :p
First try: I was confused because nothing was happened - but actually the output is mangled (notice where
Password
is displayed):Second try: it goes a bit further but then fail because of a missing
sha512sum
: