LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-15-2002, 01:30 AM   #1
RefriedBean
Member
 
Registered: Jun 2002
Location: N 37° 33.327 E 126° 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186

Rep: Reputation: 31
Question gtk


Hi!

I would like to know if its possible to have both gtk 1.2 and 2.x on the same system. I guess I could install them in different directories, but then how would applications know where which version is located?

Thanks!
RefriedBean
 
Old 08-15-2002, 01:44 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
they do get installed side by side just fine. the pacakge names are gtk and gtk2, and are designed to be together. just don't upgrade to gtk2, install it (i.e rpm -i not rpm -U) they have different file names for drviers and all, so they are distinguished and used in the same way as any other package, from a #include <gtk2.h> in a c code file rather than <gtk.h> etc.
 
Old 08-15-2002, 04:36 AM   #3
RefriedBean
Member
 
Registered: Jun 2002
Location: N 37° 33.327 E 126° 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by acid_kewpie
they do get installed side by side just fine. the pacakge names are gtk and gtk2, and are designed to be together. just don't upgrade to gtk2, install it (i.e rpm -i not rpm -U) they have different file names for drviers and all, so they are distinguished and used in the same way as any other package, from a #include <gtk2.h> in a c code file rather than <gtk.h> etc.
Thank you very much for clearing all that up

RefriedBean
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz Oholiab Slackware 8 09-18-2005 11:57 AM
GTK source install doesn't give gtk-config Feebles Linux - Software 4 06-15-2005 12:51 PM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 12:46 AM
GTK error when starting gtk-chtheme Dswissmiss Linux - Software 1 10-01-2004 11:53 PM
compiling gaim/ gtk error (two versions of gtk) webazoid Linux - Software 0 07-06-2004 06:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration