ouch icon indicating copy to clipboard operation
ouch copied to clipboard

ouch for "standard" linux

Open black-snow opened this issue 3 years ago • 2 comments

Maybe I'm blind but I can't find a version for a "standard" linux - read Ubuntu / Debian / Mint / what have you. The brew formula is for macOS only, no repo for default package managers, the release files state musl. Is this something that's still on the roadmap?

black-snow avatar Aug 12 '22 08:08 black-snow

Hey, thanks for asking.

You can try the musl version, it's currently our "standard" linux binary that does not require any dependencies.

In future releases we might have a gnu alternative too, however, that would require more explanation on installation instructions for every format library, and for all different systems, I do prefer the musl one because it's easier to set up.

marcospb19 avatar Aug 12 '22 15:08 marcospb19

@marcospb19 thanks for the quick reply. I'll give it a shot. If the musl one runs well on GNU/Linux then we should be able to fix this, shouldn't we?

black-snow avatar Aug 12 '22 19:08 black-snow

Maybe the person who packaged it didn't have a Linux system to test it on, idk.

The script you showed me uses cargo install and compiles from source instead of installing a pre-built binary.

THe build-from-source approach does not benefit from us providing a musl binary, also, Linux by default uses a linux-unknown-gnu so it's not even trying to compile into musl.

I do usually prefer using packages that just install the binary instead, but packaging is not on my hands.

marcospb19 avatar Aug 13 '22 09:08 marcospb19

Aight, thanks. Might look into this myself some time in the future. Gonna close this for now.

black-snow avatar Aug 13 '22 14:08 black-snow