There are three versions of the TBM 1.77:
One for Cuda 11.6: https://github.com/sp-hash/TeamBlackMiner/releases/download/v1.77/TeamBlackMiner_1_77_Ubuntu_18_04_Cuda_11_6.tar.xzr
One for Cuda 11.8: https://github.com/sp-hash/TeamBlackMiner/releases/download/v1.77/TeamBlackMiner_1_77_Ubuntu_18_04_Cuda_11_8.tar.xz
And one for Cuda 12.0: https://github.com/sp-hash/TeamBlackMiner/releases/download/v1.77/TeamBlackMiner_1_77_Ubuntu_18_04_Cuda_12.tar.xz
How can I choose to use 11.6? Now it installs 11.8 but the choosable drivers only provide 11.6