My distro is Ubuntu 20.04 LTS
I installed in this way:
sudo add-apt-repository ppa:damien-moore/codeblocks-stable sudo apt update sudo apt install codebloc