How To Install gtk+ on Fedora 34
Introduction
In this tutorial we learn how to install gtk+
on Fedora 34.
What is gtk+
The gtk+ package contains the GIMP ToolKit (GTK+), a library for creating graphical user interfaces for the X Window System. GTK+ was originally written for the GIMP (GNU Image Manipulation Program) image processing program, but is now used by several other programs as well. gtk+ 1 1.2.10 96.fc34 x86_64 890 k gtk+-1.2.10-96.fc34.src.rpm fedora The GIMP ToolKit http LGPLv2+ The gtk+ package contains the GIMP ToolKit (GTK+), a library for creating graphical user interfaces for the X Window System. GTK+ was originally written for the GIMP (GNU Image Manipulation Program) image processing program, but is now used by several other programs as well.
We can use yum
or dnf
to install gtk+
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install gtk+.
Install gtk+ on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install gtk+
using dnf
by running the following command:
sudo dnf -y install gtk+
Install gtk+ on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install gtk+
using yum
by running the following command:
sudo yum -y install gtk+
How To Uninstall gtk+ on Fedora 34
To uninstall only the gtk+
package we can use the following command:
sudo dnf remove gtk+
gtk+ Package Contents on Fedora 34
/etc/gtk
/etc/gtk/gtkrc
/etc/gtk/gtkrc.az
/etc/gtk/gtkrc.be
/etc/gtk/gtkrc.bg
/etc/gtk/gtkrc.bg_BG.iso88595
/etc/gtk/gtkrc.cp1251
/etc/gtk/gtkrc.cp1255
/etc/gtk/gtkrc.cs
/etc/gtk/gtkrc.cy
/etc/gtk/gtkrc.et
/etc/gtk/gtkrc.ga
/etc/gtk/gtkrc.he
/etc/gtk/gtkrc.he_IL.cp1255
/etc/gtk/gtkrc.he_IL.microsoftcp1255
/etc/gtk/gtkrc.hr
/etc/gtk/gtkrc.hu
/etc/gtk/gtkrc.hy
/etc/gtk/gtkrc.iso885913
/etc/gtk/gtkrc.iso885914
/etc/gtk/gtkrc.iso885915
/etc/gtk/gtkrc.iso88592
/etc/gtk/gtkrc.iso88593
/etc/gtk/gtkrc.iso88595
/etc/gtk/gtkrc.iso88597
/etc/gtk/gtkrc.iso88599
/etc/gtk/gtkrc.ja
/etc/gtk/gtkrc.ja.utf8
/etc/gtk/gtkrc.ka
/etc/gtk/gtkrc.ka_GE.georgianacademy
/etc/gtk/gtkrc.ka_GE.georgianps
/etc/gtk/gtkrc.ko
/etc/gtk/gtkrc.ko.utf8
/etc/gtk/gtkrc.lt
/etc/gtk/gtkrc.lv
/etc/gtk/gtkrc.mi
/etc/gtk/gtkrc.mk
/etc/gtk/gtkrc.pl
/etc/gtk/gtkrc.ro
/etc/gtk/gtkrc.ru
/etc/gtk/gtkrc.ru_RU.iso88595
/etc/gtk/gtkrc.sk
/etc/gtk/gtkrc.sl
/etc/gtk/gtkrc.sp
/etc/gtk/gtkrc.sq
/etc/gtk/gtkrc.sr
/etc/gtk/gtkrc.th
/etc/gtk/gtkrc.uk
/etc/gtk/gtkrc.utf8
/etc/gtk/gtkrc.vi
/etc/gtk/gtkrc.vi_VN.tcvn
/etc/gtk/gtkrc.vi_VN.viscii
/etc/gtk/gtkrc.vi_VN.viscii111
/etc/gtk/gtkrc.yi
/etc/gtk/gtkrc.zh_CN
/etc/gtk/gtkrc.zh_CN.utf8
/etc/gtk/gtkrc.zh_TW.big5
/etc/gtk/gtkrc.zh_TW.utf8
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/f6525f16bfdf6eb58eab9d3dffb7aee11f147d
/usr/lib/.build-id/71
/usr/lib/.build-id/71/db37a4426b1d9d433f3b687be054310c31fcff
/usr/lib64/libgdk-1.2.so.0
/usr/lib64/libgdk-1.2.so.0.9.1
/usr/lib64/libgtk-1.2.so.0
/usr/lib64/libgtk-1.2.so.0.9.1
/usr/share/doc/gtk+
/usr/share/doc/gtk+/AUTHORS
/usr/share/doc/gtk+/ChangeLog
/usr/share/doc/gtk+/NEWS
/usr/share/doc/gtk+/README
/usr/share/doc/gtk+/TODO
/usr/share/licenses/gtk+
/usr/share/licenses/gtk+/COPYING
/usr/share/locale/az/LC_MESSAGES/gtk+.mo
/usr/share/locale/ca/LC_MESSAGES/gtk+.mo
/usr/share/locale/cs/LC_MESSAGES/gtk+.mo
/usr/share/locale/da/LC_MESSAGES/gtk+.mo
/usr/share/locale/de/LC_MESSAGES/gtk+.mo
/usr/share/locale/el/LC_MESSAGES/gtk+.mo
/usr/share/locale/es/LC_MESSAGES/gtk+.mo
/usr/share/locale/et/LC_MESSAGES/gtk+.mo
/usr/share/locale/eu/LC_MESSAGES/gtk+.mo
/usr/share/locale/fi/LC_MESSAGES/gtk+.mo
/usr/share/locale/fr/LC_MESSAGES/gtk+.mo
/usr/share/locale/ga/LC_MESSAGES/gtk+.mo
/usr/share/locale/gl/LC_MESSAGES/gtk+.mo
/usr/share/locale/hr/LC_MESSAGES/gtk+.mo
/usr/share/locale/hu/LC_MESSAGES/gtk+.mo
/usr/share/locale/it/LC_MESSAGES/gtk+.mo
/usr/share/locale/ja/LC_MESSAGES/gtk+.mo
/usr/share/locale/ko/LC_MESSAGES/gtk+.mo
/usr/share/locale/lt/LC_MESSAGES/gtk+.mo
/usr/share/locale/nl/LC_MESSAGES/gtk+.mo
/usr/share/locale/nn/LC_MESSAGES/gtk+.mo
/usr/share/locale/no/LC_MESSAGES/gtk+.mo
/usr/share/locale/pl/LC_MESSAGES/gtk+.mo
/usr/share/locale/pt/LC_MESSAGES/gtk+.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gtk+.mo
/usr/share/locale/ro/LC_MESSAGES/gtk+.mo
/usr/share/locale/ru/LC_MESSAGES/gtk+.mo
/usr/share/locale/sk/LC_MESSAGES/gtk+.mo
/usr/share/locale/sl/LC_MESSAGES/gtk+.mo
/usr/share/locale/sp/LC_MESSAGES/gtk+.mo
/usr/share/locale/sr/LC_MESSAGES/gtk+.mo
/usr/share/locale/sv/LC_MESSAGES/gtk+.mo
/usr/share/locale/tr/LC_MESSAGES/gtk+.mo
/usr/share/locale/uk/LC_MESSAGES/gtk+.mo
/usr/share/locale/vi/LC_MESSAGES/gtk+.mo
/usr/share/locale/wa/LC_MESSAGES/gtk+.mo
/usr/share/locale/zh_CN.GB2312/LC_MESSAGES/gtk+.mo
/usr/share/locale/zh_TW.Big5/LC_MESSAGES/gtk+.mo
/usr/share/themes/Default
/usr/share/themes/Default/gtk
/usr/share/themes/Default/gtk/gtkrc
/etc/gtk
/etc/gtk/gtkrc
/etc/gtk/gtkrc.az
/etc/gtk/gtkrc.be
/etc/gtk/gtkrc.bg
/etc/gtk/gtkrc.bg_BG.iso88595
/etc/gtk/gtkrc.cp1251
/etc/gtk/gtkrc.cp1255
/etc/gtk/gtkrc.cs
/etc/gtk/gtkrc.cy
/etc/gtk/gtkrc.et
/etc/gtk/gtkrc.ga
/etc/gtk/gtkrc.he
/etc/gtk/gtkrc.he_IL.cp1255
/etc/gtk/gtkrc.he_IL.microsoftcp1255
/etc/gtk/gtkrc.hr
/etc/gtk/gtkrc.hu
/etc/gtk/gtkrc.hy
/etc/gtk/gtkrc.iso885913
/etc/gtk/gtkrc.iso885914
/etc/gtk/gtkrc.iso885915
/etc/gtk/gtkrc.iso88592
/etc/gtk/gtkrc.iso88593
/etc/gtk/gtkrc.iso88595
/etc/gtk/gtkrc.iso88597
/etc/gtk/gtkrc.iso88599
/etc/gtk/gtkrc.ja
/etc/gtk/gtkrc.ja.utf8
/etc/gtk/gtkrc.ka
/etc/gtk/gtkrc.ka_GE.georgianacademy
/etc/gtk/gtkrc.ka_GE.georgianps
/etc/gtk/gtkrc.ko
/etc/gtk/gtkrc.ko.utf8
/etc/gtk/gtkrc.lt
/etc/gtk/gtkrc.lv
/etc/gtk/gtkrc.mi
/etc/gtk/gtkrc.mk
/etc/gtk/gtkrc.pl
/etc/gtk/gtkrc.ro
/etc/gtk/gtkrc.ru
/etc/gtk/gtkrc.ru_RU.iso88595
/etc/gtk/gtkrc.sk
/etc/gtk/gtkrc.sl
/etc/gtk/gtkrc.sp
/etc/gtk/gtkrc.sq
/etc/gtk/gtkrc.sr
/etc/gtk/gtkrc.th
/etc/gtk/gtkrc.uk
/etc/gtk/gtkrc.utf8
/etc/gtk/gtkrc.vi
/etc/gtk/gtkrc.vi_VN.tcvn
/etc/gtk/gtkrc.vi_VN.viscii
/etc/gtk/gtkrc.vi_VN.viscii111
/etc/gtk/gtkrc.yi
/etc/gtk/gtkrc.zh_CN
/etc/gtk/gtkrc.zh_CN.utf8
/etc/gtk/gtkrc.zh_TW.big5
/etc/gtk/gtkrc.zh_TW.utf8
/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/1ff26581a7a407b79e542893f2fc48078f48a2
/usr/lib/.build-id/20
/usr/lib/.build-id/20/7988f0ee26c4ae1d117f594102a0c597cd8bad
/usr/lib/libgdk-1.2.so.0
/usr/lib/libgdk-1.2.so.0.9.1
/usr/lib/libgtk-1.2.so.0
/usr/lib/libgtk-1.2.so.0.9.1
/usr/share/doc/gtk+
/usr/share/doc/gtk+/AUTHORS
/usr/share/doc/gtk+/ChangeLog
/usr/share/doc/gtk+/NEWS
/usr/share/doc/gtk+/README
/usr/share/doc/gtk+/TODO
/usr/share/licenses/gtk+
/usr/share/licenses/gtk+/COPYING
/usr/share/locale/az/LC_MESSAGES/gtk+.mo
/usr/share/locale/ca/LC_MESSAGES/gtk+.mo
/usr/share/locale/cs/LC_MESSAGES/gtk+.mo
/usr/share/locale/da/LC_MESSAGES/gtk+.mo
/usr/share/locale/de/LC_MESSAGES/gtk+.mo
/usr/share/locale/el/LC_MESSAGES/gtk+.mo
/usr/share/locale/es/LC_MESSAGES/gtk+.mo
/usr/share/locale/et/LC_MESSAGES/gtk+.mo
/usr/share/locale/eu/LC_MESSAGES/gtk+.mo
/usr/share/locale/fi/LC_MESSAGES/gtk+.mo
/usr/share/locale/fr/LC_MESSAGES/gtk+.mo
/usr/share/locale/ga/LC_MESSAGES/gtk+.mo
/usr/share/locale/gl/LC_MESSAGES/gtk+.mo
/usr/share/locale/hr/LC_MESSAGES/gtk+.mo
/usr/share/locale/hu/LC_MESSAGES/gtk+.mo
/usr/share/locale/it/LC_MESSAGES/gtk+.mo
/usr/share/locale/ja/LC_MESSAGES/gtk+.mo
/usr/share/locale/ko/LC_MESSAGES/gtk+.mo
/usr/share/locale/lt/LC_MESSAGES/gtk+.mo
/usr/share/locale/nl/LC_MESSAGES/gtk+.mo
/usr/share/locale/nn/LC_MESSAGES/gtk+.mo
/usr/share/locale/no/LC_MESSAGES/gtk+.mo
/usr/share/locale/pl/LC_MESSAGES/gtk+.mo
/usr/share/locale/pt/LC_MESSAGES/gtk+.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gtk+.mo
/usr/share/locale/ro/LC_MESSAGES/gtk+.mo
/usr/share/locale/ru/LC_MESSAGES/gtk+.mo
/usr/share/locale/sk/LC_MESSAGES/gtk+.mo
/usr/share/locale/sl/LC_MESSAGES/gtk+.mo
/usr/share/locale/sp/LC_MESSAGES/gtk+.mo
/usr/share/locale/sr/LC_MESSAGES/gtk+.mo
/usr/share/locale/sv/LC_MESSAGES/gtk+.mo
/usr/share/locale/tr/LC_MESSAGES/gtk+.mo
/usr/share/locale/uk/LC_MESSAGES/gtk+.mo
/usr/share/locale/vi/LC_MESSAGES/gtk+.mo
/usr/share/locale/wa/LC_MESSAGES/gtk+.mo
/usr/share/locale/zh_CN.GB2312/LC_MESSAGES/gtk+.mo
/usr/share/locale/zh_TW.Big5/LC_MESSAGES/gtk+.mo
/usr/share/themes/Default
/usr/share/themes/Default/gtk
/usr/share/themes/Default/gtk/gtkrc
References
- [gtk+ website](http://www.gtk.org/ http://www.gtk.org/)
Summary
In this tutorial we learn how to install gtk+
on Fedora 34 using yum and dnf.