CentOS6.5 compile and install CodeBlocks13.12

Source: Internet
Author: User

Install Codelocks on CentOS6.5.

1. To install gcc, c and c ++ are required. If CentOS does not install the compiler by default, enter the following command on the terminal:
Yum install gcc
Yum install gcc-c ++

2. Install the gtk2-devel because the support library required by the official product has been installed by default, but there is no documentation required for installation and development.
Yum install gtk2 *

3. Install wxGTK at http://pkgs.repoforge.org/wxgtk:
WxGTK-devel-2.8.12-1.el6.rf.x86_64.rpm
WxGTK-2.8.12-1.el6.rf.x86_64.rpm
Run the rpm command or double-click to install

4. Install hunspell
Yum install hunspell
Yum install hunspell-devel

5. Install gamin
Yum install gamin
Yum install gamin-devel

6. Install gamin
Yum install boost
Yum install boost-devel

7. Compile and install Code: Blocks
Tar zxvf codeblocks_13.12-1.tar.gz
Cd codeblocks-13.12
./Configure -- prefix =/usr -- with-contrib-plugins = all
Make
Make install

8. After installation, the Programming menu item will appear under the Application. You can start codeblocks here.

9. If the instance cannot be started:
Edit this:/etc/ld. so. conf
Last added:/usr/local/lib
Then run:/sbin/ldconfig

10. If the DEBUG command line window does not appear:
Settings->
Environment->
General settings->
Terminal to launch console programs->
Gnome-terminal -- disable-factory-t $ TITLE-x

11. Cancel system F10 menu key
Install gconf-editor: yum install gconf-editor
Open gconf-editor: desktop/gnome/interface/menubar_accel clear

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.