- Downloads
- Download the binary release
- Download a nightly build
- Download the source code
- Retrieve source code from SVN
- Binary releases
- Microsoft Windows
- Linux 32 and 64-bit
- Mac OS X
- Source code
- Documentation
- Miscellaneous
- How to Install Code::Blocks on Ubuntu 20.04
- Method 1: Install Code::Blocks IDE using APT
- Method 2: Install Code::Blocks IDE using a Deb file
- Launching Code::Blocks IDE
- Remove Code::Blocks IDE
- Conclusion
- Code Blocks
- Advertisement
- Advertisement
- Downloads
- # Change Log
- Description
- Code::Blocks Review
Downloads
There are different ways to download and install Code::Blocks on your computer:
Download the binary release
This is the easy way for installing Code::Blocks. Download the setup file, run it on your computer and Code::Blocks will be installed, ready for you to work with it. Can’t get any easier than that!
Download a nightly build
There are also more recent so-called nightly builds available in the forums. Please note that we consider nightly builds to be stable, usually, unless stated otherwise.
Other distributions usually follow provided by the community (big “Thank you!” for that!). If you want to provide some, make sure to announce in the forums such that we can put it on the official C::B homepage.
Download the source code
If you feel comfortable building applications from source, then this is the recommend way to download Code::Blocks. Downloading the source code and building it yourself puts you in great control and also makes it easier for you to update to newer versions or, even better, create patches for bugs you may find and contributing them back to the community so everyone benefits.
Retrieve source code from SVN
This option is the most flexible of all but requires a little bit more work to setup. It gives you that much more flexibility though because you get access to any bug-fixing we do at the time we do it. No need to wait for the next stable release to benefit from bug-fixes!
Besides Code::Blocks itself, you can compile extra plugins from contributors to extend its functionality.
Thank you for your interest in downloading Code::Blocks!
Источник
Binary releases
Please select a setup package depending on your platform:
NOTE: For older OS’es use older releases. There are releases for many OS version and platforms on the Sourceforge.net page.
NOTE: There are also more recent nightly builds available in the forums or (for Ubuntu users) in the Ubuntu PPA repository. Please note that we consider nightly builds to be stable, usually.
NOTE: We have a Changelog for 20.03, that gives you an overview over the enhancements and fixes we have put in the new release.
NOTE: The default builds are 64 bit (starting with release 20.03). We also provide 32bit builds for convenience.
Microsoft Windows
File | Download from |
---|---|
codeblocks-20.03-setup.exe | FossHUB or Sourceforge.net |
codeblocks-20.03-setup-nonadmin.exe | FossHUB or Sourceforge.net |
codeblocks-20.03-nosetup.zip | FossHUB or Sourceforge.net |
codeblocks-20.03mingw-setup.exe | FossHUB or Sourceforge.net |
codeblocks-20.03mingw-nosetup.zip | FossHUB or Sourceforge.net |
codeblocks-20.03-32bit-setup.exe | FossHUB or Sourceforge.net |
codeblocks-20.03-32bit-setup-nonadmin.exe | FossHUB or Sourceforge.net |
codeblocks-20.03-32bit-nosetup.zip | FossHUB or Sourceforge.net |
codeblocks-20.03mingw-32bit-setup.exe | FossHUB or Sourceforge.net |
codeblocks-20.03mingw-32bit-nosetup.zip | FossHUB or Sourceforge.net |
NOTE: The codeblocks-20.03-setup.exe file includes Code::Blocks with all plugins. The codeblocks-20.03-setup-nonadmin.exe file is provided for convenience to users that do not have administrator rights on their machine(s).
NOTE: The codeblocks-20.03mingw-setup.exe file includes additionally the GCC/G++/GFortran compiler and GDB debugger from MinGW-W64 project (version 8.1.0, 32/64 bit, SEH).
NOTE: The codeblocks-20.03(mingw)-nosetup.zip files are provided for convenience to users that are allergic against installers. However, it will not allow to select plugins / features to install (it includes everything) and not create any menu shortcuts. For the “installation” you are on your own.
If unsure, please use codeblocks-20.03mingw-setup.exe!
Linux 32 and 64-bit
Distro | File | Download from |
---|---|---|
codeblocks_20.03_amd64_oldstable.tar.xz | FossHUB or Sourceforge.net | |
codeblocks_20.03_i386_oldstable.tar.xz | FossHUB or Sourceforge.net | |
codeblocks_20.03_amd64_stable.tar.xz | FossHUB or Sourceforge.net | |
codeblocks_20.03_i386_stable.tar.xz | FossHUB or Sourceforge.net | |
codeblocks-20.03-1.el6.rmps.tar | FossHUB or Sourceforge.net | |
codeblocks-20.03-1.el7.rmps.tar | FossHUB or Sourceforge.net | |
For Ubuntu, use this PPA |
Note: The Linux packages above are compressed archives (tar, tar.xz or tar.bz2). When you decompress the package you downloaded on your system, you will find all the .rpm or .deb packages required to install Code::Blocks.
Note: On RedHat/CentOS older revisions of 6 (up to 6.2 as far as we know) you need to add repoforge (former rpmforge) to your repolist, to be able to install the needed wxGTK-package. See http://repoforge.org/use for an instruction.
Note: Redhat/CentOS probably also needs an installed hunspell-package, if you want to install the contrib-plugins.
Mac OS X
File | Download from |
---|---|
CodeBlocks-13.12-mac.zip | FossHUB or Sourceforge.net |
NOTES:
- Code::Blocks 20.03 for Mac is currently not available due to issues caused by Apple hardening their install packages and lack of Mac developers. We could use an extra Mac developer to work on these issues.
- The provided download contains an Application Bundle (for the i386 architecture) built for Mac OS X 10.6 (and later), bundling most Code::Blocks plugins.
Источник
Source code
If you want to download the source code of Code::Blocks 20.03, here are the links:
File | Download from |
---|---|
codeblocks-20.03.tar.xz | FossHUB or Sourceforge.net |
codeblocks-20.03.tar.bz2 | FossHUB or Sourceforge.net |
For older versions please check here.
Alternatively, you could retrieve the code from SVN. Either way, if it turns out you need to patch the source code in order to create packages for your favourite Linux distribution, we would be interested to know about the needed changes so we can include them in our next release.
Documentation
We provide a (Doxygen based) documentation of the Code::Blocks SDK to developers for developing their own plugins. It consists of the following documents:
- the main document: The Code::Blocks SDK itself (sdk.chm)
- the SDK for developing add-ons for wxSmith, the GUI design tool in Code::Blocks (wxSmith.chm) and
- the documentation for the CodeCompletion plugin in case you want to extend it:
File | Download from |
---|---|
sdk.chm | Sourceforge.net |
wxSmith.chm | Sourceforge.net |
codecompletion.chm | Sourceforge.net |
codecompletion_full.chm | Sourceforge.net |
Note to Windows users: If you download (any) CHM file, Windows will usually block the file content by default to protect you from embedded HTML viruses. The result is an empty CHM file if you open it. If that is the case, mark the CHM file as safe after download in the file properties (right click in the Explorer on the file, select “Properties” and tick the “Allow” checkbox at the bottom, next to the “Security” note.)
Miscellaneous
Note that wxWidgets for Windows comes compiled in a shared, monolithic, release, unicode flavour, compiled like that:
Источник
How to Install Code::Blocks on Ubuntu 20.04
Written in C, Code::Blocks ( Yes, with a double full colon) is a free and opensource, cross-platform IDE for C, C++, and FORTRAN projects. It provides a very simple UI that makes it simple to navigate and create projects. It’s quite easy to use and is made quite extensible using plugins.
The Code: Blocks IDE supports a wide range of compilers. These include the GNU GGC Compiler, LLVM Clang compiler, OpenWatcom, Digital Mars, and so many others.
There are mainly two ways to install Code::Blocks IDE on Ubuntu 20.04 and we cover both.
Method 1: Install Code::Blocks IDE using APT
Code::Blocks IDE is available on Ubuntu repositories and can be installed with the APT command. Installation from the default repository is the simplest method, But it may have bit older versions.
First update your system:
To install codeblock on Ubuntu , run the following command:
When prompted to continue, just type ‘Y’ and press ENTER to proceed.
Method 2: Install Code::Blocks IDE using a Deb file
Alternatively, you can use a Deb file to install the IDE. First, download it as shown.
Once downloaded, run the Code:Blocks Debian file as shown.
The latest code block binary is also available to download as compressed archives. Download tar.xz file and extract to get code blocks deb file.
Launching Code::Blocks IDE
To launch Code::Blocks IDE, search for it using the application manager as follows. Once the Code::Blocks IDE icon appears, click on it.
The autodetection of the compiler will take place, as the IDE requires a compiler to compile the source code. In this case, I already have the GCC compiler in place. Once the compiler has been successfully detected, click ‘OK’.
And finally, the Code::Blocks IDE interface will come into view as you can see below.
Codeblock 20.03 is the available version at the time of writing this tutorial.
Remove Code::Blocks IDE
To remove codeblocks from ubuntu, run the following command:
To complete remove codeblock and its associated configurations, run the following two commands:
Conclusion
Though not as popular as other IDEs such as IntelliJ IDEA or Visual Code Studio, Code:Blocks IDE is a fairly decent IDE for your C and C++ projects. It’s lightweight and fast and is ideal for beginners who are starting out in software development. We hope that you can comfortably install CodeBlocks IDEA on Ubuntu 20.04.
Источник
Code Blocks
Advertisement
Advertisement
Downloads
# Change Log
This is just an excerpt of the changelog with the differences since 17.12. You can read a full changelog on the Code::Blocks homepage.
* This release introduces new icon sizes (16, 20, 24, 28, 32, 40, 48, 56 and 64) for almost every UI element (menus, toolbars, project tree, most plugins).
* The icon size is appropriately selected based on the scaling used by the user. The goal is to make icons look big enough and non-blurry. This should work correctly on all major ports (wxMSW, wxGTK, wxCocoa)
* The icons in the editor’s margin change size when scaling the editor.
* The icons in the auto-completion popup change size to match the scaling of the text.
* Code::Blocks is marked as DPI-aware:True on Windows which makes it look sharp. Per-monitor support is not yet available.
* The Scintilla component has been updated to version 3.7.5 and most of the code has been synchronized with the code for wxSTC.
* This release introduces some improvements to handling multiple selection. Now it is possible to paste when multiple selections are active.
* A major flickering bug has been fixed when using wxGTK.
* Support for fonts with ligatures on all platforms has been introduced.
* Non-latin keys now work when used as shortcuts in the editor on Linux.
* There is an option to disable the save-to-temp-and-move operation we use by default.
* The context menu has been trimmed down and organized in a better way. Some options are no longer duplicated in the editor and editor notebook context menus.
* More advanced options for closing files have been added to the editor notebook context menu (close to the right/left).
* Lexers for several new languages have been added (Markdown, Nim, Plain text, YAML).
* Small improvements to the settings of the syntax highlighting.
* Add an option to targets which allows the user to select the linker executable to be used for the target. This makes C only project to use the C compiler executable for linking.
* Clear target specific variables from the MacroManager on every recalculation (ticket #582).
* Various improvements to the logging and auto switching to the log tabs.
* Add support for -std=c++17 flag.
* Make the abort button work again (ticket #104). Kill the started process and all children instead of using wxSIGTERM.
* The C/C++ parser used by the Code-completion plugin saw various improvements and bugfixes.
* Various improvements to multi-monitor support and child window placement.
* Do View — Toolbars — Fit toolbars on every startup.
* Many wxWidgets asserts have been fixed.
* Make sure passing —file=path/to/file.ext without line number works, too.
* Make pressing Return/Enter to select the filtered option in the Goto File, Goto Function and Select Target dialogs on Windows.
* SDK: Introduce API for Memory watches which might be used to implement plugins useful for embedded development.
* SDK: Make cbResolveSymLinkedDirPath a bit more robust (prevent infinite loops).
* Improved performance when loading large projects.
* Improved performance when opening the find/replace dialog when there is a project with many targets.
* Script bindings: Make it possible to examine and modify the Extension XML nodes in the project files.
* Debugger: Make it possible to attach to a process using the command line (This commit adds —dbg-attach and —dbg-config command line options).
* Debugger: Make sure to set the SHELL variable before starting GDB
* KeyBinder: Introduce version 2.0 using CodeLight key binding methods; allowing future ability to dynamically set menu and global accelerators to any frame.
* KeyBinder: Fix F2, Shift-F2 and allow linux to handle any View menu check items (ticket #273).
* SpellChecker: Fix wrong white space handling on windows by using Scintilla word finding function.
* wxSmith: Add various missing flags to various controls.
* wxSmith: Improve the UI, fix various crashes and asserts.
* Scintilla to 3.7.5; Sync wx files with the same files in wxWidgets’ master
* Exchndl crash handler to v0.9.1
* Hunspell on Windows from v1.3.3 to v1.7.0
* wxPDFDoc to v0.9.8 (used in SourceExporter plugin)
Christophe Marc BERTONCINI
GГ©rard Durand (gd_on)
Juan Manuel FernГЎndez MuГ±oz
Description
Code Blocks is an open source, free, C, C++ and Fortran IDE cross-platform that provides a ton of options. It is a no-cost C++IDE created with for users who have high demands.
Those behind this free software program designed it for extensive user customization and maximum flexibility. Centered on a plug-in style framework, the software is capable of being extended in the user’s preferred manner. There is even a built-in plug-in wizard that empowers users to build their unique plug-ins.
IMPORTANT: We currently do not list Code::Blocks Linux versions, but you can find all of them on projects homepage here.
Code::Blocks Review
How Code::Blocks is Different From the Competition
Unlike other IDEs that are overly complex and require extensive time to figure out, Code::Blocks has a short learning curve. The masterminds behind the software created it with a solid user experience design that makes it easy for users to figure out all the software’s nuances on the fly. The software actually replicates the user experience design of Visual Studio, so many users will find that Code::Blocks is quite intuitive.
Positives
Aside from its excellent user experience design, Code::Blocks also shines in a number of other areas. Those who detest writing UI code will find that the software does most of the work. Code::Blocks does not create unorganized, faulty code in the slightest. Instead, it generates UI code into C+ files (both .cpp and .h) that users can proceed to edit as they would with normal text files as long as it is not necessary to insert code within the blocks that the program uses. The auto-generated UI code is shockingly clean.
The software also empowers users to move the code around as desired and the program will still recognize it as long as the blocks remain intact. Users will love the fact that they can save resources in the form of .XRC files. Aside from Code::Block’s ability to facilitate UI development, it can also function for C++ development on full-scale projects as well as everyday tasks. The IDE handles projects across different platforms without any significant issues. It is not necessary to make significant operating system changes, mess around with Makefiles or build entirely new systems for projects to compile. Just modify the Code::Block compiler settings, and you will be good to go.
Negatives
If you’re complaining regarding native Python support, this has been fixed: Python plugin is available here. You can find the debugger forum thread here.
Same for keyboard shortcut: the shortcut assignment is provided through a plugin named «Keybinder».
Some have complained that the debugger is limited compared to other programs. Many of these users have also noted that the debugger operates too slowly with Linux systems.
The Bottom Line
Code::Blocks might not be as powerful as Visual Studio yet it still provides elite functionality. It can be used for an array of production quality projects. Anyone who works with wxWidgets or production code will prefer this IDE over most others. The bottom line is that Code:Blocks is an excellent no-cost solution for C++ development with Linux.
Источник