How to Install Geany on Fedora 37/36/35

Geany is a popular open-source text editor that can also be used as an IDE for programming languages such as Python. It is known for its simplicity and speed, making it a good choice if you need a fast and lightweight text editor. Geany also has enough features to meet most needs, making it a good all-purpose text editor worth checking out on your Fedora desktop. I highly recommend that users who have never heard of Geany check out the website screenshot setting before running the installation to get a feel of what the editor looks like compared to other, more commonly known options.

The following tutorial will teach you how to install Geany on Fedora 37/36/35 Linux. The tutorial will use the command line terminal with complete steps using the standard DNF repository from Fedora and the Flatpak hub repository as an alternative.

Recommended Steps Before Installation

Before proceeding with the tutorial, ensuring your system is up-to-date with all existing packages is good.

sudo dnf upgrade --refresh

#1st Method – Install Geany – Fedora Repository

The first method is to install Geany directly from Fedora 36’s repository using the following command.

sudo dnf install geany -y

#2nd Method – Install Geany – Flatpak/Flathub

The second option is to use the Flatpak package manager that is most often natively installed on your Fedora workstation. The benefit of Flatpaks is that they can often be ahead of a version or two from Fedora, depending on the release cycle/updates of the software and the Flatpak package maintainer. However, in most cases in Fedora, you would want to install the DNF version above, depending on your preferences.



First, re-install Flatpak if you have removed the package manager previously.

sudo dnf install flatpak -y

Next, you need to enable Flatpack using the following command in your terminal.

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Re-installing Flatpak, I would often advise rebooting your system. Failure to do this can occur in odd issues, such as erroneous icon paths.

reboot

Now install using the following flatpak command.

flatpak install flathub org.geany.Geany -y

Troubleshoot Flatpak Geany Installation

If the above command does not work and you receive the “error: Unable to load summary from remote flathub: Can’t fetch summary from disabled remote ‘flathub’ use the following command.

flatpak remote-modify --enable flathub

The next issue can be access to system files. I would only recommend using the following command if you have access permission with your installation accessing files; use the override command below.



sudo flatpak override org.geany.Geany --filesystem=host

Please do not use this command by default unless it is needed.

Launch Geany on Fedora Linux

Launching can be done in a few ways now that you have the software installed.

You can launch the application immediately using the following cli command.

geany

Flatpak users can use the following command to launch from the terminal.

flatpak run org.geany.Geany

However, this is not practical for desktop users, and you would use the following path on your desktop to open with the following approach.

Activities > Show Applications > Geany



Example in Show Applications:

launch geany using application menu on fedora linux

Once open, you will arrive at the default landing start screen, where you can use the IDE editor.

Example:

geany ide text editor example open on fedora linux

And that is it, and you have successfully installed Geany IDE.

Update Geany on Fedora Linux

Depending on the method of installation used, the following commands can be used to update the software and any system package. Ideally, the terminal update command should be used even if you have auto-updates in your desktop GUI to ensure everything is updating correctly.

DNF Update Method

sudo dnf upgrade --refresh

Flatpak Update Method

flatpak update

Remove Geany on Fedora Linux

Use one of the following commands to suit the original installation method for users who no longer require the application.



DNF Remove Method

sudo dnf autoremove geany

The above command will automatically remove any unused dependencies installed from Geany and other leftovers from previous removals. This command should be run often to keep your system from bloating.

Flatpak Remove Method

flatpak uninstall --delete-data org.geany.Geany -y

Next, run the following command for any leftover clean-up.

flatpak remove --unused


Not what you were looking for? Try searching for additional tutorials.

Leave a Comment