LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Install glib and gtk in linux (https://www.linuxquestions.org/questions/linux-newbie-8/install-glib-and-gtk-in-linux-4175471075/)

jothforums 07-26-2013 06:51 PM

Install glib and gtk in linux
 
Hello,
I am a total newbie to linux, how do i install glib and gtk.
looks like i need this for installing citrix receiver.
TIA,
J

John VV 07-26-2013 08:52 PM

well if glib is not installed your operating system will not run

so that is already installed , it has to be.

if you are using gnome desktop , then gtk is installed

gtk is normally installed by default

so it should be installed already


what makes you think that glib and gtk are not installed on this unknown operating system ?

TobiSGD 07-26-2013 08:54 PM

Quote:

Originally Posted by John VV (Post 4997632)
well if glib is not installed your operating system will not run

True for glibc, but not for glib.

Anyways, it depends on your distribution how to check for those libraries and how to install them if they are missing, so the first thing we need to know is which distribution you are using.

jothforums 07-28-2013 02:39 PM

Thanks-
I am using SLES 11 SP3
In general, i am not sure how installations in linux are done. Would highly appreciate if some one can help me understand.
I have been using windows mostly and now trying to learn unix, so please tolerate my ignorance :D
-J

John VV 07-28-2013 02:53 PM

for suse , use the terminal and zypper
this will show you gtk

Code:

su -
zypper info gtk
--- or search for it  , it will be marked if it is installed ----
zypper se gtk

the search will output a long list of rpm's that can be installed

For example a partial output on my opensuse 12.3 install for " zypper se gtk "
Code:

zypper se gtk
Retrieving repository 'Packman Repository' metadata ............................................................................................[done]
Building repository 'Packman Repository' cache .................................................................................................[done]
Loading repository data...
Reading installed packages...

S | Name                                                  | Summary                                                                      | Type     
--+--------------------------------------------------------+------------------------------------------------------------------------------+-----------
  | BitTorrent-gtk                                        | Scatter-Gather Network File Transfer - GTK based UI                          | package 
i | PackageKit-gtk3-module                                | Simple software installation management software                            | package 
  | apport-gtk                                            | GTK frontend for the apport crash report system                              | package 
  | at-spi2-atk-gtk2                                      | Assistive Technology Service Provider Interface - GTK+ 2 Module              | package 
  | avahi-utils-gtk                                        | GTK+ Utilities for D-BUS Service for Zeroconf and Bonjour                    | package 
  | avidemux-gtk                                          | GTK Graphical Frontend for avidemux                                          | package 
  | c++-gtk-utils                                          | Lightweight library for GTK+ programs using C++                              | srcpackage
  | canberra-gtk-play                                      | Portable sound event library -- Utility                                      | package 
  | caribou-gtk-module-common                              | On-screen Keyboard for GNOME -- Common Files for GTK+ Modules                | package 
  | caribou-gtk2-module                                    | On-screen Keyboard for GNOME -- GTK+ 2 Module                                | package 
  | caribou-gtk3-module                                    | On-screen Keyboard for GNOME -- GTK+ 3 Module                                | package 
  | clutter-gtk                                            | GTK+ integration for Clutter                                                | srcpackage
  | clutter-gtk-devel                                      | GTK+ integration for Clutter - Development Files                            | package 
  | clutter-gtk-lang                                      | Languages for package clutter-gtk                                            | package 
  | colord-gtk                                            | System Daemon for Managing Color Devices -- GTK Integration                  | srcpackage
  | colord-gtk-lang                                        | Languages for package colord-gtk                                            | package 
  | fcitx-config-gtk3                                      | GTK GUI Config tool for FCITX                                                | package 
  | fcitx-gtk2                                            | Gtk2 IM module for fcitx                                                    | package 
  | fcitx-gtk2-32bit                                      | Gtk2 IM module for fcitx                                                    | package 
  | fcitx-gtk3                                            | Gtk3 IM module for fcitx                                                    | package 
  | fcitx-gtk3-32bit                                      | Gtk3 IM module for fcitx                                                    | package 
  | ffgtk                                                  | FRITZ!Box Fax-Software and Call-Monitor!                                    | package 
  | ffgtk                                                  | FRITZ!Box Fax-Software and Call-Monitor!                                    | srcpackage
  | gcin-gtk3-immodule                                    | Gcin gtk3 immodule                                                          | package 
  | gcin-gtk3-immodule-32bit                              | Gcin gtk3 immodule                                                          | package 
  | glade-catalog-gtkhtml                                  | Lightweight HTML rendering/printing/editing engine -- Catalog for Glade      | package 
  | glade-catalog-gtksourceview                            | GTK+ Source Editing Widget -- Catalog for Glade                              | package 
  | glade3-catalog-gtksourceview                          | GTK+ Source Editing Widget -- Catalog for Glade                              | package 
  | glade3-catalog-mx-gtk                                  | Clutter-based Toolkit -- GTK+ Widgets -- Catalog for Glade                  | package 
  | go-go-gtk                                              | Go bindings for GTK                                                          | package 
  | go-go-gtk                                              | Go bindings for GTK                                                          | srcpackage
  | go-go-gtk-doc                                          | API documenation                                                            | package 
  | gtk                                                    | A Library for the Creation of Graphical User Interfaces                      | package 
  | gtk                                                    | A Library for the Creation of Graphical User Interfaces                      | srcpackage
  | gtk-32bit                                              | A Library for the Creation of Graphical User Interfaces                      | package 
  | gtk-chtheme                                            | GTK2 Theme Switcher                                                          | package 
  | gtk-chtheme                                            | GTK2 Theme Switcher                                                          | srcpackage
  | gtk-debuginfo                                          | Debug information for package gtk                                            | package 
  | gtk-debuginfo-32bit                                    | Debug information for package gtk                                            | package 
  | gtk-debugsource                                        | Debug sources for package gtk                                                | package 
  | gtk-devel                                              | Developer Files for GIMP ToolKit                                            | package 
  | gtk-doc                                                | GTK+ DocBook Documentation Generator                                        | package 
  | gtk-doc                                                | GTK+ DocBook Documentation Generator                                        | srcpackage
  | gtk-gnutella                                          | Gnutella Peer to Peer Client                                                | package 
  | gtk-gnutella                                          | Gnutella Peer to Peer Client                                                | srcpackage
  | gtk-key-theme-ctrluftw                                | GTK key theme that sets ctrl-u in text entries                              | package 
  | gtk-key-theme-ctrluftw                                | GTK key theme that sets ctrl-u in text entries                              | srcpackage
  | gtk-lang                                              | Languages for package gtk                                                    | package 
  | gtk-recordMyDesktop                                    | Graphical Frontend for recordMyDesktop                                      | package 
  | gtk-recordMyDesktop                                    | Graphical Frontend for recordMyDesktop                                      | srcpackage
  | gtk-recordMyDesktop-lang                              | Languages for package gtk-recordMyDesktop                                    | package 
  | gtk-sharp-beans                                        | Extra Gtk# bindings                                                          | package 
  | gtk-sharp-beans                                        | Extra Gtk# bindings                                                          | srcpackage
  | gtk-sharp-beans-devel                                  | Extra Gtk# bindings                                                          | package 
i | gtk-sharp2                                            | .Net Language Bindings for GTK+                                              | package 
  | gtk-sharp2                                            | .Net Language Bindings for GTK+                                              | srcpackage
  | gtk-sharp2-complete                                    | GTK+ and GNOME bindings for Mono (virtual package)                          | package 
  | gtk-sharp2-doc                                        | Monodoc documentation for gtk-sharp2                                        | package 
  | gtk-sharp2-gapi                                        | C Source Parser and C Generator                                              | package 
  | gtk-vector-screenshot                                  | Module to create vector screenshots of GTK3-based programs                  | package 
  | gtk-vector-screenshot                                  | Module to create vector screenshots of GTK3-based programs                  | srcpackage
  | gtk-vnc                                                | A GTK widget for VNC clients                                                | srcpackage
  | gtk-vnc-devel                                          | A GTK widget for VNC clients -- Development Files                            | package 
  | gtk-vnc-lang                                          | Languages for package gtk-vnc                                                | package 
  | gtk-vnc-tools                                          | VNC Tools based on gtk-vnc                                                  | package 
  | gtk-vnc2                                              | A GTK widget for VNC clients                                                | srcpackage
  | gtk-vnc2-devel                                        | A GTK widget for VNC clients -- Development Files                            | package 
i | gtk-vnc2-lang                                          | Languages for package gtk-vnc2                                              | package 
  | gtk-xfce-engine                                        | Xfce GTK+-2.0 Theme Engine                                                  | package 
  | gtk-xfce-engine                                        | Xfce GTK+-2.0 Theme Engine                                                  | srcpackage
  | gtk-xfce-engine-32bit                                  | Xfce GTK+-2.0 Theme Engine                                                  | package 
  | gtk1-compat                                            | Compatibility Wrappers for Old Versions of GLib, GTK+, GDK-Pixbuf, and lib-> | srcpackage
  | gtk1-compat-devel                                      | Compatibility Wrappers for Old Versions of GLib, GTK+, GDK-Pixbuf and libg-> | package 
  | gtk2                                                  | The GTK+ toolkit library (version 2)                                        | srcpackage
  | gtk2-branding-SLED                                    | The GTK+ toolkit library (version 2) -- SLED theme configuration            | package 
  | gtk2-branding-SLED                                    | The GTK+ toolkit library (version 2) -- SLED theme configuration            | srcpackage
i | gtk2-branding-openSUSE                                | The GTK+ toolkit library (version 2) -- openSUSE theme configuration        | package 
  | gtk2-branding-openSUSE                                | The GTK+ toolkit library (version 2) -- openSUSE theme configuration        | srcpackage
  | gtk2-branding-upstream                                | The GTK+ toolkit library (version 2) -- Upstream theme configuration        | package 
i | gtk2-data                                              | The GTK+ toolkit library (version 2) -- Data Files                          | package 
i | gtk2-devel                                            | The GTK+ toolkit library (version 2) -- Development Files                    | package

mind you that GTK1 and GTK2 are OLD versions GTK 3 is the current and referred to in the terminal as only " gtk"

see the manual page for zypper
use "su - ", or "sudo" if set up to become root
Code:

su -
man zypper


jothforums 07-30-2013 02:43 PM

@John - Thanks a ton
I could check the gtk with zypper

Next i am trying to install nspluginwrapper
I downloaded the tar file and i am trying to install.
But now it says GLIB 2.0 not found..
how can i install this?

TIA
-J

John VV 07-30-2013 07:47 PM

Why are you trying to build it ?
nspluginwrapper should be installed by default .
And if not it is in the suse repos
Code:

su -
zypper in nspluginwrapper

and the "Compatibility Layer for Netscape 4 Plug-Ins " is installed
for running 32 bit plugins in 64 bit firefox /Mozilla

personally running the 64 bit plugins is WAY better

jothforums 07-31-2013 07:11 PM

1 Attachment(s)
when i try that i get the following response

John VV 07-31-2013 08:13 PM

please post the repos that are installed
Code:

su -
zypper ls

nspluginwrapper is in the oss repo

this is "SLES 11 SP3"
SUSE enterprise Linux Server - service pack 3
so you DO have the REQUIRED support contract from Novell

have you looked into the tech support that you ARE already paying for

jothforums 08-01-2013 11:32 AM

1 Attachment(s)
Sorry i am using the trial version.So i don't have the standard support, unfortunately..

John VV 08-01-2013 12:29 PM

if you are not going to buy the required support contract from Novell
then DO NOT USE "SELS 11sp3"

buy the license or install a FREE operating system like
OpenSUSE 12.3

opensuse can also be installed without the desktop like SELS is
a GUI is not needed on a server rack

but the long term support on a server is well worth the cost of the contract
years VS. 18 months

from the screen shot

this is a VMWare install !!!!!!!!
this would have been VERY nice to know in the very first post

buy the support contract from novell
or install a different operating system !

jothforums 08-01-2013 10:50 PM

Oh ok - i am very sorry :(
Did not know this could be the reason for the issues i faced.
Thanks for your time
-J


All times are GMT -5. The time now is 10:41 AM.