Thank you. I downloaded the source code. And I follow the instructions (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux#Code::Blocks_installation (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux#Code::Blocks_installation)) to install it. First it says I must have wxWidgets. So I downloaded and installed it. But here I'm confused:
Library wxGTK installation
Checking the presence of libwxGTK library
In your package manager, look for 'libwxgtk' keyword and verify that all libwxgtk2.8 stuffs are installed. If you find the libraries uninstalled, just install them and go directly to Code::Blocks installation.
Alternatively you can do the same in the command line (the following is an example, there may be more than two packages):
$ ls /usr/lib/libwx_gtk* //to verify the presence
$ sudo apt-get install libwxgtk2.8-dev
$ sudo apt-get install libwxgtk2.8-0
I can't find libwxgtk. I tried the first line above. Then it gave me this:
ls: cannot access /usr/lib/libwx_gtk*: No such file or directory
But I'm sure I installed wxWidgets. Because I followed the instructions of https://wiki.wxwidgets.org/Compiling_and_getting_started (https://wiki.wxwidgets.org/Compiling_and_getting_started). And I checked it via typing wx-config --version. It gave me 3.0.2.
Best regards.
As I said earlier, I get improper feedback from the console:
I typed: $ ls /usr/lib/libwx_gtk* //to verify the presence]
But here is the feedback:
ls: cannot access /usr/lib/libwx_gtk*: No such file or directory
I typed: sudo apt-get install libwxgtk2.8-dev
I got: Loading repository data...
Reading installed packages...
'libwxgtk2.8-devel' not found in package names. Trying capabilities.
No provider of 'libwxgtk2.8-devel' found.
Resolving package dependencies...
Nothing to do.
EDIT: These are the instructions on the wiki page: http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux#Code::Blocks_installation (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux#Code::Blocks_installation)