Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-24-2003, 11:58 AM   #1
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Rep: Reputation: 38
RH9 Rpms' uninstall to tgz install... (glib)

Im having a problem with glib on rh9.

I'd like to install the most recent vrsion of glib (source) and would like to remove the older version, which came with rh9. I know that the rh9 installed' glib is rpm-based but im not sure where to go and what to type to remove it.

I need to remove it because pkg_config keeps finding the older version, rather the new one (it must not of installed over the older version)

So could someone help me out on where to go in the rpm db and what to type to remove the old glib package? Im having one hell of a time trying to figure this out.
Old 10-24-2003, 01:49 PM   #2
LQ Guru
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Have you already installed the new glib? If your existing one is installed via rpm, it may be tricky trying to remove it and still keep the necessary dependencies intact.

Run 'rpm -qa | grep glib' in a terminal window to see a list of all installed rpms with 'glib' in their name. You can remove an rpm with 'rpm -e glib' and the like, but that'll probably complain about all the things that depend on glib.

If you can get ahold of an rpm for the glib version you want, you can use the rpm upgrade command to upgrade your existing glib. After downloading the rpm for the new version, open up a terminal window and type:

rpm -Uvh glib-new-version.rpm
rpmu -Uvh glib-new-version.rpm

However, it's very likely that there are a lot of dependencies that will need to be resolved before the command will actually work. It'll probably give you a list of "xyz is needed by abc" messages. Unless Redhat has officially made the RPMs available so that you can do an upgrade using one of the various graphical RPM interfaces, it could be nasty. You may be better off trying to pin down why pkg-config is seeing the old one.

Also, if you haven't tried it already, check out the program checkinstall. It can build RPMs from source, which you may be able to use for the upgrade process described above. Personally, I'd just suggest finding everything on, though.

Last edited by wapcaplet; 10-24-2003 at 01:53 PM.
Old 10-25-2003, 12:18 AM   #3
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
You should just update the older glib by

rpm -Uvh glib

It just freshens the packages for newer files...

I'm pretty sure you could get through apt from the fedora repository but you're going to have to upgrade the dependencies as well as has already been stated here

Last edited by lupin_the_3rd; 10-25-2003 at 12:19 AM.


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
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
Rpms will not install or uninstall jginger Linux - Newbie 2 10-13-2004 12:53 PM
my rpms won't install (rh9) subdigital Linux - Software 1 04-20-2004 09:57 PM
Wine will neither install nor uninstall on RH9 andy44 Linux - Newbie 3 01-20-2004 02:50 PM
X Sever crash after xset.tgz & vg16.tgz install lachlan Slackware 0 08-13-2003 02:48 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:16 PM.

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