It was mentioned that I can find a working B compiler. Is that still my best alternative for a B compiler with Linux?
Yasha's B Compiler is a MIT-licensed B compiler for the x86 architecture (32-bit only). While it is written in BlitzMax (which may be problematic to compile), binaries are provided for Linux, Windows and Mac. It's quite likely that you won't be able to compile old B programs due to architectural differences (see the project's README for details), you can get the feel of B and write new programs if you're crazy enough.