<?xml version="1.0" encoding="windows-1252"?>
<node id="260683" title="I don't have PPM, how can I install a package?" created="2003-05-25 07:06:08" updated="2005-08-13 19:06:44">
<type id="11">
note</type>
<author id="107642">
PodMaster</author>
<data>
<field name="doctext">
Acquire PPM, or (if you insist), follow these instructions.&lt;P&gt;
First, make sure you're downloading the right package
(one intended for your version of perl),
and then simply download it
(ex: &lt;B&gt;&lt;a href="http://crazyinsomniac.perlmonk.org/perl/ppm/WWW-Curl.tar.gz"&gt;WWW-Curl.tar.gz&lt;/A&gt;&lt;/B&gt;).
&lt;br&gt;
Then, uncompress it so now you have a &lt;B&gt;blib&lt;/B&gt; directory in your current
working directory, and then execute

&lt;PRE&gt;     perl -MExtUtils::Install -e install_default &lt;B&gt;WWW/Curl&lt;/B&gt;&lt;/PRE&gt;

and voila.  It's what PPM basically does.
&lt;p&gt;
&lt;B&gt;BE AWARE&lt;/B&gt; that the .ppd file may contain instructions 
to download extra files needed for install, which
are not packaged with the tarball (like 
&lt;B&gt;&lt;A HREF="http://crazyinsomniac.perlmonk.org/perl/ppm/scripts/libcurl.dll"&gt;libcurl.dll&lt;/A&gt;, libeay32.dll, ssleay32.dll&lt;/B&gt;).
You'll have to examine the .ppd file to make sure.
&lt;p&gt;
If you look at
&lt;B&gt;&lt;a href="http://crazyinsomniac.perlmonk.org/perl/ppm/WWW-Curl.ppd"&gt;WWW-Curl.ppd&lt;/A&gt;&lt;/B&gt;
you'll see a reference to &lt;TT&gt;&lt;B&gt;&lt;a HREF="http://crazyinsomniac.perlmonk.org/perl/ppm/scripts/install_libcurl"&gt;install_libcurl&lt;/a&gt;&lt;/B&gt;&lt;/TT&gt;.
&lt;p&gt;
PPM would download this file and attempt to execute it.&lt;br&gt;
&lt;TT&gt;&lt;B&gt;install_libcurl&lt;/B&gt;&lt;/TT&gt; would check for the existence of specified files in your path,
and prompt you whether to install them if they're not found.
&lt;p&gt;
If you want autogenerated html docs (my packages generally don't include these),
simply execute
&lt;PRE&gt;    perl -MActivePerl::DocTools -e ActivePerl::DocTools::WriteTOC()&lt;/PRE&gt;
or (the one I prefer)
&lt;PRE&gt;    perl -MPod::Master -e Update&lt;/PRE&gt;

You can acquire Pod::Master from perlmonks.org
&lt;a href="http://perlmonks.org/?node=Pod::Master"&gt;here&lt;/a&gt;.



&lt;p&gt;&lt;table border=0 cellpadding=1 cellspacing=0 width="100%"&gt;&lt;tr&gt;&lt;td colspan=2 bgcolor="#FFF0FF"&gt;&lt;small&gt;&lt;font color="black"&gt;&lt;a href="http://perlmonks.org/index.pl?node=MJD"&gt;&lt;b&gt;&lt;font color="#0F0FAA"&gt;MJD&lt;/font&gt;&lt;/b&gt;&lt;/a&gt; &lt;a href="http://www.perl.org/yapc/2002/movies/themovie/"&gt;&lt;b&gt;&lt;font color="#0F0FAA"&gt;says&lt;/font&gt;&lt;/b&gt;&lt;/a&gt; "you &lt;i&gt;can't just make shit up and expect the computer to know what you mean, retardo&lt;/i&gt;&lt;B&gt;!&lt;/B&gt;"&lt;/font&gt;&lt;/small&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=2 bgcolor="#FFE0FF"&gt;&lt;font color="black"&gt;&lt;small&gt;I run a Win32 PPM &lt;a href="http://perlmonks.org/index.pl?node=162391"&gt;&lt;b&gt;&lt;font color="#0F0FAA"&gt;repository&lt;/font&gt;&lt;/b&gt;&lt;/a&gt; for perl &lt;a href="http://crazyinsomniac.perlmonk.org/perl/ppm"&gt;&lt;b&gt;&lt;font color="#0F0FAA"&gt;5.6.x&lt;/font&gt;&lt;/b&gt;&lt;/a&gt; and &lt;a href="http://crazyinsomniac.perlmonk.org/perl/ppm/5.8"&gt;&lt;b&gt;&lt;font color="#0F0FAA"&gt;5.8.x&lt;/font&gt;&lt;/b&gt;&lt;/a&gt; -- I take requests (&lt;a href="http://crazyinsomniac.perlmonk.org/perl/ppm/README.html"&gt;&lt;b&gt;&lt;font color="#0F0FAA"&gt;README&lt;/font&gt;&lt;/b&gt;&lt;/a&gt;).&lt;/font&gt;&lt;/small&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=2 bgcolor="#FFD0FF"&gt;&lt;small&gt;&lt;font color="black"&gt;** The third rule of perl club is a statement of fact: pod is sexy.&lt;/font&gt;&lt;/small&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</field>
<field name="root_node">
128077</field>
<field name="parent_node">
128077</field>
</data>
</node>
