From: Lee Sau Dan <danlee@informatik.uni-freiburg.de>
Subject: Re: Software/HD ecology
Date: 16 Dec 2002 16:59:55 +0100 [thread overview]
Message-ID: <m3el8iar9g.fsf@mika.informatik.uni-freiburg.de> (raw)
In-Reply-To: 121220021324043990%ajanta@no.spam
>>>>> "Ajanta" == Ajanta <ajanta@no.spam> writes:
Ajanta> I wasn't aware of this and will have to look into
Ajanta> it. However, unless a program's creators cooperate, I
Ajanta> can't visualize how stow would prevent a program from
Ajanta> installing files all over the place leaving you with no
Ajanta> way to uninstall?
Why in the first place would the program NEED to install files all
over the place?
Unix is well designed. Most (if not all) GNU programs can be
configured to be installed anywhere (usually defaulted to
/usr/local/foobar) and run off there directly. There is no need to
install files every here and there. That another popular inferior OS
does it doesn't mean Unix has to use the same approach.
To uninstall the application, simply "rm -rf /usr/local/foobar" and
you're done!
You may have PATH or paths to libraries in mind. Unix has an elegant
tool: symbolic links. That other popular inferior OS tried to copy
this feature, but didn't do it properly. Short-cuts simply a broken
way of implementing symlinks. With symlinks, we place a link in
/usr/bin or /usr/local/bin to point to the executables in
/usr/local/foobar. Similarly for libraries. After uninstalling the
program, these symlinks would become dangling and hence unusable. A
simple "find / -lname "/usr/local/foobar/*" |xargs rm -f" would clean
them.
Anyway, nowadays, people almost always use package managers, such as
RPM in RedHat and SuSE. These are software systems to keep track of
installed files. They provide an easy way to uninstall packages,
keeping an eye on the package dependencies.
Ajanta> A practical problem is that except perhaps to an insider
Ajanta> most names are unintuitive. If a file is named emacs-foo
Ajanta> or foo.el you can guess what it is but a name like
Ajanta> zuplibfoo (this is hypothetical, but most unix names have
Ajanta> similar transparency) doesn't tell you which of the
Ajanta> hundreds of packages it might belong to. So you can't even
Ajanta> try to uninstall everything manually.
That explains why the issue you raised out is a non-problem for Unix.
Unix has been supporting long file names for a long time. Unix
programmers tend to use more verbose and descriptive filenames, rather
than thinks like PROGRA~1. So, we normally don't such problems.
Moreover, as mentioned above, we tend to put files of each app into
its own directory and then install symlinks in /usr/bin, instead of
sprinkling files here and there.
--
Lee Sau Dan 李守敦(Big5) ~{@nJX6X~}(HZ)
E-mail: danlee@informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee
next prev parent reply other threads:[~2002-12-16 15:59 UTC|newest]
Thread overview: 166+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <041220020952400758%ajanta@no.spam>
[not found] ` <56cfb0e3.0212041458.5eab182a@posting.google.com>
[not found] ` <x5k7ipl35x.fsf@lola.goethe.zz>
2002-12-06 11:14 ` Mac OSX TeX / To X11 or Not? Ajanta
2002-12-06 10:27 ` Raffael Herzog
2002-12-06 14:28 ` Rodney Sparapani
2002-12-06 14:49 ` Kai Großjohann
2002-12-06 14:52 ` Schone Mullerin
2002-12-06 17:35 ` Andrew Choi
2002-12-06 21:30 ` Emacs 21.3.50 on Mac OSX 10.2.2 Ajanta
2002-12-06 23:07 ` Stefan Monnier <foo@acm.com>
2002-12-07 7:53 ` Ajanta
2002-12-07 14:18 ` Kai Großjohann
2002-12-07 18:53 ` Ajanta
2002-12-07 21:53 ` Kai Großjohann
2002-12-09 19:29 ` Stefan Monnier <foo@acm.com>
2002-12-09 23:49 ` For Andrew Choi/Enrico Franconi: Bug in Emacs 21.3.50 Ajanta
2002-12-09 23:21 ` Andrew Choi
2002-12-10 13:39 ` Stefan Monnier <foo@acm.com>
2002-12-10 18:23 ` Software/HD ecology (was Re:...Bug in Emacs 21.3.50) Ajanta
2002-12-10 17:31 ` Galen Boyer
2002-12-10 17:48 ` Phillip Lord
2002-12-10 17:59 ` Galen Boyer
2002-12-10 18:01 ` Phillip Lord
2002-12-10 21:14 ` Ajanta
2002-12-11 12:56 ` Phillip Lord
[not found] ` <101220021416559254\x04%ajanta@no.spam>
[not found] ` <111220021101520860%ajanta@no.spam>
2002-12-11 18:29 ` Phillip Lord
2002-12-11 19:51 ` Ajanta
2002-12-11 19:41 ` Software/HD ecology Henrik Enberg
2002-12-11 20:41 ` Software/HD ecology (was Re:...Bug in Emacs 21.3.50) Stefan Monnier <foo@acm.com>
2002-12-12 3:51 ` Ajanta
2002-12-12 11:49 ` Software/HD ecology Kai Großjohann
2002-12-12 16:30 ` Bijan Soleymani
2002-12-12 19:43 ` Kai Großjohann
2002-12-12 21:03 ` Anil Trivedi
2002-12-13 9:03 ` Kai Großjohann
2002-12-16 16:09 ` Lee Sau Dan
2002-12-16 20:13 ` Kai Großjohann
2002-12-20 16:02 ` Lee Sau Dan
2002-12-13 16:36 ` Kevin Rodgers
2002-12-13 18:59 ` David Masterson
2002-12-13 19:41 ` Kevin Rodgers
2002-12-13 19:42 ` Anil Trivedi
2002-12-12 23:09 ` David Masterson
2002-12-13 9:05 ` Kai Großjohann
2002-12-13 18:49 ` David Masterson
2002-12-12 20:21 ` Ajanta
2002-12-12 21:16 ` Anil
2002-12-13 8:56 ` Kai Großjohann
2002-12-13 11:24 ` Francis Burton
2002-12-16 16:04 ` Lee Sau Dan
2002-12-16 21:52 ` Ajanta
2002-12-16 21:02 ` Stefan Monnier <foo@acm.com>
2002-12-17 5:55 ` Anil
2002-12-20 15:51 ` Lee Sau Dan
2002-12-17 9:41 ` Kai Großjohann
2002-12-17 17:34 ` Ajanta
2002-12-17 17:55 ` Kai Großjohann
2002-12-17 22:14 ` Rodney Sparapani
2002-12-18 6:22 ` Jonathon Isaac Swiderski
2002-12-18 8:51 ` Kai Großjohann
2002-12-20 15:54 ` Lee Sau Dan
2002-12-20 19:19 ` Kai Großjohann
2002-12-20 19:31 ` Alfred M. Szmidt
2002-12-16 21:59 ` Ajanta
2002-12-17 9:54 ` jdf23
2002-12-20 16:01 ` Lee Sau Dan
2002-12-13 8:54 ` Kai Großjohann
2002-12-13 18:53 ` David Masterson
2002-12-16 15:59 ` Lee Sau Dan [this message]
2002-12-17 18:29 ` Ajanta
2002-12-17 22:24 ` Tribhuvan
2002-12-18 8:32 ` Kai Großjohann
2002-12-19 0:22 ` David Masterson
2002-12-19 14:16 ` Miles Bader
2002-12-19 14:44 ` Fredrik Staxeng
[not found] ` <fstx+u@update.uu.se>
2002-12-19 15:36 ` Peter S Galbraith
[not found] ` <mailman.420.1040313026.19936.help-gnu-emacs@gnu.org>
2002-12-19 16:47 ` Fredrik Staxeng
2002-12-19 21:13 ` David Masterson
2002-12-21 0:17 ` Miles Bader
2002-12-20 22:19 ` Alfred M. Szmidt
2002-12-21 0:13 ` Miles Bader
2002-12-21 12:31 ` Fredrik Staxeng
2002-12-21 23:15 ` Tribhuvan
2002-12-22 2:54 ` Miles Bader
2002-12-22 10:46 ` Fredrik Staxeng
2002-12-23 19:42 ` David Masterson
2002-12-19 21:14 ` David Masterson
2002-12-19 23:38 ` Tribhuvan
2002-12-20 19:06 ` David Masterson
2002-12-20 19:51 ` Tribhuvan
2002-12-20 20:44 ` Tribhuvan
2002-12-20 15:14 ` Kai Großjohann
2002-12-20 15:55 ` Alfred M. Szmidt
[not found] ` <mailman.464.1040400348.19936.help-gnu-emacs@gnu.org>
2002-12-20 19:09 ` David Masterson
2002-12-20 19:27 ` Alfred M. Szmidt
2002-12-21 0:24 ` Miles Bader
2002-12-21 2:32 ` Tribhuvan
2002-12-21 12:50 ` Fredrik Staxeng
2002-12-20 15:41 ` Lee Sau Dan
2002-12-20 18:44 ` Tribhuvan
2002-12-20 15:38 ` Lee Sau Dan
[not found] ` <mailman.343.1040149880.19936.help-gnu-emacs@gnu.org>
2002-12-17 22:33 ` David Masterson
2002-12-17 23:17 ` Tribhuvan
2002-12-18 8:34 ` Kai Großjohann
2002-12-19 0:20 ` David Masterson
2002-12-19 7:47 ` Kai Großjohann
2002-12-20 15:36 ` Lee Sau Dan
2002-12-20 19:01 ` David Masterson
2002-12-20 15:34 ` Lee Sau Dan
2002-12-20 18:58 ` David Masterson
2002-12-24 6:24 ` Luis Fernandes
2002-12-26 18:20 ` David Masterson
2002-12-27 3:14 ` Luis Fernandes
2002-12-27 4:35 ` Miles Bader
[not found] ` <mailman.637.1040963855.19936.help-gnu-emacs@gnu.org>
2002-12-27 12:48 ` Luis Fernandes
2002-12-27 15:39 ` Rodney Sparapani
2002-12-28 2:49 ` Miles Bader
2002-12-28 13:54 ` Luis Fernandes
2002-12-28 14:11 ` Kai Großjohann
2002-12-31 20:08 ` David Masterson
2002-12-27 17:36 ` David Masterson
2002-12-28 1:02 ` Luis Fernandes
2002-12-28 11:07 ` Kai Großjohann
2002-12-28 13:44 ` Peter S Galbraith
2002-12-28 13:49 ` Luis Fernandes
2002-12-31 20:05 ` David Masterson
2002-12-20 15:32 ` Lee Sau Dan
2002-12-20 16:00 ` Alfred M. Szmidt
[not found] ` <ams@kemisten.nu>
2002-12-20 20:00 ` Peter S Galbraith
2002-12-20 20:25 ` Alfred M. Szmidt
2002-12-20 20:34 ` Peter S Galbraith
2002-12-20 21:01 ` Alfred M. Szmidt
[not found] ` <mailman.482.1040418304.19936.help-gnu-emacs@gnu.org>
2002-12-20 21:40 ` David Kastrup
2002-12-20 21:59 ` Alfred M. Szmidt
2002-12-21 0:25 ` Peter S Galbraith
2002-12-21 15:55 ` Alfred M. Szmidt
[not found] ` <mailman.498.1040486166.19936.help-gnu-emacs@gnu.org>
2002-12-21 16:22 ` David Kastrup
[not found] ` <ajanta@no.spam>
2002-12-17 18:29 ` Peter S Galbraith
2002-12-24 0:05 ` Peter S Galbraith
2002-12-12 23:14 ` Ajanta
2002-12-12 23:44 ` David Masterson
2002-12-13 9:11 ` Kai Großjohann
2002-12-12 14:11 ` Software/HD ecology (was Re:...Bug in Emacs 21.3.50) Stefan Monnier <foo@acm.com>
2002-12-12 20:50 ` Ajanta
2002-12-12 20:20 ` Stefan Monnier <foo@acm.com>
2002-12-12 23:02 ` Anil Trivedi
2002-12-13 1:29 ` Miles Bader
2002-12-13 10:12 ` Software/HD ecology Kai Großjohann
[not found] ` <mailman.179.1039743000.19936.help-gnu-emacs@gnu.org>
2002-12-13 19:11 ` Software/HD ecology (was Re:...Bug in Emacs 21.3.50) David Masterson
2002-12-13 19:32 ` Stefan Monnier <foo@acm.com>
2002-12-17 0:33 ` David Masterson
2002-12-12 20:27 ` Galen Boyer
2002-12-12 21:28 ` Anil Trivedi
2002-12-13 1:30 ` Miles Bader
2002-12-11 20:49 ` Software/HD ecology Kai Großjohann
2002-12-12 4:44 ` Anil Trivedi
2002-12-12 4:58 ` Miles Bader
2002-12-12 6:16 ` Eli Zaretskii
2002-12-12 14:50 ` Phillip Lord
2002-12-12 19:40 ` Kai Großjohann
2002-12-12 21:39 ` Anil Trivedi
2002-12-13 1:35 ` Miles Bader
2002-12-12 23:23 ` David Masterson
2002-12-11 21:34 ` Software/HD ecology (was Re:...Bug in Emacs 21.3.50) Bijan Soleymani
2002-12-10 5:23 ` Emacs 21.3.50 on Mac OSX 10.2.2 David Combs
2002-12-10 8:29 ` Ajanta
2002-12-07 8:19 ` Thanks to all (Re: Mac OSX TeX / To X11 or Not?) new2osx
2002-12-07 9:35 ` David Kastrup
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3el8iar9g.fsf@mika.informatik.uni-freiburg.de \
--to=danlee@informatik.uni-freiburg.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).