All of lore.kernel.org
 help / color / mirror / Atom feed
* File Management
@ 2002-09-18 19:20 Paul Kraus
  2002-09-18 19:30 ` pa3gcu
  0 siblings, 1 reply; 10+ messages in thread
From: Paul Kraus @ 2002-09-18 19:20 UTC (permalink / raw)
  To: linux-newbie

Obviously software is always better installed from source. This creates
binaries that are system specific. However this represents the problem
of software removal. I notice some software by default will install into
/usr/local then dump everything under one directory (windows style-the
source install for samba is a good example). You can uses switches to
put these files in the correct bin lib etc folders. So if you follow the
standard(usings the systems bin/etc/sbin/man/var folders) how can you
effectively remove a piece of software without having a list of all the
files and paths of every app you installed. This is the only drawback to
Linux I have found. Of course RPMs/dpms are away around this but lets
omit pre-packaged software.

Paul Kraus
Network Administrator
PEL Supply Company
216.267.5775 Voice
216-267-6176 Fax
www.pelsupply.com

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: File Management
@ 2002-09-19  0:00 Heimo Claasen
  2002-09-19  6:01 ` pa3gcu
  0 siblings, 1 reply; 10+ messages in thread
From: Heimo Claasen @ 2002-09-19  0:00 UTC (permalink / raw)
  To: linux-newbie

This latgest on "uninstall" in this thread is bordering the question I
had earlier on "weeding out" unneeded things.

Uninstalling a program compiled on a machine seems to work like that
indeed.
BTW, I got another command (syntax) told:
   > make clean
   > make distclean
(this from in the dir from which it was installed or rather,
"./configure" was run.)

Next question then is where to find (and delete) obsolete files which
had been installed collaterally (however automatically, package
driven or not) earlier ?

For instance, "ldd <prog-name>" apparently lists a number of files
"referenced" [sic, <g>] by that _one_ program.

But it's clearly a hassle to have this done for _all_ programs in order
to find out those some files the use of which is not shared.  (One of my
fatter, though far from complete installations has almost 60,000
files...)

// Heimo Claasen // <hammer at revobild dot net> // Brussels 2002-09-18
The WebPlace of ReRead - and much to read  ==>  http://www.revobild.net

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: File Management
@ 2002-09-20  0:00 Heimo Claasen
  2002-09-20  6:28 ` Ray Olszewski
  0 siblings, 1 reply; 10+ messages in thread
From: Heimo Claasen @ 2002-09-20  0:00 UTC (permalink / raw)
  To: linux-newbie

Indeed I do/did not really understand the effects of "make clean" and
"make distclean", Richard (this _is_ a newbie list, isn't it?).
Your explanation helps a bit, thanks.

Thus "make distclean" would do the job like "uninstall", if I
understand that right.
And it depends on the individual programs/source-packages which one
would work, right ?

Now, on this other aspect of weeding out things that had been
installed not by (what I would remember as "admin" or rather, root
user) some specific intention or attention with installing/compiling
one specific source "tar(gz)"-pack; but rather of what has been placed
there when a "distroé" more or less automatically had installed say,
"groups" of packages, e.g. "text tools".

Sure the package manager of _that_ distro ould be of help for
uninstalling too. That works simply enopugh with some "evident"
packages - e.g., if you use one mailer and like it, it's evident that
other mailer-packages could go.

That hoever, is different with the (sometimes quite large) "libxxxx"
packages, or some rather "inevident" named things.

Not being a programmer, nor a systems professional, it is not at all
evident, from the (sometimes arcane) short desciptions those package
managing tools offer, to conclude to the package's meaning and
usefulness or even necessity.

"ldd" there, could give a hint - though, oh! sure!, only if all those
"ldd" outputs then are cross-checked. Which is what I meant with "a
hassle", doing exactly that, manually.<bg>

But couldn't there be some kind of "sorting" prog/algorythm (please
take "sorting" as quite large a term) which could do just that ?

There should be, or at least it's thinkable to be do-able, a "listing"
of "non-shared", so to say "singular" files (or even packages), at which
you could then look at more in detail in order to decide if to delete
them or not.

// Heimo Claasen // <hammer at revobild dot net> // Brussels 2002-09-20
The WebPlace of ReRead - and much to read  ==>  http://www.revobild.net

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: File Management
@ 2002-09-26  0:00 Heimo Claasen
  0 siblings, 0 replies; 10+ messages in thread
From: Heimo Claasen @ 2002-09-26  0:00 UTC (permalink / raw)
  To: e.a./CC

Thanks, Steven and others who replied to this thread.

I suspect I have to go with this indeed:
> Your best bet would probably be to just rely on your package manager.
Hmm.

Interesting, nevertheless:
> This initially sounds like a good idea.  In fact, I once went as far as
> actually writing such a script.  Unfortunately, you quite quickly
> hit a problem: ldd doesn't actually report all of the libraries
> used by a particular program.  You've said you're not a programmer, so
> I'll spare you the details, but it is possible for a program to
> specify while it's running that additional libraries should be linked
> in. This is used by most programs which support plug ins, for instance.
> Unfortunately, it isn't possible in general to get a complete list of
> such libraries just by looking at the program in question, and so you
> can't build an accurate list of which libraries are in use.

Which latter condition explains some of the never-ending troubles with
installing (application) programs.

Understandable, sure, that one wouldn't like to re-invent all those
wheels.
Less understandable that there is no (at least, moral) obligation to
"declare" used bits and pieces from somewhere else in a/the "system".
Result is lots of newbie frustration.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-09-26  0:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-18 19:20 File Management Paul Kraus
2002-09-18 19:30 ` pa3gcu
2002-09-18 21:26   ` Edgar Alwers
2002-09-19 13:08   ` Arthur Othieno
2002-09-19 14:39     ` Paul Kraus
  -- strict thread matches above, loose matches on Subject: below --
2002-09-19  0:00 Heimo Claasen
2002-09-19  6:01 ` pa3gcu
2002-09-20  0:00 Heimo Claasen
2002-09-20  6:28 ` Ray Olszewski
2002-09-26  0:00 Heimo Claasen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.