Hacker News new | ask | show | jobs
by neonsunset 809 days ago
Quick search turns up with results to setup .NET runtime on FreeBSD without much hassle:

- https://forums.freebsd.org/threads/install-net-sdk-6-7-8-on-...

- https://www.freshports.org/lang/dotnet

And it is up-to-date, props to the maintainers!

I wonder if publishing for FreeBSD without one is problematic if you use either single-file JIT (trimmed, self-contained) executables or NAOT ones.

But given it's a server, such workloads generally favour JIT so it should not be an issue but I understand what you are getting at. With that said, it certainly doesn't seem to be as easy as `sudo apt-get install dotnet-sdk-8.0` but not as bad as building everything from source (which should not be too bad still, build.sh in dotnet/runtime does a lot of work for you to be able to just clone and build and the repo also has instructions for building for FreeBSD).