Sorry, fairly n00b with Ubuntu. I've searched and tried a few results but not sure how I could add the repo into my Ubuntu 20.04 in order to install gtk+3.0
.
I've read:
- https://www.jamescoyle.net/how-to/529-add-launchpad-ppa-repository-to-ubuntu
- How to install package from launchpad?
This is the package I'm trying to install through apt
https://launchpad.net/ubuntu/+source/gtk+3.0/3.24.18-1ubuntu1
What is the correct way to enable it via source.list and such that I could do sudo apt install gtk+3.0
? Or is the correct way just to manually install it by downloading the .deb
file??
I have not try to use synaptic
yet, I'd like to stay as vanilla as possible, should I be using synaptic
?
Thanks
Edit:
The reason why I want to have the package is that I have source code that looks for gtk/gtk.h
which depends on that gtk+-3.0
package.
fatal error: gtk/gtk.h: No such file or directory
33 | #include <gtk/gtk.h>
| ^~~~~~~~~~~
gtk/gtk.h
which is fromgtk+3.0
. I was able to accomplish this in 22.04 which had the package directly offapt
but not with 20.22.gtk+3.0
would be the source package for binary packagelibgtk-3-0
and development packagelibgtk-3-dev
. The -dev package is what you need for the header files. I'm seeing version3.24.18-1ubuntu1
from focal main and version3.24.20-0ubuntu1.1
from focal-updates main (20.04.5) - not sure what you mean by 20.22?