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