Latest versions of BCC (v0.29.1) and libbpf (v1.3.0) are now available from the bpftrace PPA for bionic, focal and jammy. There's also latest bpftrace (0.19.0) available but only for jammy (I found it impossible to build reliably on anything older):

sudo add-apt-repository ppa:hadret/bpftrace
sudo apt update
sudo apt install bpftrace bpfcc-tools libbpf

All the builds are available for both amd64 and arm64 architectures.

Note: right now bionic builds of bpftrace are still done using LLVM9 which means that they are still affected by the Accessing pointers broken on LLVM<12 bug. Fix for this is in the works, but requires additional dependency on bionic for LLVM version 12.