Heavy IDEs are not always the right fit when you only need a fast editor that can open code, run build commands, and stay out of the way. To install Geany on Fedora, use the Fedora DNF package for the lowest-maintenance setup or the Flathub package when you prefer Flatpak application delivery.
Fedora currently packages Geany 2.1 in its official repositories, so most users do not need a manual RPM, source build, or third-party repository. The DNF package provides the normal geany command and desktop launcher on traditional Fedora systems, while the Flatpak build uses the separate org.geany.Geany app ID and fits Fedora atomic desktops such as Silverblue and Kinoite.
Install Geany on Fedora
Choose one installation method before you start. Both methods can coexist, but using one package source keeps launch, update, and removal steps easier to track.
| Method | Source | Result | Best fit |
|---|---|---|---|
| DNF package | Fedora repositories | Geany 2.1 with the native geany command | Fedora Workstation and other traditional DNF systems |
| Flatpak | Flathub | Geany 2.1.0 as org.geany.Geany | Fedora atomic desktops, Flathub users, or Flatpak-managed app setups |
DNF and Flatpak use different launchers and update paths. If you install both,
geanyopens the Fedora package, whileflatpak run org.geany.Geanyopens the Flatpak app.
Geany is a graphical desktop application. Fedora Server or minimal systems can install the package, but launching the editor requires a desktop session or another graphical access method.
Update Fedora Packages
Refresh Fedora metadata and apply pending package updates before installing new desktop software:
sudo dnf upgrade --refresh
DNF will show the transaction before it applies changes. Review the package list, then confirm when you are ready to continue.
Install Geany with DNF
The DNF method installs Geany from Fedora’s official repositories and is the recommended path for a standard Fedora desktop that uses DNF:
sudo dnf install geany
Confirm the installed command path and main Geany version:
command -v geany
geany --version | awk 'NR==1 {print $1, $2}'
/usr/bin/geany geany 2.1
Install Geany with Flatpak
Fedora Workstation, Silverblue, and Kinoite include Flatpak by default, but Flathub is opt-in. On Fedora Server, minimal installs, or customized systems where Flatpak is missing, install it first:
sudo dnf install flatpak
Add the system-wide Flathub remote if it is not already configured:
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
Verify the remote scope before installing the app:
flatpak remotes --columns=name,options | grep -E '^flathub[[:space:]]'
flathub system
The current Flathub manifest grants broad host filesystem access, so treat this method as an application delivery and update choice rather than a strict isolation boundary.
Install Geany from Flathub:
sudo flatpak install flathub org.geany.Geany
Confirm the installed Flatpak app record:
flatpak info org.geany.Geany | grep -E '^[[:space:]]*(ID|Branch|Version|Origin|Installation):'
ID: org.geany.Geany
Branch: stable
Version: 2.1.0
Origin: flathub
Installation: system
Launch Geany on Fedora
Launch Geany from the terminal with the command that matches your installation method. For the Fedora package, run:
geany
For the Flatpak app, run:
flatpak run org.geany.Geany
To open a file directly, pass the file path to Geany:
geany script.py
Geany also supports line and column jumps from the terminal, which is useful when a compiler, linter, or log points to a specific location:
geany --line=42 --column=10 script.py
For desktop launching, open Activities, search for Geany, and select the application icon.

