X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:date:message-id:subject:from:to
	:content-type; q=dns; s=default; b=Ds7aADKI2AMGdkf3UcfwLmt7WZrdj
	p4AeC3FJ9K7DoIX7ZuRdQGGTCIyyGHE2txrc5mU6lOAOgUpzC9F//KROCi5HkCWg
	7beRAM72HlG1cQAQPAK7RmJeSxxRvH+aqFeFRbXViboUcdWO2VtqSP7HKXeUNc7u
	EKxcQGy64+8wi0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:date:message-id:subject:from:to
	:content-type; s=default; bh=JhviaW/d7AedbSTv9C6wWao19XU=; b=YGP
	lpbU1oWyt3M9agmLQMHMa2xloHTygwD4Xf5TOqQ4UuSvjC9aWZfO0wFXf4e874bw
	2ZhIBsTH6yuMTC6noGzkZgQi0D/Kt4sPeySAZ1C1QD0F9GortI976sKraMnY/RZg
	krB/I7Gd0jb3srgkEPSz7miaBOl3vvM6SBJ+YVJg=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_INFOUSMEBIZ,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=downloading, sk:perl-ar, sk:perl-Ar, sk:perlAr
X-HELO: mail-io0-f178.google.com
MIME-Version: 1.0
X-Received: by 10.107.157.16 with SMTP id g16mr5402803ioe.176.1450453376223; Fri, 18 Dec 2015 07:42:56 -0800 (PST)
Date: Fri, 18 Dec 2015 10:42:56 -0500
Message-ID: <CAPsu6Lg4Qq93g_HCmfAz2OL=tMyzFbb=5Ceq16Hc1wFombmxzA@mail.gmail.com>
Subject: Re: Updated: Perl distributions
From: Brian Mathis <brian.mathis@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

On Fri, Dec 18, 2015 at 10:33 AM, Jim Reisert AD1C
<jjreisert@alum.mit.edu> wrote:
> Let's say that I installed one of these modules using "cpan
> install..." instead of downloading from the Cygwin repository:
>
>> perl-Archive-Zip-1.55-1
>> etc.
>
> How can I go about reversing that to use the module from the Cygwin
> repository instead?  Is it as simple as downloading the module from
> the Cygwin repository, or do I need to uninstall the module from my
> Perl installation first?
>
> --
> Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us


There is no easy way to remove modules installed via CPAN.  You can
Google how to do it, but it's mostly manual.  You also need to
consider how to handle dependencies that were pulled in.

To avoid this in the future, only install packages using the package
manager (i.e. cygwin setup), and for anything that's not in there, use
the perl local::lib module to setup a dedicated location for any
additional packages you need.

~ Brian

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

