Hacker News new | ask | show | jobs
by sjmulder 2044 days ago
pkgsrc, 'the portable package manager', support Apple Silicon:

http://pkgsrc.org/

No binary packages yet, but using it from source is pretty much a matter of downloading and extracting the 'current bz2', then:

    cd pkgrsc/bootstrap
    ./bootstrap --prefix=/opt/pkg
The default prefix is /usr/pkg, but that's protected by macOS' SPI. You might want to add /opt/pkg/bin and sbin to your $PATH. Then to install a package:

    cd pkgsrc/sysutils/nnn
    bmake install clean
Full documentation, including on how to create your own packages:

http://www.netbsd.org/docs/pkgsrc/

1 comments

Thanks so much for the comment - I was trying to do that with the stable source yesterday evening with no success. Saw your tweet too, but don't have Twitter to ask you over there.

Current source works fine