Add Geany Plugins on Fedora
Fedora packages Geany plugins as separate RPMs, so you can install only the extensions you need instead of pulling in the entire plugin collection. This is useful for adding a command palette, folder browser, spell checking, or alternate project management without changing the base editor.
Install Commander and Folder Plugins
The Commander plugin adds a command palette similar in purpose to quick-command menus in larger editors. TreeBrowser adds a directory tree for browsing folders inside Geany, and GeanyPrj adds alternate project management.
sudo dnf install geany-plugins-commander geany-plugins-treebrowser geany-plugins-geanyprj geany-plugins-spellcheck
Check the package names if you want to confirm availability before installation:
dnf repoquery geany-plugins-commander geany-plugins-treebrowser geany-plugins-geanyprj geany-plugins-spellcheck --queryformat '%{name}\n' | sort
Relevant output includes:
geany-plugins-commander geany-plugins-geanyprj geany-plugins-spellcheck geany-plugins-treebrowser
Enable Plugins in Geany
After installing plugin packages, open Tools > Plugin Manager inside Geany and enable the plugins you want to use. Commander, TreeBrowser, GeanyPrj, and Spellcheck appear in the same plugin manager as built-in extensions.
- Commander: Opens a command panel for quick access to actions.
- TreeBrowser: Adds a sidebar tree for browsing folders and project files.
- GeanyPrj: Adds project-oriented file organization tools.
- Spellcheck: Adds spell checking for comments, documentation, and text files.
If you want to inspect the full plugin set, search Fedora’s package metadata instead of installing every plugin by wildcard:
dnf search geany-plugins
Configure Geany After Installation
Use the Embedded Terminal
The Fedora DNF package includes VTE terminal support, so Geany can show a terminal tab in the message window. If the bottom pane is hidden, enable it from View > Show Message Window, then open the Terminal tab.
The terminal feature is built into the Fedora Geany package rather than supplied by a separate geany-plugins-terminal RPM. To change the shell, open Edit > Preferences > Terminal and set the shell path you prefer, such as /bin/bash or /bin/zsh.
Open Folders and Projects
Geany is file-first rather than workspace-first, so opening a directory from the terminal is not the same workflow as Visual Studio Code. For folder-based navigation, install and enable TreeBrowser, then use its sidebar to browse a project directory.
For a saved project, use Project > New in Geany and set the base path to the folder you want to manage. That keeps build settings, project files, and session behavior tied to the folder.
Adjust Editor Defaults
Open Edit > Preferences to adjust indentation, display behavior, file encoding, keybindings, and color schemes. UTF-8 is the safest default encoding for most Linux development work, and the built-in color schemes are available under Editor > Display.
Update or Remove Geany
Use the update and removal commands that match the method you installed. Removing the DNF package does not remove the Flatpak app, and removing the Flatpak app does not remove the Fedora RPM.
Update a DNF Install
DNF updates Geany through normal Fedora package upgrades:
sudo dnf upgrade --refresh
Update a Flatpak Install
Update only the Geany Flatpak package with:
sudo flatpak update org.geany.Geany
Remove a DNF Install
Remove Geany and the optional plugin packages installed earlier with:
sudo dnf remove geany geany-plugins-commander geany-plugins-treebrowser geany-plugins-geanyprj geany-plugins-spellcheck
Check whether the main package is gone:
rpm -q geany
package geany is not installed
Remove a Flatpak Install
Remove the Geany Flatpak app:
sudo flatpak uninstall org.geany.Geany
Afterward, review unused runtimes before removing them. Flatpak may list runtimes used by other apps, so confirm only when the list is safe to remove:
sudo flatpak uninstall --unused
Verify that the system-scope Flatpak app is no longer installed:
flatpak list --system --app --columns=application | grep -Fx org.geany.Geany || echo "NOT_INSTALLED"
NOT_INSTALLED
Remove Geany User Configuration
Package removal leaves normal user settings in place. Delete these paths only when you want to remove preferences, recent files, plugin settings, and cache data for your user account.
These commands permanently delete Geany settings for your user. Back up
~/.config/geanyfirst if you might reinstall Geany later and want to keep your preferences.
First, print any Geany settings paths that exist for your account:
for path in ~/.config/geany ~/.cache/geany ~/.var/app/org.geany.Geany; do [ -e "$path" ] && printf '%s\n' "$path"; done
If the command prints only paths you no longer need, remove them:
rm -rf ~/.config/geany ~/.cache/geany ~/.var/app/org.geany.Geany
Troubleshooting Geany on Fedora
DNF Cannot Find Geany
If DNF cannot find the geany package, the failure usually includes this line:
No match for argument: geany
Refresh metadata and confirm the Fedora repository package record:
dnf --refresh repoquery --repo=fedora geany --queryformat '%{name} %{repoid}\n'
Relevant output should show the Fedora repository as the package source:
geany fedora
Flathub Remote Is Disabled
If Flatpak reports that Flathub is disabled, the remote exists but is inactive for the current scope. The message usually starts with:
error: Unable to load summary from remote flathub: Can't fetch summary from disabled remote
Check the remote list:
flatpak remotes --columns=name,options
A disabled system remote appears like this:
flathub system,disabled
Enable the Flathub remote, then retry the install command:
sudo flatpak remote-modify --enable flathub
Flatpak Install Is Not Allowed for User
If Flatpak reports a system operation is not allowed for your user, keep the Flatpak command at the same system scope used when adding Flathub. The message includes this phrase:
Flatpak system operation Deploy not allowed for user
For a system-wide Flathub remote, use sudo for install, update, and uninstall commands:
sudo flatpak install flathub org.geany.Geany
Flatpak Geany Does Not Appear in Activities
If the Flatpak install succeeds but the desktop launcher is missing, start Geany once from the terminal. If the app opens, sign out and back in so the desktop reloads exported Flatpak application entries.
flatpak run org.geany.Geany
Geany Opens the Wrong Install
If you installed more than one method, check which native command your shell finds:
command -v geany
A DNF install normally returns /usr/bin/geany. Flatpak does not replace that command, so launch the Flatpak copy with flatpak run org.geany.Geany.
Conclusion
Geany is straightforward to keep current on Fedora through either DNF or Flatpak. The DNF package is the clean default for traditional Fedora installs, while the Flatpak app is useful when you already manage desktop apps through Flathub. After installation, add targeted plugins such as Commander or TreeBrowser only when they match your workflow. If you are comparing development tools, see the Fedora guides for installing Git on Fedora, installing Neovim on Fedora, installing Visual Studio Code on Fedora, installing Code::Blocks on Fedora, and installing GitHub Desktop on Fedora.


Formatting tips for your comment
You can use basic HTML to format your comment. Useful tags currently allowed in published comments:
<code>command</code>command<strong>bold</strong><em>italic</em><blockquote>quote</blockquote>