LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-13-2007, 06:37 PM   #1
osc~
Member
 
Registered: Apr 2007
Location: brazil
Distribution: Arch Linux
Posts: 70

Rep: Reputation: 15
Question updating libraries


hi
1- i installed glib-2.0 and afterwards glib-2.2.12. the programs i am installing need glib-2.2.12 but when i am compiling, only glib-2.0 is found. how do i uninstall glib-2.0.?
 
Old 05-13-2007, 07:03 PM   #2
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 32
How did you install the libraries? With installpkg or by compiling them?

If with installpkg then I'd "removepkg glib" and then reinstall using installpkg.

If the libraries are compiled and you have the source directories then often "make uninstall" will work.

Or, have a look at "ldconfig -p | grep glib-2" and/or "ls -al `locate glib-2 | grep so`".

NB: All commands except the last one should be run as root without the ""; the last command uses the backtick ` which is next to number 1 (one) on my keyboard.
 
Old 05-13-2007, 08:35 PM   #3
osc~
Member
 
Registered: Apr 2007
Location: brazil
Distribution: Arch Linux
Posts: 70

Original Poster
Rep: Reputation: 15
where do i do the "make uninstall"?
what are the source directories - if it is the tar.gz file, then i have it.
if not, where are the source files located at?
thanks
 
Old 05-13-2007, 09:24 PM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
run ./configure before make uninstall

you better uninstall using pkgtool
 
Old 05-14-2007, 12:14 PM   #5
osc~
Member
 
Registered: Apr 2007
Location: brazil
Distribution: Arch Linux
Posts: 70

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien_Hominid
run ./configure before make uninstall

you better uninstall using pkgtool
where do i run ./configure?

how do i uninstall using pkgtool? what is the command?

NB

i am a newbie
 
Old 05-14-2007, 12:37 PM   #6
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
type in terminal pkgtool, then follow the text
 
  


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
Updating libraries Janneman Red Hat 3 10-16-2004 04:53 AM
Updating libraries Janneman Red Hat 2 10-14-2004 12:45 PM
Updating Libraries Maeveth Linux - Software 2 08-01-2004 06:50 PM
X libraries? AFI_Flame Linux - Software 4 04-26-2004 06:19 PM
updating libraries, etc befuddled Linux - Newbie 1 02-03-2004 09:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:30 AM.

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