Como instalar o gtk + 2.0

13

Quando eu entro no comando

sudo apt-get install gtk+2.0

Eu recebo Saída é assim:

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.

Eu sou novo no Ubuntu o que tenho que fazer?

    
por vinay krishna 30.04.2016 / 19:29

2 respostas

20

O comando certo é:

sudo apt-get install gtk2.0
    
por Tiago Bértolo 30.04.2016 / 23:47
10

Primeiro você precisa do gtk2 e o comando para isso é

sudo apt-get install gtk2.0

é provável que já esteja instalado.

Então você precisa do pacote de desenvolvimento libgtk2.0-dev e isso pode ser instalado pelo comando:

sudo apt-get install build-essential libgtk2.0-dev

Atenciosamente e boa sorte com o LAMPS

Ambar Chatterjee

    
por Ambar Chatterjee 20.10.2016 / 13:55

Tags