[racket] Uninstalling Racket
Two minutes ago, Eli Barzilay wrote:
> 5 hours ago, Neil Van Dyke wrote:
> >
> > One way to make uninstalling installs from source easy, and to get
> > an additional benefit, is to use the "--prefix" option to
> > "configure" to put a Racket installation into its own directory
> > tree.
>
> A far easier way (for unix platforms) is to *not* use `--prefix'.
> This gets the tree to compile in-place, which you can then move to
> any place in the file system, and when you want to uninstall it you
> can just `rm -rf' the whole thing.
And BTW, this is only for building from source.
When installing, you can choose the same single-directory
"installation" which creates a single (freely movable, and easily
removable) directory, or a unix-style installation that tries to
follow the FHS. The latter puts files in the right places, and also
generates an uninstaller script that cleans everything up.
Because of these two things, there is generally no need for providing
a `make uninstall': most people compile source in place, or use the
installers. ("No need" other than making the makefile have more
common targets.)
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!