Ubuntu 16.04LTS under Code::Blocks 16.01 installation
Code::Blocks is an open source, full-featured, cross-platform, integrated development environment across platforms. Code::Blocks is open source software. Code::Blocks was developed by the pure C + + language, and it uses the famous graphical interface library wxwidgets (2.6.2 Unicode) version. For the pursuit of perfect C + + programmers, no longer have to endure the slow eclipse, no longer have to endure the huge and high price of vs.net.
1, install the compilation environment, C library, C + + library and boost library installed
[Plain]View PlainCopy
- sudo apt-get install build-essential//May install build-essential after GDB has been installed
- sudo apt-get install gdb
2, installation Code::Blocks 16.01
First Login Code::Blocks official website: http://www.codeblocks.org/, find PPA. This article at the time of installation Code::Blocks the latest version is 16.01,ppa: ppa:damien-moore/codeblocks-stable
- sudo add-apt-repository ppa:damien-moore/codeblocks-stable
- sudo apt-get update
- sudo apt-get install Codeblocks
- The following software will be installed at the same time:
- 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 will be installed at the same time:
- CCCC Codeblocks-contrib-common codeblocks-libwxcontrib0 Cppcheck cscope
- Gamin libgamin0 libtinyxml2-2v5 libwxsmithlib0 Python-chardet
- Python-pkg-resources python-pygments Valgrind
- Recommended Installation:
- Cscope-el python-setuptools Ttf-bitstream-vera valgrind-dbg kcachegrind
- AlleyOop Valkyrie
- sudo apt-get install valgrind-dbg
- Valgrind used to detect memory leaks
3. Install wxwidgets GUI 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
There are wx3.0-examples and Wx3.0-doc want to see the document can be loaded; Here 3.0 refers to the wxwidgets version.
Reference URL
http://blog.csdn.net/bleachswh/article/details/50898560
http://blog.csdn.net/sdfgh2046/article/details/5659286
Install Codeblocks under Ubuntu