When I enter the command
sudo apt-get install gtk+2.0
I get Output is like this:
Reading state information... Done Note, selecting 'gir1.2-spice-client-gtk-2.0' for regex 'gtk+-2.0' Note, selecting 'gir1.2-gtk-2.0' for regex 'gtk+-2.0' Note, selecting 'libspice-client-gtk-2.0-dev' for regex 'gtk+-2.0' Note, selecting 'libspice-client-gtk-2.0-1' for regex 'gtk+-2.0' Note, selecting 'gir1.0-gtk-2.0' for regex 'gtk+-2.0' gir1.2-gtk-2.0 is already the newest version. Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libspice-client-gtk-2.0-dev : Depends: libgtk2.0-dev (>= 2.18.0) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
I am new to Ubuntu what I have to do?
gtk+2.0
- what package are you trying to install, exactly, and why? (unfortunatelyapt-get
insists on treating package names as regexes when it doesn't find an exact match)pkg-config --cflags gtk+-2.0
-c -o ascii2d.o ascii2d.c Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found ascii2d.c:1:21: fatal error: gtk/gtk.h: No such file or directory compilation terminated. make: *** [ascii2d.o] Error 1 so what i am supposed to dogtk+-2.0
then the package you should install is calledlibgtk2.0-dev
. Make sure you runsudo apt-get update
first to make sure the package catalog is up to date.