1、首先安装简版CodeBlocks
sudo apt install codeblocks
2、把编译环境,C库、C++库和Boost库装好
sudo apt install build-essential
3、安装 CodeBlocks 的调试组件 Valgrind 用来探测内存泄露的
sudo apt install valgrind
4、安装CodeBlocks常用插件
sudo apt install codeblocks-contrib
参考链接:
https://www.cnblogs.com/GHzz/p/9553520.html