How-to uninstall Perl

ZIYAD A. M. AL-BATLY zamb at saudi.net.sa
Fri Jun 10 00:27:01 UTC 2005


On Fri, 2005-06-10 at 00:00 +0100, Magnus Therning wrote:
> On Thu, Jun 09, 2005 at 12:46:14PM +0200, Chris Wilson wrote:
> >hi,
> >
> >I compiled Perl from source because dpkg kept giving me the error
> >"Can't locate strict.pm in @INC...." which means Perl is screwed.
> >Don't know how it happened but installing compiling it and installing
> >to /usr/local got everything working ok and I reinstalled the ubuntu
> >version of Perl.
> >
> >Now i want to get rid of the self-compiled version but there is no
> >target for "make uninstall". How do I get rid of the version in
> >/usr/local?
> 
> What else have you installed to /usr/local? It's always an option to
> remove all files :-)
> 
>  $ find /usr/local -type f -exec rm -f {} \;
> 
> /M
> 
find /usr/local -type f -print0 | xargs -0 rm -f

That would be *much* faster and less stressful on the system.

Ziyad.




More information about the ubuntu-users mailing list