Install codeblocks in CentOS6.5
I recently learned about linux development and read so many ides in Linux. It is said that codeblocks is the closest to vs series, so I decided to use codeblocks for development. The following is the codeblocks installation record under CentOS6.5.
1. Install gcc, g ++
Root permission (su command)
Yum install gcc
Yum install gcc-c ++
2. Install the gtk command su to obtain the root permission.
Yum install gtk2 *
3. Download wxweights
Https://sourceforge.net/projects/wxwindows/files/2.8.12/wxWidgets-2.8.12.tar.gz/download
Download code: blocks
Https://sourceforge.net/projects/codeblocks.berlios/files/codeblocks_13.12-1.tar.gz/download
4. Install hunspell
Yum install hunspell
Yum install hunspell-devel
5. Install gamin
Yum install gamin
Yum install gamin-devel
6. Install boost
Yum install boost
Yum install boost-devel
7. Decompress wxGTK and enter the directory command after decompression.
./Configure -- prefix =/usr -- enable-xrc -- enable-monolithic -- enable-unicode
Root permission (su)
Make
Make install
8. Install codeblocks
Decompress the downloaded file and go to the installation directory.
./Configure -- with-contrib-plugins = all
Root permission (su)
Make (time is a bit long)
Make install
9.Install xterm
Yum install xterm
10. After installation, the Programming menu item will appear under the Application. You can start codeblocks here.