Install Codeblocks under Ubuntu

Source: Internet
Author: User
Tags valgrind wxwidgets

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
    1. sudo apt-get install build-essential//May install build-essential after GDB has been installed
    2. 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

  1. sudo add-apt-repository ppa:damien-moore/codeblocks-stable
  2. sudo apt-get update
  3. sudo apt-get install Codeblocks
  4. The following software will be installed at the same time:
  5. Codeblocks-common Libcodeblocks0 libwxbase2.8-0 libwxgtk2.8-0
  6. Recommended Installation:
  7. Libwxgtk2.8-dev | Libwxgtk3.0-dev Wx-common Codeblocks-contrib
  8. sudo apt-get install codeblocks-dbg
  9. sudo apt-get install Codeblocks-contrib
  10. The following software will be installed at the same time:
  11. CCCC Codeblocks-contrib-common codeblocks-libwxcontrib0 Cppcheck cscope
  12. Gamin libgamin0 libtinyxml2-2v5 libwxsmithlib0 Python-chardet
  13. Python-pkg-resources python-pygments Valgrind
  14. Recommended Installation:
  15. Cscope-el python-setuptools Ttf-bitstream-vera valgrind-dbg kcachegrind
  16. AlleyOop Valkyrie
  17. sudo apt-get install valgrind-dbg
  18. Valgrind used to detect memory leaks

3. Install wxwidgets GUI Library
    1. sudo apt-get install libwxbase3.0
    2. sudo apt-get install Libwxbase3.0-dev
    3. sudo apt-get install libwxgtk3.0-0
    4. sudo apt-get install Libwxgtk3.0-dev
    5. sudo apt-get install Wx-common
    6. sudo apt-get install wx3.0-headers
    7. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.