How To Install garcon on CentOS 8

garcon is Implementation of the freedesktop.org menu specification

Introduction

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

What is garcon

Garcon is an implementation of the freedesktop.org menu specification replacing the former Xfce menu library libxfce4menu. It is based on GLib/GIO only and aims at covering the entire specification except for legacy menus.

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

Install garcon 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 garcon using dnf by running the following command:

sudo dnf -y install garcon

Install garcon 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 garcon using yum by running the following command:

sudo yum -y install garcon

How To Uninstall garcon on CentOS 8

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

sudo dnf remove garcon

garcon Package Contents on CentOS 8

/etc/xdg/menus/xfce-applications.menu
/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/6a188b46eed85ce28300198d1dc44fb3e238c5
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/f6667906d6355ef6cd87a5a1c68e9da2fd74b9
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/38cf217ae2cff89c0db226eff520649bfa4195
/usr/lib64/libgarcon-1.so.0
/usr/lib64/libgarcon-1.so.0.0.0
/usr/lib64/libgarcon-gtk2-1.so.0
/usr/lib64/libgarcon-gtk2-1.so.0.0.0
/usr/lib64/libgarcon-gtk3-1.so.0
/usr/lib64/libgarcon-gtk3-1.so.0.0.0
/usr/share/desktop-directories/xfce-accessories.directory
/usr/share/desktop-directories/xfce-development.directory
/usr/share/desktop-directories/xfce-documentation.directory
/usr/share/desktop-directories/xfce-education.directory
/usr/share/desktop-directories/xfce-games.directory
/usr/share/desktop-directories/xfce-graphics.directory
/usr/share/desktop-directories/xfce-hardware.directory
/usr/share/desktop-directories/xfce-multimedia.directory
/usr/share/desktop-directories/xfce-network.directory
/usr/share/desktop-directories/xfce-office.directory
/usr/share/desktop-directories/xfce-other.directory
/usr/share/desktop-directories/xfce-personal.directory
/usr/share/desktop-directories/xfce-screensavers.directory
/usr/share/desktop-directories/xfce-settings.directory
/usr/share/desktop-directories/xfce-system.directory
/usr/share/doc/garcon
/usr/share/doc/garcon/AUTHORS
/usr/share/doc/garcon/ChangeLog
/usr/share/doc/garcon/NEWS
/usr/share/doc/garcon/README
/usr/share/licenses/garcon
/usr/share/licenses/garcon/COPYING
/usr/share/locale/am/LC_MESSAGES/garcon.mo
/usr/share/locale/ar/LC_MESSAGES/garcon.mo
/usr/share/locale/ast/LC_MESSAGES/garcon.mo
/usr/share/locale/be/LC_MESSAGES/garcon.mo
/usr/share/locale/bg/LC_MESSAGES/garcon.mo
/usr/share/locale/bn/LC_MESSAGES/garcon.mo
/usr/share/locale/ca/LC_MESSAGES/garcon.mo
/usr/share/locale/cs/LC_MESSAGES/garcon.mo
/usr/share/locale/cy/LC_MESSAGES/garcon.mo
/usr/share/locale/da/LC_MESSAGES/garcon.mo
/usr/share/locale/de/LC_MESSAGES/garcon.mo
/usr/share/locale/el/LC_MESSAGES/garcon.mo
/usr/share/locale/en_AU/LC_MESSAGES/garcon.mo
/usr/share/locale/en_GB/LC_MESSAGES/garcon.mo
/usr/share/locale/eo/LC_MESSAGES/garcon.mo
/usr/share/locale/es/LC_MESSAGES/garcon.mo
/usr/share/locale/et/LC_MESSAGES/garcon.mo
/usr/share/locale/eu/LC_MESSAGES/garcon.mo
/usr/share/locale/fi/LC_MESSAGES/garcon.mo
/usr/share/locale/fr/LC_MESSAGES/garcon.mo
/usr/share/locale/gl/LC_MESSAGES/garcon.mo
/usr/share/locale/he/LC_MESSAGES/garcon.mo
/usr/share/locale/hi/LC_MESSAGES/garcon.mo
/usr/share/locale/hr/LC_MESSAGES/garcon.mo
/usr/share/locale/hu/LC_MESSAGES/garcon.mo
/usr/share/locale/hy/LC_MESSAGES/garcon.mo
/usr/share/locale/hy_AM/LC_MESSAGES/garcon.mo
/usr/share/locale/id/LC_MESSAGES/garcon.mo
/usr/share/locale/ie/LC_MESSAGES/garcon.mo
/usr/share/locale/is/LC_MESSAGES/garcon.mo
/usr/share/locale/it/LC_MESSAGES/garcon.mo
/usr/share/locale/ja/LC_MESSAGES/garcon.mo
/usr/share/locale/kk/LC_MESSAGES/garcon.mo
/usr/share/locale/ko/LC_MESSAGES/garcon.mo
/usr/share/locale/lt/LC_MESSAGES/garcon.mo
/usr/share/locale/lv/LC_MESSAGES/garcon.mo
/usr/share/locale/ms/LC_MESSAGES/garcon.mo
/usr/share/locale/nb/LC_MESSAGES/garcon.mo
/usr/share/locale/nl/LC_MESSAGES/garcon.mo
/usr/share/locale/nn/LC_MESSAGES/garcon.mo
/usr/share/locale/oc/LC_MESSAGES/garcon.mo
/usr/share/locale/pa/LC_MESSAGES/garcon.mo
/usr/share/locale/pl/LC_MESSAGES/garcon.mo
/usr/share/locale/pt/LC_MESSAGES/garcon.mo
/usr/share/locale/pt_BR/LC_MESSAGES/garcon.mo
/usr/share/locale/ro/LC_MESSAGES/garcon.mo
/usr/share/locale/ru/LC_MESSAGES/garcon.mo
/usr/share/locale/sk/LC_MESSAGES/garcon.mo
/usr/share/locale/sl/LC_MESSAGES/garcon.mo
/usr/share/locale/sq/LC_MESSAGES/garcon.mo
/usr/share/locale/sr/LC_MESSAGES/garcon.mo
/usr/share/locale/sv/LC_MESSAGES/garcon.mo
/usr/share/locale/te/LC_MESSAGES/garcon.mo
/usr/share/locale/th/LC_MESSAGES/garcon.mo
/usr/share/locale/tr/LC_MESSAGES/garcon.mo
/usr/share/locale/ug/LC_MESSAGES/garcon.mo
/usr/share/locale/uk/LC_MESSAGES/garcon.mo
/usr/share/locale/uz/LC_MESSAGES/garcon.mo
/usr/share/locale/uz@Latn/LC_MESSAGES/garcon.mo
/usr/share/locale/zh_CN/LC_MESSAGES/garcon.mo
/usr/share/locale/zh_HK/LC_MESSAGES/garcon.mo
/usr/share/locale/zh_TW/LC_MESSAGES/garcon.mo

References

Summary

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