[plt-scheme] No plt-uninstall script

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Wed Jan 27 14:35:46 EST 2010

Note that for PLT Scheme in particular, if you just don't set a
prefix, then everything is installed into the plt directory tree
(where the "src" dir is, as below) and everything then works fine from
there, and you can move this directory around and it will still work.
You won't have an extra junk in the tree either, as long as you make
your build directory (ie, the directory from whihc you run
"configure") be outside the plt tree. When the build is done, you can
just delete the build dir.

hth.

Robby

On Wed, Jan 27, 2010 at 1:25 PM, Synx <plt at synx.us.to> wrote:
>
> Richard Lewis wrote:
>
>> How can I remove plt-scheme?
>
> I don't know. :/ But...
>
>> I installed plt-scheme 4.2.3 from source using
>>
>> $ src/configure --prefix=/usr/local
>> $ src/make
>> $ sudo src/make install
>
> What you can do in such an emergency is this:
> $ src/make -i install 2>locations.log 1>&2
>
> Then you just look (or grep) through locations.log to find all the
> places it fails to install a file (since it wasn't root), and delete (or
> restore) that file.
>
> ---
>
> What I always do, and I think is a good practice in general, is to
> install each large application (or application suite) in its own
> directory tree, so for instance "--prefix=/var/opt/plt/". Then I make
> /var/opt/plt directory as owned by a normal user:
>
> builder$ sudo mkdir /var/opt/plt
> builder$ sudo chown builder /var/opt/plt
> builder$ src/make install
> builder$ sudo chown root:root -R /var/opt/plt
>
> For most applications that system works great, though it of course fails
> horribly on applications that require root privileges during their
> installation phase, or applications that depend on the SETUID bit. But
> for PLT it works fine. And by installing as a non-privileged user, you
> can ensure the application doesn't delete or overwrite any of your
> existing necessary files.
>
> I just manually go and say
> $ cd /usr/local/bin
> $ sudo ln -s /var/opt/plt/bin/* .
>
> Since they're symbolic links, even if I delete and re-install the plt
> directory it still works to say
> $ mzscheme
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


Posted on the users mailing list.