4 ms·
What do you guys think of that cross-distro, Linux installation method? curl -L https://.. https://... | tar xz -C /usr/local/bin
by mitchtbaum 8y ago
What do you guys think of that cross-distro, Linux installation method?
curl -L https://.. https://... | tar xz -C /usr/local/bin
- peterwwillis 8y agoThis command actually fails if /usr/local/bin doesn't exist. He could simplify it by releasing the binary alone and running `curl -L --create-dirs -o /usr/local/bin/mole https://...` https://...`, but my guess is uncompressed it's huge. (edit: possible that the GitHub server would support `curl --compressed ...`, allowing the HTTP connection to compress it in transit)
- davrodpin 8y agoThat is already supported: curl -L https://github.com/davrodpin/mole/releases/download/v0.2.0/mole0.2.0.linux-amd64.tar.gz https://github.com/davrodpin/mole/releases/download/v0.2.0/m... | tar xz -C /usr/local/bin And there are plans to implement a script to improve this process: https://github.com/davrodpin/mole/issues/19 https://github.com/davrodpin/mole/issues/19