How To Install vim-gtk-syntax on Fedora 36
Introduction
In this tutorial we learn how to install vim-gtk-syntax
on Fedora 36.
What is vim-gtk-syntax
A collection of C extension syntax files for xlib, glib (gobject, gio), gdk-pixbuf, gtk2 (gdk2), gtk3 (gdk3), atk, at-spi, pango, cairo, clutter, gimp, gstreamer, dbus-glib, json-glib, libglade, gtksourceview, gnome-desktop, libgsf, libnotify, librsvg, libunique, libwnck, gtkglext, vte, poppler, evince. The xlib one was originally created by Hwanjin Choe (vimscript #570), the others were generated from gtk-doc declaration lists and support enabling/disabling of highlighting of deprecated declarations.
We can use yum
or dnf
to install vim-gtk-syntax
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install vim-gtk-syntax.
Install vim-gtk-syntax on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install vim-gtk-syntax
using dnf
by running the following command:
sudo dnf -y install vim-gtk-syntax
Install vim-gtk-syntax on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install vim-gtk-syntax
using yum
by running the following command:
sudo yum -y install vim-gtk-syntax
How To Uninstall vim-gtk-syntax on Fedora 36
To uninstall only the vim-gtk-syntax
package we can use the following command:
sudo dnf remove vim-gtk-syntax
vim-gtk-syntax Package Contents on Fedora 36
/usr/share/appdata/vim-gtk-syntax.metainfo.xml
/usr/share/doc/vim-gtk-syntax
/usr/share/doc/vim-gtk-syntax/README
/usr/share/doc/vim-gtk-syntax/c.vim.example
/usr/share/vim/vimfiles/syntax
/usr/share/vim/vimfiles/syntax/atk.vim
/usr/share/vim/vimfiles/syntax/atspi.vim
/usr/share/vim/vimfiles/syntax/cairo.vim
/usr/share/vim/vimfiles/syntax/clutter.vim
/usr/share/vim/vimfiles/syntax/colord.vim
/usr/share/vim/vimfiles/syntax/dbusglib.vim
/usr/share/vim/vimfiles/syntax/evince.vim
/usr/share/vim/vimfiles/syntax/fftw3.vim
/usr/share/vim/vimfiles/syntax/gdkpixbuf.vim
/usr/share/vim/vimfiles/syntax/gimp.vim
/usr/share/vim/vimfiles/syntax/glib.vim
/usr/share/vim/vimfiles/syntax/gnomedesktop.vim
/usr/share/vim/vimfiles/syntax/gobjectintrospection.vim
/usr/share/vim/vimfiles/syntax/gstreamer.vim
/usr/share/vim/vimfiles/syntax/gtk2.vim
/usr/share/vim/vimfiles/syntax/gtk3.vim
/usr/share/vim/vimfiles/syntax/gtkglext.vim
/usr/share/vim/vimfiles/syntax/gtksourceview.vim
/usr/share/vim/vimfiles/syntax/gudev.vim
/usr/share/vim/vimfiles/syntax/gusb.vim
/usr/share/vim/vimfiles/syntax/jsonglib.vim
/usr/share/vim/vimfiles/syntax/libgsf.vim
/usr/share/vim/vimfiles/syntax/libnotify.vim
/usr/share/vim/vimfiles/syntax/librsvg.vim
/usr/share/vim/vimfiles/syntax/libsoup.vim
/usr/share/vim/vimfiles/syntax/libunique.vim
/usr/share/vim/vimfiles/syntax/libwnck.vim
/usr/share/vim/vimfiles/syntax/pango.vim
/usr/share/vim/vimfiles/syntax/poppler.vim
/usr/share/vim/vimfiles/syntax/vte.vim
/usr/share/vim/vimfiles/syntax/xlib.vim
References
Summary
In this tutorial we learn how to install vim-gtk-syntax
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).