How-to uninstall Perl

Magnus Therning magnus at
Fri Jun 10 06:45:45 UTC 2005

On Fri, Jun 10, 2005 at 03:27:01AM +0300, ZIYAD A. M. AL-BATLY wrote:
>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 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.

Personally I don't think the speed and reduced stress is the main
advantage of your suggestion. I mean, he'll be running it only once so
who cares?

No, what I really like about your suggestion is the ".. -print0|.. -0 .."
since that means that file with names containing spaces (and other
'special' characters) will be handled properly. Thanks for the


Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus at

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Increasingly, people seem to misinterpret complexity as sophistication,
which is baffling--the incomprehensible should cause suspicion rather than
     -- Niklaus Wirth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the ubuntu-users mailing list