Results 1 to 8 of 8
Hello,
I've only built from source a few times before as I normally use RPM but I'm getting sick of trying to track down RPMs. So I was just wondering, ...
- 01-23-2005 #1Just Joined!
- Join Date
- Sep 2004
- Posts
- 66
Unbuilding from Source ;)
Hello,
I've only built from source a few times before as I normally use RPM but I'm getting sick of trying to track down RPMs. So I was just wondering, isn't building from source messy? I mean, what happens when you need to uninstall the program? Or is there a way to cleanly uninstall?
Thanks...
- 01-23-2005 #2
I know with some source packs you can state
instaed ofCode:make uninstall
dylunioCode:make install
- 01-23-2005 #3Just Joined!
- Join Date
- Sep 2004
- Posts
- 66
Is there a way to tell if that make uninstall option is available before you make install?
And you have to keep the configured source around to uninstall at a later time, right?
- 01-23-2005 #4Linux Engineer
- Join Date
- Aug 2004
- Posts
- 826
read the file README or INSTALL that comes in the directory with the source.
Originally Posted by Audax321
- 01-23-2005 #5Just Joined!
- Join Date
- Nov 2004
- Posts
- 18
You could also try some source-based package management tool, such as spk ( http://spk.sourceforge.net ).
- 01-23-2005 #6Linux Engineer
- Join Date
- Nov 2004
- Location
- Ft. Polk, LA
- Posts
- 796
IMO installing pre built packages is what's messy. Building from source gives you the options to customize how it is built and where it installs to, installing a RPM gives you none of that (or very few in some cases). Mostly this is accomplished by passing options to configure, but sometimes editing the Makefile a little bit is what it takes. Not all options have a 'make uninstall', but you can find out with the command 'make -n uninstall'. The -n options means print everything, but don't actually do it, so if it does some stuff at least you know it works. Otherwise, you'll have to delete everything manually, check 'make -n install' to see where it puts everything, these are what must be deleted.
- 01-26-2005 #7Just Joined!
- Join Date
- Jan 2005
- Posts
- 70
I compile my programs like this:
./configure
make
checkinstall -S -y
Somebody sayd me that if you do packages from programs what are made of sources you can uninstall them with any pgkmanager.
(That's why checkinstall instead of make install)
- 01-27-2005 #8Linux Enthusiast
- Join Date
- Jun 2004
- Location
- Windsor, CO
- Posts
- 656
Or in the case of Gentoo's portage system, it takes care of the cleanup for you- saves loads of time.
Emotions are the key to the soul.
Registered Linux User #375050


Reply With Quote
