home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 May / Chip_2000-05_cd1.bin / zkuste / Perl / ActivePerl-5.6.0.613.msi / 䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥 / _09c6a2fbac42c222a7b29b51b1ce3c14 < prev    next >
Text File  |  2000-03-22  |  6KB  |  128 lines

  1. <HTML>
  2.  
  3. <HEAD>
  4. <TITLE>Perl Package Manager</TITLE>
  5. <META name="GENERATOR" charset="iso-8859-1" content="Microsoft FrontPage 4.0">
  6. <META name="ProgId" content="FrontPage.Editor.Document">
  7. <LINK rel="STYLESHEET" href="../Active.css" type="text/css">
  8. </HEAD>
  9.  
  10. <BODY bgcolor="#ffffff">
  11.  
  12. <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
  13.   <TR>
  14.     <TD class="block" valign="MIDDLE" width="100%" bgcolor="#cccccc"><STRONG>
  15.       <P class="block"> PPM</P>
  16.       </STRONG></TD>
  17.   </TR>
  18. </TABLE>
  19. <UL>
  20.   <LI><A href="#what_is_ppm">What is the Perl Package Manager (PPM)?</A>
  21.   <LI><A href="#how_do_i_install_ppm">How do I install PPM?</A>
  22.   <LI><A href="#running_ppm">How do I run PPM?</A>
  23.   <LI><A href="#using_ppm">How do I use PPM?</A>
  24. </UL>
  25. <HR>
  26. <H1><A name="what_is_ppm">What is the Perl Package Manager (PPM)?</A></H1>
  27. <P>The Perl Package Manager (PPM) provides a command line interface for managing Perl modules and
  28. extensions (packages). PPM allows you to access package repositories, install and remove packages
  29. from your system, and update packages you previously installed using PPM with the latest versions.</P>
  30. <HR>
  31. <H1><A name="how_do_i_install_ppm">How do I install PPM?</A></H1>
  32. <P>PPM is installed when you install ActivePerl.</P>
  33. <HR>
  34. <H1><A name="running_ppm">How do I run PPM?</A></H1>
  35. <P>Before you run PPM, you should be connected to the Internet. If your Internet connection is via a
  36. firewall or proxy, you should set the environment variable 'HTTP_proxy' to the name of this proxy
  37. server. If your proxy server requires a username and password, the environment variables 'HTTP_proxy_user'
  38. and 'HTTP_proxy_pass' should be set to these values.</P>
  39. <P>PPM can then be run by typing 'ppm' in a command prompt window.</P>
  40. <HR>
  41. <H1><A name="using_ppm">How do I use PPM?</A></H1>
  42. <P>Quick start: at the PPM command prompt, type '<CODE>search</CODE>' to get a listing of all
  43. available packages, then type '<CODE>install <packagename></CODE>', where <CODE><packagename></CODE>
  44. is the name of a package displayed by the '<CODE>search</CODE>' command. To list the packages you
  45. have previously installed using PPM, use the '<CODE>query</CODE>' command.</P>
  46. <P>If you find the listing of packages scrolls by too quickly, you may want to use the command '<CODE>set
  47. more <number></CODE>' to pause the listing after <number> packages have been displayed.
  48. Use the '<CODE>set save</CODE>' command to save this configuration for future PPM sessions.</P>
  49. <P>By default, PPM will use the ActiveState package repository, but this too can be configured using
  50. the '<CODE>set</CODE>' command.</P>
  51. <P>Below is a listing of key PPM commands (you can type '<CODE>help <command></CODE>' at the
  52. PPM prompt for usage details for a particular <command>). Items in [brackets] are optional.</P>
  53. <TABLE cellpadding="5">
  54.   <TR>
  55.     <TD bgcolor="#454545"><FONT color="#FFFFFF"><B>Command</B></FONT></TD>
  56.     <TD bgcolor="#454545"><FONT color="#FFFFFF"><B>Function</B></FONT></TD>
  57.   </TR>
  58.   <TR>
  59.     <TD bgcolor="#D4F4A0"><B>genconfig</B></TD>
  60.     <TD bgcolor="#E5E4F0">prints a minimal PPM configuration file to STDOUT</TD>
  61.   </TR>
  62.   <TR>
  63.     <TD bgcolor="#D4F4A0"><B>help [command]</B></TD>
  64.     <TD bgcolor="#E5E4F0">lists available commands, or help on 'command'.</TD>
  65.   </TR>
  66.   <TR>
  67.     <TD bgcolor="#D4F4A0"><B>info [package1...]</B></TD>
  68.     <TD bgcolor="#E5E4F0">prints a summary of installed packages.</TD>
  69.   </TR>
  70.   <TR>
  71.     <TD bgcolor="#D4F4A0"><B>install package1 [package2...]</B></TD>
  72.     <TD bgcolor="#E5E4F0">installs specified packages.</TD>
  73.   <TR>
  74.     <TD bgcolor="#D4F4A0"><B>quit</B></TD>
  75.     <TD bgcolor="#E5E4F0">exits the program.</TD>
  76.   <TR>
  77.     <TD bgcolor="#D4F4A0"><B>query [pattern]</B></TD>
  78.     <TD bgcolor="#E5E4F0">lists installed packages, or packages containing <CODE>pattern</CODE>.</TD>
  79.   </TR>
  80.   <TR>
  81.     <TD bgcolor="#D4F4A0"><B>query /abstract [pattern]</B></TD>
  82.     <TD bgcolor="#E5E4F0">lists descriptions of installed packages, or package descriptions
  83.       containing <CODE>pattern</CODE>.</TD>
  84.   </TR>
  85.   <TR>
  86.     <TD bgcolor="#D4F4A0"><B>remove package1 [package2...]</B></TD>
  87.     <TD bgcolor="#E5E4F0">removes the specified packages from the system.</TD>
  88.   </TR>
  89.   <TR>
  90.     <TD bgcolor="#D4F4A0"><B>search [pattern]</B></TD>
  91.     <TD bgcolor="#E5E4F0">lists available packages, or packages containing <CODE>pattern</CODE>.</TD>
  92.   </TR>
  93.   <TR>
  94.     <TD bgcolor="#D4F4A0"><B>search /abstract [pattern]</B></TD>
  95.     <TD bgcolor="#E5E4F0">lists descriptions of available packages, or package descriptions
  96.       containing <CODE>pattern</CODE>.</TD>
  97.   </TR>
  98.   <TR>
  99.     <TD bgcolor="#D4F4A0"><B>set</B></TD>
  100.     <TD bgcolor="#E5E4F0">set/display current options.</TD>
  101.   </TR>
  102.   <TR>
  103.     <TD bgcolor="#D4F4A0"><B>set save</B></TD>
  104.     <TD bgcolor="#E5E4F0">save current options.</TD>
  105.   </TR>
  106.   <TR>
  107.     <TD bgcolor="#D4F4A0"><B>summary [package1...]</B></TD>
  108.     <TD bgcolor="#E5E4F0">prints a summary of available packages.</TD>
  109.   </TR>
  110.   <TR>
  111.     <TD bgcolor="#D4F4A0"><B>verify [package1...]</B></TD>
  112.     <TD bgcolor="#E5E4F0">verifies currently installed packages are up to date.</TD>
  113.   </TR>
  114.   <TR>
  115.     <TD bgcolor="#D4F4A0"><B>verify /upgrade [package1...]</B></TD>
  116.     <TD bgcolor="#E5E4F0">installs available package upgrades.</TD>
  117. </TABLE>
  118. <P> </P>
  119. <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
  120.   <TR>
  121.     <TD class="block" valign="MIDDLE" width="100%" bgcolor="#cccccc"><STRONG>
  122.       <P class="block"> PPM</P>
  123.       </STRONG></TD>
  124.   </TR>
  125. </TABLE>
  126.  
  127. </BODY>
  128.