Ubuntu system CodeBlocks installation tutorial, ubuntucodeblocks
1. Install the compiling environment. The C, C ++, and Boost libraries are installed.
sudo apt-get install build-essential sudo apt-get install gdb
2. Installation Code: Blocks 16.01
Log on to lauchpad.net and find the PPA of CodeBlocks. I found version 16.01 of CodeBlocks, ppa: damien-moore/codeblock s-stable.
Sudo add-apt-repository ppa: damien-moore/codeblocks-stable sudo apt-get update sudo apt-get install codeblocks-contrib // The following software will be installed simultaneously: // codeblocks-common libcodeblocks0 libwxbase2.8-0 libwxgtk2.8-0 // recommended installation: // libwxgtk2.8-dev | libwxgtk3.0-dev wx-common codeblocks-contrib sudo apt-get install codeblocks-dbg sudo apt-get install codeblocks-contrib // The following software is installed simultaneously: // cccc codeblocks-contrib-common codeblocks-libwxcontrib0 cppcheck cscks // gamin libgamin0 libtinyxml2-2v5 libwxsmithlib0 python-chardet // python-pkg-resources python-pygments valgrind recommended installation: // csbench-el python-setuptools ttf-bitstream-vera valgrind-dbg kcachegrind // alleyoop valkyrie sudo apt-get install valgrind-dbg // Valgrind is used to detect memory leaks
3. Install the wxWidgets graphical interface library
sudo apt-get install libwxbase3.0 sudo apt-get install libwxbase3.0-dev sudo apt-get install libwxgtk3.0-0 sudo apt-get install libwxgtk3.0-dev sudo apt-get install wx-common sudo apt-get install wx3.0-headers sudo apt-get install wx3.0-i18n
Wx3.0-examples and wx3.0-doc can be installed for reading the document. Here, 3.0 refers to the wxWidgets version.