How To Install geany on CentOS 8

geany is A fast and lightweight IDE using GTK3

Introduction

In this tutorial we learn how to install geany on CentOS 8.

What is geany

Geany is a small and fast integrated development environment with basic features and few dependencies to other packages or Desktop Environments. Some features - Syntax highlighting - Code completion - Code folding - Construct completion/snippets - Auto-closing of XML and HTML tags - Call tips - Support for Many languages like C, Java, PHP, HTML, Python, Perl, Pascal - symbol lists and symbol name auto-completion - Code navigation - Simple project management - Plugin interface

We can use yum or dnf to install geany on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install geany.

Install geany on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install geany using dnf by running the following command:

sudo dnf -y install geany

Install geany on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install geany using yum by running the following command:

sudo yum -y install geany

How To Uninstall geany on CentOS 8

To uninstall only the geany package we can use the following command:

sudo dnf remove geany

geany Package Contents on CentOS 8

/usr/bin/geany
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/8f2b3bc20b2f075fb10e5ad97e3427f49c20c7
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/920cf1ab146a1b923a23a0a10fa7607af0dd6c
/usr/lib/.build-id/24
/usr/lib/.build-id/24/2d87c6cd610d5b15b158fe40dd720e5740a36e
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/34c8eda5214a6170b068091295231bd7c597a6
/usr/lib/.build-id/64
/usr/lib/.build-id/64/744974c3cdd3360d4b05735f554c5301593a05
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/0b4eb9bf9744e7fc46df84337e9d0ef5b9cce5
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/c2d46a2609e5f84e277317ac2ad2994155691e
/usr/lib64/geany
/usr/lib64/geany/classbuilder.so
/usr/lib64/geany/export.so
/usr/lib64/geany/filebrowser.so
/usr/lib64/geany/htmlchars.so
/usr/lib64/geany/saveactions.so
/usr/lib64/geany/splitwindow.so
/usr/share/appdata/geany.appdata.xml
/usr/share/applications/geany.desktop
/usr/share/doc/geany
/usr/share/doc/geany/AUTHORS
/usr/share/doc/geany/COPYING
/usr/share/doc/geany/ChangeLog
/usr/share/doc/geany/NEWS
/usr/share/doc/geany/README
/usr/share/doc/geany/ScintillaLicense.txt
/usr/share/doc/geany/THANKS
/usr/share/doc/geany/html
/usr/share/doc/geany/html/images
/usr/share/doc/geany/html/images/build_menu_commands_dialog.png
/usr/share/doc/geany/html/images/find_dialog.png
/usr/share/doc/geany/html/images/find_in_files_dialog.png
/usr/share/doc/geany/html/images/main_window.png
/usr/share/doc/geany/html/images/pref_dialog_edit_completions.png
/usr/share/doc/geany/html/images/pref_dialog_edit_display.png
/usr/share/doc/geany/html/images/pref_dialog_edit_features.png
/usr/share/doc/geany/html/images/pref_dialog_edit_indentation.png
/usr/share/doc/geany/html/images/pref_dialog_files.png
/usr/share/doc/geany/html/images/pref_dialog_gen_misc.png
/usr/share/doc/geany/html/images/pref_dialog_gen_startup.png
/usr/share/doc/geany/html/images/pref_dialog_interface_interface.png
/usr/share/doc/geany/html/images/pref_dialog_interface_notebook.png
/usr/share/doc/geany/html/images/pref_dialog_interface_toolbar.png
/usr/share/doc/geany/html/images/pref_dialog_keys.png
/usr/share/doc/geany/html/images/pref_dialog_printing.png
/usr/share/doc/geany/html/images/pref_dialog_templ.png
/usr/share/doc/geany/html/images/pref_dialog_tools.png
/usr/share/doc/geany/html/images/pref_dialog_various.png
/usr/share/doc/geany/html/images/pref_dialog_vte.png
/usr/share/doc/geany/html/images/replace_dialog.png
/usr/share/doc/geany/html/index.html
/usr/share/doc/geany/manual.txt
/usr/share/geany
/usr/share/geany/GPL-2
/usr/share/geany/colorschemes
/usr/share/geany/colorschemes/alt.conf
/usr/share/geany/filedefs
/usr/share/geany/filedefs/filetypes.Arduino.conf
/usr/share/geany/filedefs/filetypes.CUDA.conf
/usr/share/geany/filedefs/filetypes.Clojure.conf
/usr/share/geany/filedefs/filetypes.Cython.conf
/usr/share/geany/filedefs/filetypes.Genie.conf
/usr/share/geany/filedefs/filetypes.Graphviz.conf
/usr/share/geany/filedefs/filetypes.Groovy.conf
/usr/share/geany/filedefs/filetypes.JSON.conf
/usr/share/geany/filedefs/filetypes.Kotlin.conf
/usr/share/geany/filedefs/filetypes.Nim.conf
/usr/share/geany/filedefs/filetypes.Scala.conf
/usr/share/geany/filedefs/filetypes.Swift.conf
/usr/share/geany/filedefs/filetypes.TypeScript.conf
/usr/share/geany/filedefs/filetypes.abaqus
/usr/share/geany/filedefs/filetypes.abc
/usr/share/geany/filedefs/filetypes.actionscript
/usr/share/geany/filedefs/filetypes.ada
/usr/share/geany/filedefs/filetypes.asciidoc
/usr/share/geany/filedefs/filetypes.asm
/usr/share/geany/filedefs/filetypes.batch
/usr/share/geany/filedefs/filetypes.c
/usr/share/geany/filedefs/filetypes.caml
/usr/share/geany/filedefs/filetypes.cmake
/usr/share/geany/filedefs/filetypes.cobol
/usr/share/geany/filedefs/filetypes.coffeescript
/usr/share/geany/filedefs/filetypes.common
/usr/share/geany/filedefs/filetypes.conf
/usr/share/geany/filedefs/filetypes.cpp
/usr/share/geany/filedefs/filetypes.cs
/usr/share/geany/filedefs/filetypes.css
/usr/share/geany/filedefs/filetypes.d
/usr/share/geany/filedefs/filetypes.diff
/usr/share/geany/filedefs/filetypes.docbook
/usr/share/geany/filedefs/filetypes.erlang
/usr/share/geany/filedefs/filetypes.f77
/usr/share/geany/filedefs/filetypes.ferite
/usr/share/geany/filedefs/filetypes.forth
/usr/share/geany/filedefs/filetypes.fortran
/usr/share/geany/filedefs/filetypes.freebasic
/usr/share/geany/filedefs/filetypes.glsl
/usr/share/geany/filedefs/filetypes.go
/usr/share/geany/filedefs/filetypes.haskell
/usr/share/geany/filedefs/filetypes.haxe
/usr/share/geany/filedefs/filetypes.html
/usr/share/geany/filedefs/filetypes.java
/usr/share/geany/filedefs/filetypes.javascript
/usr/share/geany/filedefs/filetypes.latex
/usr/share/geany/filedefs/filetypes.lisp
/usr/share/geany/filedefs/filetypes.lua
/usr/share/geany/filedefs/filetypes.makefile
/usr/share/geany/filedefs/filetypes.markdown
/usr/share/geany/filedefs/filetypes.matlab
/usr/share/geany/filedefs/filetypes.nsis
/usr/share/geany/filedefs/filetypes.objectivec
/usr/share/geany/filedefs/filetypes.pascal
/usr/share/geany/filedefs/filetypes.perl
/usr/share/geany/filedefs/filetypes.php
/usr/share/geany/filedefs/filetypes.po
/usr/share/geany/filedefs/filetypes.powershell
/usr/share/geany/filedefs/filetypes.python
/usr/share/geany/filedefs/filetypes.r
/usr/share/geany/filedefs/filetypes.restructuredtext
/usr/share/geany/filedefs/filetypes.ruby
/usr/share/geany/filedefs/filetypes.rust
/usr/share/geany/filedefs/filetypes.sh
/usr/share/geany/filedefs/filetypes.sql
/usr/share/geany/filedefs/filetypes.tcl
/usr/share/geany/filedefs/filetypes.txt2tags
/usr/share/geany/filedefs/filetypes.vala
/usr/share/geany/filedefs/filetypes.verilog
/usr/share/geany/filedefs/filetypes.vhdl
/usr/share/geany/filedefs/filetypes.xml
/usr/share/geany/filedefs/filetypes.yaml
/usr/share/geany/filedefs/filetypes.zephir
/usr/share/geany/filetype_extensions.conf
/usr/share/geany/geany-3.0.css
/usr/share/geany/geany-3.20.css
/usr/share/geany/geany.css
/usr/share/geany/geany.glade
/usr/share/geany/snippets.conf
/usr/share/geany/tags
/usr/share/geany/tags/entities.html.tags
/usr/share/geany/tags/std.pas.tags
/usr/share/geany/tags/std.php.tags
/usr/share/geany/tags/std.py.tags
/usr/share/geany/tags/std99.c.tags
/usr/share/geany/templates
/usr/share/geany/templates/bsd
/usr/share/geany/templates/changelog
/usr/share/geany/templates/fileheader
/usr/share/geany/templates/files
/usr/share/geany/templates/files/file.html
/usr/share/geany/templates/files/file.php
/usr/share/geany/templates/files/file.rb
/usr/share/geany/templates/files/file.tex
/usr/share/geany/templates/files/file_html5.html
/usr/share/geany/templates/files/main.c
/usr/share/geany/templates/files/main.cxx
/usr/share/geany/templates/files/main.d
/usr/share/geany/templates/files/main.java
/usr/share/geany/templates/files/main.py
/usr/share/geany/templates/files/main.vala
/usr/share/geany/templates/files/module.erl
/usr/share/geany/templates/files/program.pas
/usr/share/geany/templates/function
/usr/share/geany/templates/gpl
/usr/share/geany/ui_toolbar.xml
/usr/share/icons/Tango/16x16/actions/geany-save-all.png
/usr/share/icons/Tango/24x24/actions/geany-save-all.png
/usr/share/icons/Tango/32x32/actions/geany-save-all.png
/usr/share/icons/Tango/48x48/actions/geany-save-all.png
/usr/share/icons/Tango/scalable/actions/geany-save-all.svg
/usr/share/icons/hicolor/16x16/actions/geany-build.png
/usr/share/icons/hicolor/16x16/actions/geany-close-all.png
/usr/share/icons/hicolor/16x16/actions/geany-save-all.png
/usr/share/icons/hicolor/16x16/apps/classviewer-class.png
/usr/share/icons/hicolor/16x16/apps/classviewer-macro.png
/usr/share/icons/hicolor/16x16/apps/classviewer-member.png
/usr/share/icons/hicolor/16x16/apps/classviewer-method.png
/usr/share/icons/hicolor/16x16/apps/classviewer-namespace.png
/usr/share/icons/hicolor/16x16/apps/classviewer-other.png
/usr/share/icons/hicolor/16x16/apps/classviewer-struct.png
/usr/share/icons/hicolor/16x16/apps/classviewer-var.png
/usr/share/icons/hicolor/16x16/apps/geany.png
/usr/share/icons/hicolor/24x24/actions/geany-build.png
/usr/share/icons/hicolor/24x24/actions/geany-close-all.png
/usr/share/icons/hicolor/24x24/actions/geany-save-all.png
/usr/share/icons/hicolor/32x32/actions/geany-build.png
/usr/share/icons/hicolor/32x32/actions/geany-close-all.png
/usr/share/icons/hicolor/32x32/actions/geany-save-all.png
/usr/share/icons/hicolor/32x32/apps/geany.png
/usr/share/icons/hicolor/48x48/actions/geany-build.png
/usr/share/icons/hicolor/48x48/actions/geany-close-all.png
/usr/share/icons/hicolor/48x48/actions/geany-save-all.png
/usr/share/icons/hicolor/48x48/apps/geany.png
/usr/share/icons/hicolor/scalable/actions/geany-build.svg
/usr/share/icons/hicolor/scalable/actions/geany-close-all.svg
/usr/share/icons/hicolor/scalable/actions/geany-save-all.svg
/usr/share/icons/hicolor/scalable/apps/geany.svg
/usr/share/locale/ar/LC_MESSAGES/geany.mo
/usr/share/locale/ast/LC_MESSAGES/geany.mo
/usr/share/locale/be/LC_MESSAGES/geany.mo
/usr/share/locale/bg/LC_MESSAGES/geany.mo
/usr/share/locale/ca/LC_MESSAGES/geany.mo
/usr/share/locale/cs/LC_MESSAGES/geany.mo
/usr/share/locale/da/LC_MESSAGES/geany.mo
/usr/share/locale/de/LC_MESSAGES/geany.mo
/usr/share/locale/el/LC_MESSAGES/geany.mo
/usr/share/locale/en_GB/LC_MESSAGES/geany.mo
/usr/share/locale/es/LC_MESSAGES/geany.mo
/usr/share/locale/et/LC_MESSAGES/geany.mo
/usr/share/locale/eu/LC_MESSAGES/geany.mo
/usr/share/locale/fa/LC_MESSAGES/geany.mo
/usr/share/locale/fi/LC_MESSAGES/geany.mo
/usr/share/locale/fr/LC_MESSAGES/geany.mo
/usr/share/locale/gl/LC_MESSAGES/geany.mo
/usr/share/locale/he/LC_MESSAGES/geany.mo
/usr/share/locale/hi/LC_MESSAGES/geany.mo
/usr/share/locale/hu/LC_MESSAGES/geany.mo
/usr/share/locale/id/LC_MESSAGES/geany.mo
/usr/share/locale/it/LC_MESSAGES/geany.mo
/usr/share/locale/ja/LC_MESSAGES/geany.mo
/usr/share/locale/kk/LC_MESSAGES/geany.mo
/usr/share/locale/ko/LC_MESSAGES/geany.mo
/usr/share/locale/ku/LC_MESSAGES/geany.mo
/usr/share/locale/lb/LC_MESSAGES/geany.mo
/usr/share/locale/lt/LC_MESSAGES/geany.mo
/usr/share/locale/lv/LC_MESSAGES/geany.mo
/usr/share/locale/mn/LC_MESSAGES/geany.mo
/usr/share/locale/nl/LC_MESSAGES/geany.mo
/usr/share/locale/nn/LC_MESSAGES/geany.mo
/usr/share/locale/pl/LC_MESSAGES/geany.mo
/usr/share/locale/pt/LC_MESSAGES/geany.mo
/usr/share/locale/pt_BR/LC_MESSAGES/geany.mo
/usr/share/locale/ro/LC_MESSAGES/geany.mo
/usr/share/locale/ru/LC_MESSAGES/geany.mo
/usr/share/locale/sk/LC_MESSAGES/geany.mo
/usr/share/locale/sl/LC_MESSAGES/geany.mo
/usr/share/locale/sr/LC_MESSAGES/geany.mo
/usr/share/locale/sv/LC_MESSAGES/geany.mo
/usr/share/locale/tr/LC_MESSAGES/geany.mo
/usr/share/locale/uk/LC_MESSAGES/geany.mo
/usr/share/locale/vi/LC_MESSAGES/geany.mo
/usr/share/locale/zh_CN/LC_MESSAGES/geany.mo
/usr/share/locale/zh_TW/LC_MESSAGES/geany.mo
/usr/share/man/man1/geany.1.gz

References

Summary

In this tutorial we learn how to install geany on CentOS 8 using yum and dnf.