Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-11-2004, 09:40 AM   #1
Registered: Oct 2003
Location: East Anglia, England
Distribution: Dapper Drake / Slackware
Posts: 151

Rep: Reputation: 30
installing programs, rpms and source

I downloaded the source to Gaim, tried to compile it but it needs a version of Glib equal to or higher than 2. I ran rpm -qa | grep glib and it gave me glib-1.2.10-10, so I need to upgrade. I went to the gtk site and had a look glib-2.4.4 but it is in a tar.gz file. They don't have rpms so I can't exactly run a simple upgrade after downloading one. So:

1. If I download and compile glib-2.4.4 then how will gaim know to use it? Which directory would I put it in? It's not like glib is a normal program so I presume /usr/local wont do.

2. Would I then just remove the old glib rpm?

3. Which directory are rpms contained in? I have been wondering...

I seem to prefer compiling things, when I try to install rpms I get all these dependancy problems. While on the topic though, how do you go about uninstalling a compiled program? Do you just rm -rf the directory?
Old 07-11-2004, 09:46 AM   #2
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
To be honest, you are better installing from source anyway.

1. download source to /home/hal
2. unzip it: tar -xvf /home/hal/glib.tar
3. cd /home/hal/glib
4 ./configure
5. make
6 su <password>
7. make install

How will gaim know to use the library? It just will!

Which directory? I don't know to be honest, but I wouldn't worry. What you could do it search for it:
$ locate glib

Hope this helps.


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
error installing source rpms kryptonite0110 Linux - Software 2 03-24-2005 07:26 AM
Installing Source RPMs NomadABC Linux - Software 2 02-04-2005 08:09 AM
installing source RPMs cylaxzene Linux - General 2 01-30-2005 04:16 PM
installing source rpms? minm Linux - Newbie 1 09-29-2004 06:18 PM
Compiling programs from source rpms coolfrog Linux - General 1 09-10-2004 04:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:46 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration