I’been trying for myself with no results, i use Ubuntu 20.04.1 LTS
Hey @Bananoid, hope you are good.
Now I would not suggest to use ubuntu 20.04 version for now, is still new and some old software are not 100% compatible with it, so I suggest to use ubuntu 18.04 and try to install it again.
Here is a quick tutorial to guide you for the installation for codeblocks:
If you have any more questions, please let us know so we can help you!