1.参考文档
https://apt.jenslody.de/
http://www.codeblocks.org/
2. 修改/etc/apt/sources.list,增加两行
deb [arch=amd64,i386] https://apt.jenslody.de/stable stretch main
deb-src https://apt.jenslody.de/stable stretch main
sudo apt-get update
sudo apt-get install jens-lody-debian-keyring
apt-cache search codeblocks
apt-get install codeblocks