I didn't go through the source code of Tor yet but as far as I know the executable doesn't work on Musl out of the box. The executable basically does nothing when I open it. I did see that Tor itself was written in C and objective C for the biggest part so it's most likely going to be heavily dependent on Glibc. If anybody knows if porting Tor to Musl libc is a "possible goal" to accomplish, please let me know.

  • I know that people have tried it, and I'm not sure if any were successful. Hopefully someone posts here, but if not, keep looking/asking around and you might find one of the projects that tried it.
    – Steve
    Commented Jul 21, 2020 at 17:24

1 Answer 1


It should be possible for sure, moreover - it's been ported already. Alpine Linux has a port/package of Tor and is built around musl libc and busybox. ProofLink: https://build.alpinelinux.org/buildlogs/build-edge-x86_64/community/tor/tor-

  • Thanks. Will try it out when I have a new LFS system that runs Musl. How do I use an APKBUILD?
    – Saten-san
    Commented Jul 26, 2020 at 18:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .