On Tue, 20 Apr 1999, JF wrote:

> 
> 
> [EMAIL PROTECTED] wrote:
> 
> > To get rpm to install from
> > source, you have to use rpm -bi on the spec file that it installs
with
> > the source.  
> 
> I tried that on joe.  It installed it again in different locations. :-(

Red Hat will often patch a ./configure or so to make a package install
where RedHat thinks it belongs, which is not always where the package
goes if left to itself.  I admit I have never used -bi, but it looks
from the man page like that's how you're meant to do it.  Perhaps you're
meant to build a binary package from the source (-bb), and   then
install that?  I rather like joe, but I only have the one copy slackware
3.4 gave me.  Two of it might be too much of a good thing.

> And it, unlike the .src.rpm installed some of it under /var/tmp too. 
So
> now I have 2 sets of joe splattered all over.  And niether will
> uninstall. (And these apps have no uninstall function -- only a make
> clean which gets rid of the obj (.o) files.)

I tried rpm -bi /usr/src/redhat/SPECS/which.spec, and indeed, it
installed it in /var/tmp/which-root/usr/bin, and said it wasn't
installed.  rm -r /var/tmp/* took care of that, but I think I will go
back to doing make and make install myself.  rpm -bp _does_ work, if you
want RedHat's patches applied.  Perhaps they have fixed it in a later
version (I have 2.4.12), if not someone should put a flea in their ear
about it.  I've never bought anything from them, so I don't feel
entitled to complain.

> 
> BTW, is there any utility for linux which locates duplicate files of
> various kinds (by name only, crc, size & contents, etc.)??
>
For executables, there is chkdupexe. 

> And, in linux can I uninstall manually by just deleting the directories
> created by an app and the executables and any config files?  -- i.e.
> there's nothing like the registry database as in winnt or win9x.

Absolutely.  It's your system, you can do what you like with it.  The
nearest equivalent would be the package databases of the varios package
tools.  Of course, if you remove things rpm _does_ know about without
telling it, or add things without using rpm, you should probably not
count on it keeping track of dependencies for you.  That's why it has
that lovely --nodeps option.

>
> > If you did make install yourself, _some_ packages have an
> > uninstall target for make.
> > 
> > If the bit about the <..src.rpm> was just a red herring,
> > you might try rpm -qail |less and see if you can figure out what rpm
> > calls it.
> 
> Doesn't call it anything -- it isn't in there by any name with either
> install.  Nor is the tree pkg which I installed the same way.
>  
> Jamie
> 
Well, at least there is rm -r.  Careful with it, though.

Lawson





___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

Reply via email to