[newbie]Howto uninstall a package? How to extend a Class?

Ingo Hohmann iho at gmx.de
Mon Dec 13 16:13:05 UTC 2004


jigme wrote:
> Hi,
> 
> How to uninstall a package installed by using SM? I find I just need
> one of the completion enhancing packages but I've installed two.

Not easy to answer, as it depends on the type it is in, in short, if it
comes as a sar, cs, or st file. You can do it by hand (if you really
like to).

Now, you are lucky, the last versions of both completion packages come
in mcz format, so they _can_ be uninstalled. To do this you will have to
install monticello from squeakmap. Then open the world menu (by clicking
at the squeak desktop), go to "open" and open "MonticelloBrowser". Then
right click (or maybe middle click, depending on your setup) on the
completion package you want to get rid of, and choose unload package.

Well, it _should_ work.

> How to extend a class in my namespace and let the original class and
> the rest of the system unchanged and even not knowing any changes?

You don't. Right now this is not possible. What you could do is subclass
the class in question, so that only your own classes use the newly
subclassed versions.


I hope that helps,

Ingo





More information about the Squeak-dev mailing list