Geany IDE for c Programming on RP 5

Note: Seems like nothing is just a simple install and done.  I’d like to start getting back to learning c programming.  I have various books (K&R; Schildt, etc).  Don’t really need for work, but it’s a good brain exerciser.

On RP5, it comes with Geany, which is recommended for what I’m doing, considering starting with Schildt Books.

Was able to run the first program of hello.c.  That worked.

Wanted to install the Geany GDB Debugger:

Sudo apt update

Sudo apt install geany-plugins

That did a good amount of installation, but not the GDB debugger.  There is a plugin called Debugger, but I don’t think that’s what I want.

I read something about system dependencies: Geany plugins often silent-fail to load if they require an underlying system library that is missing. The debugger plugin specifically relies on the VTE (Virtual Terminal Emulator) library

sudo apt-get update
sudo apt-get install gdb libvte-dev

Checked Geany again for the plugin:

Not there

Installing the base geany package does not automatically install all of its available plugins. You must ensure the plugin bundle or the explicit debugger package is added:

sudo apt-get install geany-plugins geany-plugin-gdb

NOTE: Came back with: geany-plugin-gdb has not installation candidate

Tried this:

sudo apt-get install geany-plugins geany-plugin-debugger

Note: That worked for the CLI (Says that geany-plugin-debugger set to manually installed; already the newest version of 2.0-6+b1)

Resolution, I think.  I went down a rabbit-hole, and then found this:

In many versions of the Geany Plugins Bundle, the classic “Debugger” plugin was replaced or complemented by an upgraded front-end called Scope.

Within Plug-in Manager, I see Scope, and it says it’s a relatively simple GDB front-end.  I selected that.

Well…  I think the debugger is installed.  Just need to figure out how to use it.

 

 

 

 

 

This entry was posted in c Programming. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.