<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: How do I find out what perl modules already installed on my system?</title> <atom:link href="http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Karandeep Singh</title><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/#comment-66632</link> <dc:creator>Karandeep Singh</dc:creator> <pubDate>Wed, 11 Jan 2012 09:49:13 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system.php#comment-66632</guid> <description>Thanks all , Its really helpful.</description> <content:encoded><![CDATA[<p>Thanks all , Its really helpful.</p> ]]></content:encoded> </item> <item><title>By: Scott_CN</title><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/#comment-48119</link> <dc:creator>Scott_CN</dc:creator> <pubDate>Tue, 29 Jun 2010 05:33:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system.php#comment-48119</guid> <description>Use this command to check wheter the module is installed or not:
perl -e &#039;use File::Compare; print &quot;ok\n&quot;&#039;</description> <content:encoded><![CDATA[<p>Use this command to check wheter the module is installed or not:<br
/> perl -e &#8216;use File::Compare; print &#8220;ok\n&#8221;&#8216;</p> ]]></content:encoded> </item> <item><title>By: LisPerlati</title><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/#comment-45204</link> <dc:creator>LisPerlati</dc:creator> <pubDate>Thu, 17 Dec 2009 04:01:28 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system.php#comment-45204</guid> <description>Hello All,
None of the above helped me. I tried copy paste but no luck. I probably don&#039;t need to do any of the above.
I just need to find out if Gtk is installed on my system(Mac Leopard), I tried using Gtk in but it can&#039;t find anything called Gtk...please help,
Thanks,
LisPerlati</description> <content:encoded><![CDATA[<p>Hello All,</p><p>None of the above helped me. I tried copy paste but no luck. I probably don&#8217;t need to do any of the above.</p><p>I just need to find out if Gtk is installed on my system(Mac Leopard), I tried using Gtk in but it can&#8217;t find anything called Gtk&#8230;please help,</p><p>Thanks,<br
/> LisPerlati</p> ]]></content:encoded> </item> <item><title>By: AlmostDaly</title><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/#comment-45190</link> <dc:creator>AlmostDaly</dc:creator> <pubDate>Tue, 15 Dec 2009 20:11:08 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system.php#comment-45190</guid> <description>Not assuming... but install it. Why wouldn&#039;t you, its hardly ideal to run these long commands when you can alias a script to list them...</description> <content:encoded><![CDATA[<p>Not assuming&#8230; but install it. Why wouldn&#8217;t you, its hardly ideal to run these long commands when you can alias a script to list them&#8230;</p> ]]></content:encoded> </item> <item><title>By: Rob</title><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/#comment-44659</link> <dc:creator>Rob</dc:creator> <pubDate>Fri, 13 Nov 2009 16:23:58 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system.php#comment-44659</guid> <description>@serguei wrote (11):
&lt;pre&gt;find -L `perl -e &#039;{print join $/, grep {/[^.]/} @INC}’` -name ‘*pm’ 2&gt;/dev/null&lt;/pre&gt;
so I tried it and got an error:
&lt;pre&gt;
&gt;]/usr/bin]&gt;find -L `perl -e &#039;{print join $/, grep {/[^.]/} @INC}` -name *pm 2&gt;/dev/
null
-bash: command substitution: line 1: unexpected EOF while looking for matching `&#039;&#039;
-bash: command substitution: line 2: syntax error: unexpected end of file
&gt;
&lt;/pre&gt;
BUT (9):
&lt;pre&gt;find `perl -e &#039;{print join $/, grep {/[^.]/} @INC}&#039;` -name &#039;*pm&#039; 2&gt;/dev/null&lt;/pre&gt;
works
The -L option at comment (10) doesnt:
find -L `perl -e &#039;{print join $/, grep {/[^.]/} @INC}&#039;` -name &#039;*pm&#039; 2&gt;/dev/null
AlmostDaly wrote (12):
&lt;pre&gt;
use ExtUtils::Installed;
my $Inst = ExtUtils::Installed-&gt;new();
my @Modules = $Inst-&gt;modules();
print &quot;Current List of Installed PERL Modules:\n\n&quot;;
foreach my $mod(@Modules){
print &quot;$mod\n&quot;;
}
&lt;/pre&gt;
That&#039;s fine if you have the ExtUtils CPAN module installed as standard. But can we assume this is always present?</description> <content:encoded><![CDATA[<p>@serguei wrote (11):</p><pre>find -L `perl -e '{print join $/, grep {/[^.]/} @INC}’` -name ‘*pm’ 2&gt;/dev/null</pre><p>so I tried it and got an error:</p><pre>
&gt;]/usr/bin]&gt;find -L `perl -e '{print join $/, grep {/[^.]/} @INC}` -name *pm 2&gt;/dev/
null
-bash: command substitution: line 1: unexpected EOF while looking for matching `''
-bash: command substitution: line 2: syntax error: unexpected end of file
&gt;
</pre><p>BUT (9):</p><pre>find `perl -e '{print join $/, grep {/[^.]/} @INC}'` -name '*pm' 2&gt;/dev/null</pre><p>works</p><p>The -L option at comment (10) doesnt:<br
/> find -L `perl -e &#8216;{print join $/, grep {/[^.]/} @INC}&#8217;` -name &#8216;*pm&#8217; 2&gt;/dev/null</p><p>AlmostDaly wrote (12):</p><pre>
use ExtUtils::Installed;
my $Inst = ExtUtils::Installed-&gt;new();
my @Modules = $Inst-&gt;modules();
print "Current List of Installed PERL Modules:\n\n";
foreach my $mod(@Modules){
print "$mod\n";
}
</pre><p>That&#8217;s fine if you have the ExtUtils CPAN module installed as standard. But can we assume this is always present?</p> ]]></content:encoded> </item> <item><title>By: AlmostDaly</title><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/#comment-44094</link> <dc:creator>AlmostDaly</dc:creator> <pubDate>Wed, 14 Oct 2009 14:13:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system.php#comment-44094</guid> <description>I banged up a quick script to list them when i came across this issue a while back:
&lt;code&gt;
use ExtUtils::Installed;
my $Inst = ExtUtils::Installed-&gt;new();
my @Modules = $Inst-&gt;modules();
print &quot;Current List of Installed PERL Modules:\n\n&quot;;
foreach my $mod(@Modules){
print &quot;$mod\n&quot;;
}
&lt;/code&gt;</description> <content:encoded><![CDATA[<p>I banged up a quick script to list them when i came across this issue a while back:<br
/> <code><br
/> use ExtUtils::Installed;<br
/> my $Inst = ExtUtils::Installed-&gt;new();<br
/> my @Modules = $Inst-&gt;modules();<br
/> print "Current List of Installed PERL Modules:\n\n";<br
/> foreach my $mod(@Modules){<br
/> print "$mod\n";<br
/> }<br
/> </code></p> ]]></content:encoded> </item> <item><title>By: serguei</title><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/#comment-40147</link> <dc:creator>serguei</dc:creator> <pubDate>Thu, 05 Feb 2009 22:37:06 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system.php#comment-40147</guid> <description>sorry, the -L was accidentally missing from my post . It is required for find to raverse symlinks, and Perl 5.8.8. is such
&lt;code&gt;
find -L `perl -e &#039;{print join $/, grep {/[^.]/} @INC}’` -name ‘*pm’ 2&gt;/dev/null
&lt;/code&gt;</description> <content:encoded><![CDATA[<p>sorry, the -L was accidentally missing from my post . It is required for find to raverse symlinks, and Perl 5.8.8. is such<br
/> <code><br
/> find -L `perl -e '{print join $/, grep {/[^.]/} @INC}’` -name ‘*pm’ 2&gt;/dev/null<br
/> </code></p> ]]></content:encoded> </item> <item><title>By: serguei</title><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/#comment-40146</link> <dc:creator>serguei</dc:creator> <pubDate>Thu, 05 Feb 2009 22:35:56 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system.php#comment-40146</guid> <description>to have * all*  modules listed, a minor modification is required:
&lt;code&gt;
find  -L  `perl  -e  &#039;{print join $/, grep {/[^.]/} @INC}&#039;` -name &#039;*pm&#039; 2&gt;/dev/null
&lt;/code&gt;</description> <content:encoded><![CDATA[<p>to have * all*  modules listed, a minor modification is required:<br
/> <code><br
/> find  -L  `perl  -e  '{print join $/, grep {/[^.]/} @INC}'` -name '*pm' 2&gt;/dev/null<br
/> </code></p> ]]></content:encoded> </item> <item><title>By: serguei</title><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/#comment-40145</link> <dc:creator>serguei</dc:creator> <pubDate>Thu, 05 Feb 2009 22:34:56 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system.php#comment-40145</guid> <description>to have * all*  modules listed, a minor modification is required:
&lt;code&gt;
find  `perl  -e  &#039;{print join $/, grep {/[^.]/} @INC}&#039;` -name &#039;*pm&#039; 2&gt;/dev/null
&lt;/code&gt;</description> <content:encoded><![CDATA[<p>to have * all*  modules listed, a minor modification is required:<br
/> <code><br
/> find  `perl  -e  '{print join $/, grep {/[^.]/} @INC}'` -name '*pm' 2&gt;/dev/null<br
/> </code></p> ]]></content:encoded> </item> <item><title>By: Ryan</title><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/#comment-40112</link> <dc:creator>Ryan</dc:creator> <pubDate>Tue, 03 Feb 2009 16:53:01 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system.php#comment-40112</guid> <description>Or better yet:
&lt;code&gt;find `perl -e &#039;print &quot;@INC&quot;&#039;` -name &#039;*.pm&#039; -print &#124; tee ~/Perl-modules-installed.txt&lt;/code&gt;
(Hopefully the above appears in a more copy and paste friendly format)</description> <content:encoded><![CDATA[<p>Or better yet:<br
/> <code>find `perl -e 'print "@INC"'` -name '*.pm' -print | tee ~/Perl-modules-installed.txt</code></p><p>(Hopefully the above appears in a more copy and paste friendly format)</p> ]]></content:encoded> </item> <item><title>By: Oscar the Grouch</title><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/#comment-40019</link> <dc:creator>Oscar the Grouch</dc:creator> <pubDate>Tue, 27 Jan 2009 19:48:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system.php#comment-40019</guid> <description>above poster is a noob:
find `perl -e &#039;print &quot;@INC&quot;&#039;` -name &#039;*.pm&#039; -print &#124; tee ~/Perl-modules-installed.txt</description> <content:encoded><![CDATA[<p>above poster is a noob:</p><p>find `perl -e &#8216;print &#8220;@INC&#8221;&#8216;` -name &#8216;*.pm&#8217; -print | tee ~/Perl-modules-installed.txt</p> ]]></content:encoded> </item> <item><title>By: Ashok1729</title><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/#comment-39830</link> <dc:creator>Ashok1729</dc:creator> <pubDate>Wed, 14 Jan 2009 09:17:18 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system.php#comment-39830</guid> <description>syntax error at -e line 1, near &quot;.&quot;
Execution of -e aborted due to compilation errors.
find: path-list predicate-list</description> <content:encoded><![CDATA[<p>syntax error at -e line 1, near &#8220;.&#8221;<br
/> Execution of -e aborted due to compilation errors.<br
/> find: path-list predicate-list</p> ]]></content:encoded> </item> <item><title>By: Ashok1729</title><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/#comment-39829</link> <dc:creator>Ashok1729</dc:creator> <pubDate>Wed, 14 Jan 2009 09:16:49 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system.php#comment-39829</guid> <description>Hi Friend,
syntax error at -e line 1, near &quot;.&quot;
Execution of -e aborted due to compilation errors.
find: path-list predicate-list
Pls update.           Ashok1729  :-)(    Don&#039;t give ur knowledge to others, just share it.</description> <content:encoded><![CDATA[<p>Hi Friend,</p><p>syntax error at -e line 1, near &#8220;.&#8221;<br
/> Execution of -e aborted due to compilation errors.<br
/> find: path-list predicate-list</p><p>Pls update.           Ashok1729  :-)(    Don&#8217;t give ur knowledge to others, just share it.</p> ]]></content:encoded> </item> <item><title>By: Shyam</title><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/#comment-39812</link> <dc:creator>Shyam</dc:creator> <pubDate>Mon, 12 Jan 2009 23:43:52 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system.php#comment-39812</guid> <description>Use the following command on Unix/Linux to find Perl moduls installed
on your system:
find `perl -e &#039;print &quot;@INC&quot;&#039; ` -name &#039;*.pm&#039; -print &gt; all_modsOnSys</description> <content:encoded><![CDATA[<p>Use the following command on Unix/Linux to find Perl moduls installed<br
/> on your system:</p><p>find `perl -e &#8216;print &#8220;@INC&#8221;&#8216; ` -name &#8216;*.pm&#8217; -print &gt; all_modsOnSys</p> ]]></content:encoded> </item> <item><title>By: Amit</title><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/#comment-39495</link> <dc:creator>Amit</dc:creator> <pubDate>Wed, 17 Dec 2008 09:23:23 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system.php#comment-39495</guid> <description>Thnx</description> <content:encoded><![CDATA[<p>Thnx</p> ]]></content:encoded> </item> <item><title>By: Pi3cH</title><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/#comment-12091</link> <dc:creator>Pi3cH</dc:creator> <pubDate>Sat, 03 Mar 2007 13:43:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system.php#comment-12091</guid> <description>Thanks, it&#039;s useful for me too.
enter
m Perl
then enter an f
to see details of perl packages.</description> <content:encoded><![CDATA[<p>Thanks, it&#8217;s useful for me too.<br
/> enter<br
/> m Perl<br
/> then enter an f<br
/> to see details of perl packages.</p> ]]></content:encoded> </item> <item><title>By: z0idberg</title><link>http://www.cyberciti.biz/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system/#comment-10678</link> <dc:creator>z0idberg</dc:creator> <pubDate>Wed, 21 Feb 2007 14:49:08 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-find-out-what-perl-modules-already-installed-on-my-system.php#comment-10678</guid> <description>Thanks, helpful tool.
While looking for how to do this I also came across this as an option:
$ perldoc perllocal
Will print out all your installed modules as well as when they were installed and where as well as a couple of other bits of info. You can direct the output to a file as well which is handy.</description> <content:encoded><![CDATA[<p>Thanks, helpful tool.</p><p>While looking for how to do this I also came across this as an option:</p><p>$ perldoc perllocal</p><p>Will print out all your installed modules as well as when they were installed and where as well as a couple of other bits of info. You can direct the output to a file as well which is handy.</p> ]]></content:encoded> </item> </channel> </rss>
