Install Codelocks on CentOS6.5. 1. to install gcc, c and c ++ are required. if CentOS does not install the compiler by default, run the following command on the terminal: yuminstallgccyuminstallgcc-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. yuminstallgtk2 * 3. 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
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
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.