How do I install gtk 4 [libgtk-4-dev]

I am unable to install libgtk-4-dev.
How do I install it.
no duplicate questions were found.

It just says package not found

I'm trying to install it so I can use newer widgets like GtkGridView and so on

$ sudo apt install libgtk-4-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libgtk-4-dev

Exactly.

The package you are trying to install is a GTK4 Package. You will need to wait for Zorin OS 17 for it to be available on Zorin.
You might try Fedora or Ubuntu 22.04 in the meantime.

1 Like

Doesn't Mint use Cinnamon as its DE?
How would they look similar?

I read somewhere it would release 2022 but there seems to be no news of it?

Sorting...
Full Text Search...
clapper/stable 0.5.2-7 amd64
  Simple and modern GNOME media player

easyeffects/stable 7.0.0-1 amd64
  Audio effects for PipeWire applications

fcitx5-frontend-gtk4/stable 5.0.21-1 amd64
  GTK4 IM Module for fcitx5

gir1.2-dbusmenu-gtk-0.4/stable 18.10.20180917~bzr492+repack1-3 amd64
  typelib file for libdbusmenu-gtk4 (GTK-2 variant)

gir1.2-granite-7.0/stable 7.1.0-1 amd64
  extension of GTK4 libraries (introspection files)

gir1.2-hud-2/focal 14.10+17.10.20170619-0ubuntu3.1 amd64
  typelib file for libhud2

gir1.2-hud-client-2/focal 14.10+17.10.20170619-0ubuntu3.1 amd64
  typelib file for libhud-client-2

gir1.2-nma4-1.0/stable 1.10.6-1 amd64
  GObject introspection data for libnma-gtk4

gir1.2-shumate-1.0/stable 1.0.3-2 amd64
  GTK4 widgets for embedded maps - gir bindings

gir1.2-xdpgtk4-1.0/stable 0.6-4 amd64
  Flatpak portal library - introspection data for GTK 4

granite-7-demo/stable 7.1.0-1 amd64
  extension of GTK4 libraries (demo binary)

gtk-4-examples/stable 4.8.3+ds-2 amd64
  example files for GTK 4

ibus-gtk4/stable 1.5.27-5 amd64
  Intelligent Input Bus - GTK4 support

libcolord-gtk-headers/stable 0.3.0-3.1 amd64
  GTK convenience library for interacting with colord - headers

libcolord-gtk4-1/stable 0.3.0-3.1 amd64
  GTK4 convenience library for interacting with colord

libcolord-gtk4-dev/stable 0.3.0-3.1 amd64
  GTK4 convenience library for interacting with colord - dev files

libdbusmenu-gtk4/stable 18.10.20180917~bzr492+repack1-3 amd64
  library for passing menus over DBus - GTK-2+ version

libedataserverui4-1.0-0/stable 3.46.4-2 amd64
  GTK4 utility library for evolution data servers

libedataserverui4-dev/stable 3.46.4-2 amd64
  GTK4 Utility library for evolution data server (development files)

libfm-gtk4/stable 1.3.2-1 amd64
  file management support (GTK+ 2.0 GUI library)

libgranite-7-7/stable 7.1.0-1 amd64
  extension of GTK4 libraries

libgranite-7-common/stable,stable 7.1.0-1 all
  extension of GTK4 libraries (common files)

libgranite-7-dev/stable 7.1.0-1 amd64
  extension of GTK4 libraries (development files)

libgtkmm-4.0-0/stable 4.8.0-3 amd64
  C++ wrappers for GTK4 (shared libraries)

libgtkmm-4.0-dev/stable 4.8.0-3 amd64
  C++ wrappers for GTK4 (development files)

libgtkmm-4.0-doc/stable,stable 4.8.0-3 all
  C++ wrappers for GTK4 (documentation)

libnma-gtk4-0/stable 1.10.6-1 amd64
  NetworkManager GUI GTK4 library

libnma-gtk4-dev/stable 1.10.6-1 amd64
  NetworkManager GTK 4 GUI library - development files

libnma-headers/stable 1.10.6-1 amd64
  NetworkManager GUI library - header files

libportal-gtk4-1/stable 0.6-4 amd64
  Flatpak portal library for GTK 4 GUIs

libportal-gtk4-dev/stable 0.6-4 amd64
  Flatpak portal library (development files for GTK 4)

libportal-tests-gtk4/stable,stable 0.6-4 all
  Flatpak portal library (test program for GTK 4)

librnd3-hid-gtk4-gl/stable 3.2.2-1 amd64
  GUI: gtk4, opengl

librust-gtk4-dev/stable 0.3.1-1+b1 amd64
  Rust bindings of the GTK 4 library - Rust source code

librust-gtk4-macros-dev/stable 0.3.1-2 amd64
  Macros helpers for GTK 4 bindings - Rust source code

librust-gtk4-sys-dev/stable 0.3.1-2 amd64
  FFI bindings of GTK 4 - Rust source code

libshumate-1.0-1/stable 1.0.3-2 amd64
  GTK4 widgets for embedded maps

libshumate-common/stable,stable 1.0.3-2 all
  GTK4 widgets for embedded maps - common files

libshumate-dev/stable 1.0.3-2 amd64
  GTK4 widgets for embedded maps -- development files

libshumate-doc/stable,stable 1.0.3-2 all
  GTK4 widgets for embedded maps - documentation

libvte-2.91-gtk4-0/stable 0.70.6-1~deb12u1 amd64
  Terminal emulator widget for GTK 4 - runtime files

libvte-2.91-gtk4-dev/stable 0.70.6-1~deb12u1 amd64
  Terminal emulator widget for GTK 4 - development files

libvte-2.91-gtk4-doc/stable,stable 0.70.6-1~deb12u1 all
  Terminal emulator widget for GTK 4 - documentation

megapixels/stable 1.6.0-1+b1 amd64
  GTK4 camera app for mobile using the V4L2 media request API

python3-wxgtk4.0/stable 4.2.0+dfsg-3 amd64
  Python 3 interface to the wxWidgets Cross-platform C++ GUI toolkit

Not sure about where it was said 2022... The earliest I ever heard was the end of 2023.
The Base for Zorin OS 17, Ubuntu 22.04 itself was only released in 2022. With all the patching, upgrading and testing; it would be next to impossible to get Zorin OS 17 released later that same exact year.

So I just ended up adding Debian 12 stable repos and I am pretty sure like @Turtle11 said IT WILL BREAK SOME STUFF IN ZORIN, I did it anyway

adding this line to /etc/apt/sources.list:

deb http://ftp.debian.org/debian stable main contrib non-free

has added many packages and updates that weren't there before which is huge help as it now lets me compile programs which I wasn't able to before.

I know this is not a great solution and will probably mess up some stuff but I will try to handle it the best I can.

I will update what all break on my computer.
CHEERS!

Yup completely botched it

Thanks this was what I was looking for but I can't compile gtk from source either cause all the other packages linke meson glib and many other are out of date.

So I tried cheating and just changing version numbers in the meson.build but that too made a lot of errors.

So for now I am moving to mint and will com back once Zorin 17 is ready :wink:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.