LinuxQuestions.org
Register a domain and help support LQ
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 06-02-2005, 04:49 AM   #1
gobi_dgm
Member
 
Registered: Feb 2005
Location: Bangalore
Distribution: FC3
Posts: 137

Rep: Reputation: 15
Question how to uninstall the older versions of GLIB?


hi
i have to update the glib to 2.0.0. how to uninstall my older version of Glib? is it possible to use two versions of glib at the same time? pl help me

thanks in advance
 
Old 06-02-2005, 05:04 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
assuming you are using red hat ( since that's what's in you're profile):

rpm -e glib-2 ( or may be named glib2 or something similar, it's NOT named glibc ( some people get this one confused, do not remove glibc))

when you install your new one, reinstall it to the same place ( on RH it should be /usr) and make a package of your build and install it instead of "make install", or upgrading/removal in the future will be a pain. if you don't know how to make rpm's, look into rpmbuild or checkinstall.
 
Old 06-02-2005, 05:09 AM   #3
gobi_dgm
Member
 
Registered: Feb 2005
Location: Bangalore
Distribution: FC3
Posts: 137

Original Poster
Rep: Reputation: 15
how to findout the name of installed glib? ... can i use 'rpm -e' ,even if i have installed it using 'make install'..
 
Old 06-03-2005, 05:05 AM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
depends on what name you want, do you want the old glib that came with your install's name or the one you just installed?

you cannot do "rpm --xx" with anything you installed from source without making a rpm of the build. rpm keeps it own database, which is upgraded by rpm itself. it has no idea what you installed from source or where you installed it to. ( if you make rpm's of your builds, not only will it make it easier on you for removal/upgrade, it also upgrades the rpm database so it know's what you installed and where it is so the next time you attempt to install an rpm that needs glib-2.x, it know's that dependency is satisfied).
 
Old 06-03-2005, 05:57 AM   #5
gobi_dgm
Member
 
Registered: Feb 2005
Location: Bangalore
Distribution: FC3
Posts: 137

Original Poster
Rep: Reputation: 15
should i remove all the files related to glib to uninstall it? is this the only way?
 
Old 06-04-2005, 05:22 AM   #6
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
if you are removing the old one ( the one that came with the system) all you need to do is rpm -e <package name> and it will uninstall it ( you might have to pass the --force option to rpm, as alot of programs depend on glib).
 
Old 06-04-2005, 06:43 AM   #7
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
If the glib you currently use is 1.2 then just keep it on there and install glib-2.0 alongside. They are totally seperate libraries and do not interfere with each other.
So many times on here people give answers that make the job so much more difficult than it has to be.
 
Old 06-05-2005, 02:05 AM   #8
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Quote:
Originally posted by __J
assuming you are using red hat ( since that's what's in you're profile):

rpm -e glib-2 ( or may be named glib2 or something similar, it's NOT named glibc ( some people get this one confused, do not remove glibc))
does that make it look like it's more difficult than it has to be? obviously since I specified glib-2.x, I'm not referring to glib-1.2
 
Old 06-05-2005, 08:39 AM   #9
kira
Member
 
Registered: Dec 2004
Distribution: redhat linux
Posts: 88

Rep: Reputation: 15
suppose the distro what you are running is redhat.
rpm -qa | grep glib
remove the feedback by rpm -qa with the command rpm -e
you must be ware of that if you removed older glib then any apps based on it will never be available for working.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
conflicting glib versions and glib-config scius Linux - Software 5 06-03-2008 02:35 AM
How to uninstall Glib older versions bigb0ss Linux - Software 0 10-24-2004 01:21 AM
how to use older versions of glibc turls Programming 4 07-07-2004 03:40 PM
up2date for older RH versions thegooch49 Linux - Newbie 4 03-30-2004 02:28 PM
older versions alaios Linux - General 9 10-01-2003 12:29 PM


All times are GMT -5. The time now is 10:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration