Guides 11792 Published by

Geany, a lightweight IDE, can be installed on Fedora with just a few terminal commands after updating the package database to avoid missing‑dependency errors. Running `sudo dnf install geany` pulls the version from the official repos, and you can verify the installation by checking the output of `geany --version`; if it fails, reinstall or check your PATH. For newer releases or extra features, enabling RPM Fusion provides a more recent build via its free repository, after which Geany can be installed again with dnf. Once installed, you may need to create a desktop shortcut on minimal setups and test syntax highlighting by opening a sample script; remember that kernel updates breaking libraries like libX11 are common culprits when Geany fails to launch.



How to Install Geany on Fedora Linux

Geany is a small‑but‑powerful IDE that sits comfortably beside your terminal. If you’re stuck with the default text editor and need syntax highlighting for dozens of languages, this guide will get you up and running in minutes.

1. Make sure your system is ready

Check that your package database is fresh; a stale DB can hide critical dependencies.

sudo dnf check-update

Why it matters: An outdated repo list often leads to “no matching packages” errors when you try to install Geany.

2. Install the official Fedora package

Fedora ships Geany in its default repos, so a single command does most of the heavy lifting:

sudo dnf install geany

After a few seconds you’ll see the installation progress. If you’re running an older Fedora release (like 32), this should work out of the box.

3. Verify the installation

Run Geany from the terminal to confirm everything is wired correctly:

geany --version

You should see something like “Geany 1.36”. If you get a “command not found” error, double‑check your PATH or reinstall.

4. Optional: Enable the RPM Fusion repo for newer versions

Sometimes the Fedora repos lag behind the latest Geany release. If you want features like the built‑in package manager, enable RPM Fusion:

sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install geany

Why this helps: The community maintains a more recent Geany build there, which includes bug fixes that the official repo might not yet have.

5. Add Geany to your desktop menu (if it didn’t appear automatically)

On some minimal installations you may need to create a shortcut:

cat <<'EOF' > ~/.local/share/applications/geany.desktop
[Desktop Entry]
Name=Geany
Exec=geany %F
Icon=geany
Terminal=false
Type=Application
Categories=Development;IDE;
EOF

Refresh the menu with update-desktop-database.

6. A quick sanity check: open a file that needs highlighting

Create a test Python script:

echo "print('Hello, Geany!')" > hello.py
geany hello.py &

You should see syntax coloring and the run button if you’re using the built‑in console plugin.

That’s it. You’ve got a lightweight IDE up and running on Fedora.