Geany installion guide

LinuxWindows 10 newer buildsWindows 8/8.1/10 older buildsWindows 7

The setup in Linux is the most straight. The guide should function on all debian-based Linux distros.

If your distro has a different package manager, then you should read into its manual or use the graphic interface.

  1. Open the terminal / console
  2. run the following commands
You’re done!

First of all, you should download 2 programs:

  1. Geany: http://www.geany.org/Download/Releases
  2. MinGW compiler: http://sourceforge.net/projects/mingw/files/latest/download?source=files

[advanced] As an alternative, you can download the compiler from Cygwin or compile it yourself from the  source code.

 

Let’s start from the compiler

  1. Run and install the MinGW package manager
    mingw1
  2. Now we have to choose the packages that will be installed. We will need ‘mingw32-base’ (1). Select it and mark it for installation (2). Now all that remains is to confirm our selection and for that choose ‘Installation’ (3) and ‘apply changes’
  3. mingw2In the next window we can confirm that the wanted components are selected and start the install.
  4. Now that the compiler is installed, we can go ahead and set up Geany. The setup is straight forward and can be installed with the default settings.

 

The required components are now installed. Now we need to make them communicate with each other and for that we need to modify the environment.

  1. Click the right mouse button over the start button and select ‘System’
  2. Now go to ‘Advanced system settings’
    win2
  3. From here we choose ‘Environment variables’ from the ‘Advanced’ tab.
    win3
  4. Look for the ‘Path’ variable under ‘System variables’ (this can also be written in uppercase) and click ‘Edit’.win4
  5. Now we need to enter the location of our GCC compiler. For this, first click the ‘New’ button and then type or copy in the location to the compiler.
    The default location is ‘C:\MinGW\bin’.
    If you’re not sure about it, You can look if ‘gcc.exe’ is located in that folder or search for it in your computer.gcc
  6. Now confirm all the changes we made and test if we were successful. For this, we can just start the console (command prompt) and see if the compiler will be found (run ‘gcc –version’ for an example) or use Geany to compile Your first program on Your computer.
    win6

First of all, you should download 2 programs:

  1. Geany: http://www.geany.org/Download/Releases
  2. MinGW compiler: http://sourceforge.net/projects/mingw/files/latest/download?source=files

[advanced] As an alternative, you can download the compiler from Cygwin or compile it yourself from the  source code.

 

Let’s start from the compiler

  1. Run and install the MinGW package manager
    mingw1
  2. Now we have to choose the packages that will be installed. We will need ‘mingw32-base’ (1). Select it and mark it for installation (2). Now all that remains is to confirm our selection and for that choose ‘Installation’ (3) and ‘apply changes’
  3. mingw2In the next window we can confirm that the wanted components are selected and start the install.
  4. Now that the compiler is installed, we can go ahead and set up Geany. The setup is straight forward and can be installed with the default settings.

 

The required components are now installed. Now we need to make them communicate with each other and for that we need to modify the environment.

  1. Click the right mouse button over the start button and select ‘System’
  2. Now go to ‘Advanced system settings’
    win2
  3. From here we choose ‘Environment variables’ from the ‘Advanced’ tab.
    win3
  4. Look for the ‘Path’ variable under ‘System variables’ (this can also be written in uppercase) and click ‘Edit’.win4
  5. Now we need to enter the location of our GCC compiler. For this, first go to the end of the ‘Variable value’ field (do not overwrite what’s already there), insert a semicolon and copy the path You installed gcc in during the MinGW setup phase.
    The default location is ‘C:\MinGW\bin’.
    If you’re not sure about it, You can look if ‘gcc.exe’ is located in that folder or search for it in your computer.Win5
  6. Now confirm all the changes we made and test if we were successful. For this, we can just start the console (command prompt) and see if the compiler will be found (run ‘gcc –version’ for an example) or use Geany to compile Your first program on Your computer.
    win6

First of all, you should download 2 programs:

  1. Geany: http://www.geany.org/Download/Releases
  2. MinGW compiler: http://sourceforge.net/projects/mingw/files/latest/download?source=files

[advanced] As an alternative, you can download the compiler from Cygwin or compile it yourself from the  source code.

 

Let’s start from the compiler

  1. Run and install the MinGW package manager
    mingw1_w7
  2. Now we have to choose the packages that will be installed. We will need ‘mingw32-base’ (1). Select it and mark it for installation (2). Now all that remains is to confirm our selection and for that choose ‘Installation’ (3) and ‘apply changes’
    mingw2_w7
  3. In the next window we can confirm that the wanted components are selected and start the install.mingw4_w7
  4. Now that the compiler is installed, we can go ahead and set up Geany. The setup is straight forward and can be installed with the default settings.

The required components are now installed. Now we need to make them communicate with each other and for that we need to modify the environment.

  1. Open the start menu, right click over ‘Computer’ and select ‘Properties’
    win1_w7
  2. Now go to ‘Advanced system settings’
    win2_w7
  3. From here we choose ‘Environment variables’ from the ‘Advanced’ tab.
    win3_w7
  4. Look for the ‘Path’ variable under ‘System variables’ (this can also be written in uppercase) and click ‘Edit’.
    win4_w7
  5. Now we need to enter the location of our GCC compiler. For this, first go to the end of the ‘Variable value’ field (do not overwrite what’s already there), insert a semicolon and copy the path You installed gcc in during the MinGW setup phase.
    The default location is ‘C:\MinGW\bin’.
    If you’re not sure about it, You can look if ‘gcc.exe’ is located in that folder or search for it in your computer.
    win5_w7
  6. Now confirm all the changes we made and test if we were successful. For this, we can just start the console (command prompt) and see if the compiler will be found (run ‘gcc –version’ for an example) or use Geany to compile Your first program on Your computer.
    win6_w7