1. 下载源码
https://nchc.dl.sourceforge.net/project/codeblocks/Sources/16.01/codeblocks_16.01.tar.gz
2. 配置
$ ./configure --prefix=/opt/codeblock/
3. 编译
$ make
WARNING: 'aclocal-1.13' is missing on your system. You should only need it if you modified 'acinclude.m4' or 'configure.ac' or m4 files included by 'configure.ac'. The 'aclocal' program is part of the GNU Automake package: <http://www.gnu.org/software/automake> It also requires GNU Autoconf, GNU m4 and Perl in order to run: <http://www.gnu.org/software/autoconf> <http://www.gnu.org/software/m4/> <http://www.perl.org/>
$ autoreconf -avf
autoreconf 详细说明:
http://man.chinaunix.net/linux/lfs/htmlbook/appendixa/autoconf.html
http://blog.sciencenet.cn/blog-478347-1017981.html
4. 编译并安装
$ make && make install