Difference between revisions of "Installing Code::Blocks"

From CodeBlocks
Jump to: navigation, search
(Add link to installing Arch on Linux)
 
(48 intermediate revisions by 18 users not shown)
Line 1: Line 1:
[[Category:Installation\Build Instructions]]
+
[[Category:Installing Code::Blocks]]
 
__TOC__
 
__TOC__
 +
* [[Compiled packages of Code::Blocks]]
 +
 
== MS Windows ==
 
== MS Windows ==
  
The first step is to download the Code::Blocks setup file from [http://www.codeblocks.org/downloads.shtml here].
+
* [[Installing the latest official version of Code::Blocks on Windows]]
 
+
* [[Installing Code::Blocks nightly build on Windows]]
After you download the setup file you selected, launch it to start the setup process. The setup program is a standard installer for Windows. Just press "Next" after reading each screen. You will be given the chance to read the program license, enter the installation directory and select which plugins you want installed.
+
* [[Installing Code::Blocks from source on Windows]]
A help text on installing a compiler will also appear. Read it!
+
  
 
== Linux ==
 
== Linux ==
 +
 +
* [[Installing Code::Blocks from source on Linux]] (applies to all distros)
 +
 +
=== Ubuntu ===
 +
 +
:* [[Installing Code::Blocks nightly build on Ubuntu]]
 +
 +
=== Debian ===
 +
 +
:* [http://apt.jenslody.de/ Installing Code::Blocks nightly build on Debian]
 +
 +
=== Fedora ===
 +
 +
:* [[Installing Code::Blocks nightly build on Fedora]]
 +
 +
=== Blag ===
 +
 +
:* [[Installing Code::Blocks nightly build on Blag]]
 +
 +
=== Gentoo ===
 +
 +
:* [[Installing Code::Blocks from source on Gentoo]]
 +
 +
=== Platypux ===
 +
 +
:* [[Installing Code::Blocks with LZM binary on Platypux]]
 +
 +
=== Arch Linux ===
 +
 +
:* [[Installing Code::Blocks from source on Arch Linux]]
 +
 +
=== RPM based distributions ===
 +
 +
Such as: Red Hat Linux, Yellow Dog Linux, Fedora Core, CentOS, etc. etc.
 +
 +
:* [[Installing Code::Blocks nightly build on RPM based distributions]]
 +
:* [[Installing Code::Blocks from source on RPM based distributions]]
 +
 +
 +
== BSD ==
 +
 +
=== FreeBSD ===
 +
 +
:* [[Installing Code::Blocks from source on FreeBSD]]
 +
 +
=== OpenBSD ===
 +
:* http://openports.se/devel/codeblocks
 +
 +
== Solaris ==
 +
 +
* [[Installing Code::Blocks from source on Solaris]]
  
 
== Mac OS X ==
 
== Mac OS X ==
 +
 +
* [[Installing the latest official version of Code::Blocks on Mac OS X]]
 +
 +
* [[Installing Code::Blocks nightly build on Mac OS X]]
 +
 +
* [[Installing Code::Blocks from source on Mac OS X]]
 +
 +
== Derivatives ==
 +
 +
* [http://codeblocks.codecutter.org/ Code::Blocks EDU-Portable] - portable installation configured for learners and instructors of C/C++.
 +
 +
* [http://darmar.vgtu.lt/ Code::Blocks IDE for Fortran] - additional features for Fortran oriented programmers.
 +
 +
==Working on Code::Blocks sources from within Code::Blocks!==
 +
 +
The following applies for all platforms where you have Code::Blocks installed and working.
 +
 +
After correct install of Code::Blocks you will find two folders under .../trunc/src , a directory named "devel" and another one named "output".
 +
These two folders will contain the same files and directory structure and you can use the IDE from either of these two directories. This structure has been created so that you can work in Code::Blocks while editing Code::Blocks' sources ;).
 +
Basically, you'll be using the "output/CodeBlocks.exe" executable. Code::Blocks' project settings are such that all output goes under "devel". So you can edit Code::Blocks' sources inside Code::Blocks and, when pressing "Run", it will run the "devel/CodeBlocks.exe" executable ;). This way, you can't ruin the main executable you're using (under "output"). When your changes satisfy you and all works well, quit Code::Blocks, run "make update" from command line and re-launch "output/CodeBlocks.exe". You'll be working on your brand new IDE!

Latest revision as of 23:25, 8 August 2019

MS Windows

Linux

Ubuntu

Debian

Fedora

Blag

Gentoo

Platypux

Arch Linux

RPM based distributions

Such as: Red Hat Linux, Yellow Dog Linux, Fedora Core, CentOS, etc. etc.


BSD

FreeBSD

OpenBSD

Solaris

Mac OS X

Derivatives

Working on Code::Blocks sources from within Code::Blocks!

The following applies for all platforms where you have Code::Blocks installed and working.

After correct install of Code::Blocks you will find two folders under .../trunc/src , a directory named "devel" and another one named "output". These two folders will contain the same files and directory structure and you can use the IDE from either of these two directories. This structure has been created so that you can work in Code::Blocks while editing Code::Blocks' sources ;). Basically, you'll be using the "output/CodeBlocks.exe" executable. Code::Blocks' project settings are such that all output goes under "devel". So you can edit Code::Blocks' sources inside Code::Blocks and, when pressing "Run", it will run the "devel/CodeBlocks.exe" executable ;). This way, you can't ruin the main executable you're using (under "output"). When your changes satisfy you and all works well, quit Code::Blocks, run "make update" from command line and re-launch "output/CodeBlocks.exe". You'll be working on your brand new IDE!