How to install gtk+2.0
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?
14.04 gtk-2
|
show 2 more comments
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?
14.04 gtk-2
3
I don't think there is a package namedgtk+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)
– steeldriver
Apr 30 '16 at 17:52
I have to install a software named lamps for data analysis purpose. For it installation they need The graphics environment gtk+ (example: gtk+-1.2.10-33). so what i have to do
– vinay krishna
Apr 30 '16 at 17:57
If you have Ubuntu, you already have a GTK-based graphic environment.
– dadexix86
Apr 30 '16 at 18:02
but when i am make my software they showing gcc -gpkg-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 do
– vinay krishna
Apr 30 '16 at 18:11
5
If you're trying to build software that requiresgtk+-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.
– steeldriver
Apr 30 '16 at 18:15
|
show 2 more comments
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?
14.04 gtk-2
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?
14.04 gtk-2
14.04 gtk-2
edited Nov 23 '16 at 19:44
Tshilidzi Mudau
3,53831727
3,53831727
asked Apr 30 '16 at 17:29
vinay krishna
89115
89115
3
I don't think there is a package namedgtk+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)
– steeldriver
Apr 30 '16 at 17:52
I have to install a software named lamps for data analysis purpose. For it installation they need The graphics environment gtk+ (example: gtk+-1.2.10-33). so what i have to do
– vinay krishna
Apr 30 '16 at 17:57
If you have Ubuntu, you already have a GTK-based graphic environment.
– dadexix86
Apr 30 '16 at 18:02
but when i am make my software they showing gcc -gpkg-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 do
– vinay krishna
Apr 30 '16 at 18:11
5
If you're trying to build software that requiresgtk+-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.
– steeldriver
Apr 30 '16 at 18:15
|
show 2 more comments
3
I don't think there is a package namedgtk+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)
– steeldriver
Apr 30 '16 at 17:52
I have to install a software named lamps for data analysis purpose. For it installation they need The graphics environment gtk+ (example: gtk+-1.2.10-33). so what i have to do
– vinay krishna
Apr 30 '16 at 17:57
If you have Ubuntu, you already have a GTK-based graphic environment.
– dadexix86
Apr 30 '16 at 18:02
but when i am make my software they showing gcc -gpkg-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 do
– vinay krishna
Apr 30 '16 at 18:11
5
If you're trying to build software that requiresgtk+-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.
– steeldriver
Apr 30 '16 at 18:15
3
3
I don't think there is a package named
gtk+2.0
- what package are you trying to install, exactly, and why? (unfortunately apt-get
insists on treating package names as regexes when it doesn't find an exact match)– steeldriver
Apr 30 '16 at 17:52
I don't think there is a package named
gtk+2.0
- what package are you trying to install, exactly, and why? (unfortunately apt-get
insists on treating package names as regexes when it doesn't find an exact match)– steeldriver
Apr 30 '16 at 17:52
I have to install a software named lamps for data analysis purpose. For it installation they need The graphics environment gtk+ (example: gtk+-1.2.10-33). so what i have to do
– vinay krishna
Apr 30 '16 at 17:57
I have to install a software named lamps for data analysis purpose. For it installation they need The graphics environment gtk+ (example: gtk+-1.2.10-33). so what i have to do
– vinay krishna
Apr 30 '16 at 17:57
If you have Ubuntu, you already have a GTK-based graphic environment.
– dadexix86
Apr 30 '16 at 18:02
If you have Ubuntu, you already have a GTK-based graphic environment.
– dadexix86
Apr 30 '16 at 18:02
but when i am make my software they showing gcc -g
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 do– vinay krishna
Apr 30 '16 at 18:11
but when i am make my software they showing gcc -g
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 do– vinay krishna
Apr 30 '16 at 18:11
5
5
If you're trying to build software that requires
gtk+-2.0
then the package you should install is called libgtk2.0-dev
. Make sure you run sudo apt-get update
first to make sure the package catalog is up to date.– steeldriver
Apr 30 '16 at 18:15
If you're trying to build software that requires
gtk+-2.0
then the package you should install is called libgtk2.0-dev
. Make sure you run sudo apt-get update
first to make sure the package catalog is up to date.– steeldriver
Apr 30 '16 at 18:15
|
show 2 more comments
2 Answers
2
active
oldest
votes
The right command is:
sudo apt-get install gtk2.0
add a comment |
First you need gtk2 and the command for that is
sudo apt-get install gtk2.0
chances are that its already installed.
Then you need the development package libgtk2.0-dev and this can be installed by the command:
sudo apt-get install build-essential libgtk2.0-dev
Best regards and good luck with LAMPS
Ambar Chatterjee
I tried to install gtk2.0 in Ubuntu-bash (Windows 10) I got following error after running the first comment. Errors were encountered while processing: libpython3.5-minimal:amd64 python3.5-minimal libpython3.5-stdlib:amd64 python3.5 libpython3.5:amd64 libpython3.5-dev:amd64 libpython3-dev:amd64 python3.5-dev python3-dev python3-pip python3-setuptools python3-wheel E: Sub-process /usr/bin/dpkg returned an error code (1)
– phenomenon
Oct 30 '17 at 9:50
2
Are you trying install within a Linux Subsystem on Windows 10? My tested solution is only for a real Ubuntu system installed on its own partition. I have not tested on a Windows Linux subsystem and I cannot recommend its use. Serious users should install Ubuntu on its own partition.
– Ambar Chatterjee
Nov 2 '17 at 2:45
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f765526%2fhow-to-install-gtk2-0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The right command is:
sudo apt-get install gtk2.0
add a comment |
The right command is:
sudo apt-get install gtk2.0
add a comment |
The right command is:
sudo apt-get install gtk2.0
The right command is:
sudo apt-get install gtk2.0
edited May 2 '16 at 22:31
answered Apr 30 '16 at 21:47
Tiago Bértolo
4561315
4561315
add a comment |
add a comment |
First you need gtk2 and the command for that is
sudo apt-get install gtk2.0
chances are that its already installed.
Then you need the development package libgtk2.0-dev and this can be installed by the command:
sudo apt-get install build-essential libgtk2.0-dev
Best regards and good luck with LAMPS
Ambar Chatterjee
I tried to install gtk2.0 in Ubuntu-bash (Windows 10) I got following error after running the first comment. Errors were encountered while processing: libpython3.5-minimal:amd64 python3.5-minimal libpython3.5-stdlib:amd64 python3.5 libpython3.5:amd64 libpython3.5-dev:amd64 libpython3-dev:amd64 python3.5-dev python3-dev python3-pip python3-setuptools python3-wheel E: Sub-process /usr/bin/dpkg returned an error code (1)
– phenomenon
Oct 30 '17 at 9:50
2
Are you trying install within a Linux Subsystem on Windows 10? My tested solution is only for a real Ubuntu system installed on its own partition. I have not tested on a Windows Linux subsystem and I cannot recommend its use. Serious users should install Ubuntu on its own partition.
– Ambar Chatterjee
Nov 2 '17 at 2:45
add a comment |
First you need gtk2 and the command for that is
sudo apt-get install gtk2.0
chances are that its already installed.
Then you need the development package libgtk2.0-dev and this can be installed by the command:
sudo apt-get install build-essential libgtk2.0-dev
Best regards and good luck with LAMPS
Ambar Chatterjee
I tried to install gtk2.0 in Ubuntu-bash (Windows 10) I got following error after running the first comment. Errors were encountered while processing: libpython3.5-minimal:amd64 python3.5-minimal libpython3.5-stdlib:amd64 python3.5 libpython3.5:amd64 libpython3.5-dev:amd64 libpython3-dev:amd64 python3.5-dev python3-dev python3-pip python3-setuptools python3-wheel E: Sub-process /usr/bin/dpkg returned an error code (1)
– phenomenon
Oct 30 '17 at 9:50
2
Are you trying install within a Linux Subsystem on Windows 10? My tested solution is only for a real Ubuntu system installed on its own partition. I have not tested on a Windows Linux subsystem and I cannot recommend its use. Serious users should install Ubuntu on its own partition.
– Ambar Chatterjee
Nov 2 '17 at 2:45
add a comment |
First you need gtk2 and the command for that is
sudo apt-get install gtk2.0
chances are that its already installed.
Then you need the development package libgtk2.0-dev and this can be installed by the command:
sudo apt-get install build-essential libgtk2.0-dev
Best regards and good luck with LAMPS
Ambar Chatterjee
First you need gtk2 and the command for that is
sudo apt-get install gtk2.0
chances are that its already installed.
Then you need the development package libgtk2.0-dev and this can be installed by the command:
sudo apt-get install build-essential libgtk2.0-dev
Best regards and good luck with LAMPS
Ambar Chatterjee
edited Oct 20 '16 at 12:20
Nick Weinberg
3,45841827
3,45841827
answered Oct 20 '16 at 11:55
Ambar Chatterjee
15113
15113
I tried to install gtk2.0 in Ubuntu-bash (Windows 10) I got following error after running the first comment. Errors were encountered while processing: libpython3.5-minimal:amd64 python3.5-minimal libpython3.5-stdlib:amd64 python3.5 libpython3.5:amd64 libpython3.5-dev:amd64 libpython3-dev:amd64 python3.5-dev python3-dev python3-pip python3-setuptools python3-wheel E: Sub-process /usr/bin/dpkg returned an error code (1)
– phenomenon
Oct 30 '17 at 9:50
2
Are you trying install within a Linux Subsystem on Windows 10? My tested solution is only for a real Ubuntu system installed on its own partition. I have not tested on a Windows Linux subsystem and I cannot recommend its use. Serious users should install Ubuntu on its own partition.
– Ambar Chatterjee
Nov 2 '17 at 2:45
add a comment |
I tried to install gtk2.0 in Ubuntu-bash (Windows 10) I got following error after running the first comment. Errors were encountered while processing: libpython3.5-minimal:amd64 python3.5-minimal libpython3.5-stdlib:amd64 python3.5 libpython3.5:amd64 libpython3.5-dev:amd64 libpython3-dev:amd64 python3.5-dev python3-dev python3-pip python3-setuptools python3-wheel E: Sub-process /usr/bin/dpkg returned an error code (1)
– phenomenon
Oct 30 '17 at 9:50
2
Are you trying install within a Linux Subsystem on Windows 10? My tested solution is only for a real Ubuntu system installed on its own partition. I have not tested on a Windows Linux subsystem and I cannot recommend its use. Serious users should install Ubuntu on its own partition.
– Ambar Chatterjee
Nov 2 '17 at 2:45
I tried to install gtk2.0 in Ubuntu-bash (Windows 10) I got following error after running the first comment. Errors were encountered while processing: libpython3.5-minimal:amd64 python3.5-minimal libpython3.5-stdlib:amd64 python3.5 libpython3.5:amd64 libpython3.5-dev:amd64 libpython3-dev:amd64 python3.5-dev python3-dev python3-pip python3-setuptools python3-wheel E: Sub-process /usr/bin/dpkg returned an error code (1)
– phenomenon
Oct 30 '17 at 9:50
I tried to install gtk2.0 in Ubuntu-bash (Windows 10) I got following error after running the first comment. Errors were encountered while processing: libpython3.5-minimal:amd64 python3.5-minimal libpython3.5-stdlib:amd64 python3.5 libpython3.5:amd64 libpython3.5-dev:amd64 libpython3-dev:amd64 python3.5-dev python3-dev python3-pip python3-setuptools python3-wheel E: Sub-process /usr/bin/dpkg returned an error code (1)
– phenomenon
Oct 30 '17 at 9:50
2
2
Are you trying install within a Linux Subsystem on Windows 10? My tested solution is only for a real Ubuntu system installed on its own partition. I have not tested on a Windows Linux subsystem and I cannot recommend its use. Serious users should install Ubuntu on its own partition.
– Ambar Chatterjee
Nov 2 '17 at 2:45
Are you trying install within a Linux Subsystem on Windows 10? My tested solution is only for a real Ubuntu system installed on its own partition. I have not tested on a Windows Linux subsystem and I cannot recommend its use. Serious users should install Ubuntu on its own partition.
– Ambar Chatterjee
Nov 2 '17 at 2:45
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f765526%2fhow-to-install-gtk2-0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
I don't think there is a package named
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)– steeldriver
Apr 30 '16 at 17:52
I have to install a software named lamps for data analysis purpose. For it installation they need The graphics environment gtk+ (example: gtk+-1.2.10-33). so what i have to do
– vinay krishna
Apr 30 '16 at 17:57
If you have Ubuntu, you already have a GTK-based graphic environment.
– dadexix86
Apr 30 '16 at 18:02
but when i am make my software they showing gcc -g
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 do– vinay krishna
Apr 30 '16 at 18:11
5
If you're trying to build software that requires
gtk+-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.– steeldriver
Apr 30 '16 at 18:15