Changeset dbaa33d


Ignore:
Timestamp:
04/22/2006 09:12:34 PM (18 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
1e2e591
Parents:
7112a9d
Message:

Modified the method of using cpan in the Perl Modules instructions, thanks to William Zhou for the suggestion

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5911 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/prog/perl-modules.xml

    r7112a9d rdbaa33d  
    12241224    <title>(Alternate) Auto Installation of Perl Modules.</title>
    12251225
    1226     <para>There is an alternate way of installing the modules using
    1227     <application>Perl</application>'s built-in <command>install</command>
    1228     command. The command automatically downloads the source from the CPAN
    1229     archive, extracts it, runs the commands mentioned above, and removes the
    1230     build source tree. You may still need to install dependent library
    1231     packages before running the automated installation method.</para>
    1232 
    1233     <para>The first time you run this command, you'll be prompted to enter some
    1234     information regarding download locations and methods. This information is
    1235     retained in files located in <filename class='directory'>~/.cpan</filename>.
    1236     Start the perl shell with the following command as the
    1237     <systemitem class="username">root</systemitem> user:</para>
    1238 
    1239 <screen role="root"><userinput>perl -MCPAN -e shell</userinput></screen>
    1240 
    1241     <para>Each module may now be installed from this shell with the
    1242     command:</para>
     1226    <para>There is an alternate way of installing the modules using the
     1227    <command>cpan</command> shell <command>install</command> command. The
     1228    command automatically downloads the source from the CPAN archive, extracts
     1229    it, runs the compilation, testing and installation commands mentioned
     1230    above, and removes the build source tree. You may still need to install
     1231    dependent library packages before running the automated installation
     1232    method.</para>
     1233
     1234    <para>The first time you run <command>cpan</command>, you'll be prompted
     1235    to enter some information regarding download locations and methods. This
     1236    information is retained in files located in
     1237    <filename class='directory'>~/.cpan</filename>. Start the
     1238    <command>cpan</command> shell by issuing '<command>cpan</command>' as the
     1239    <systemitem class="username">root</systemitem> user. Any module may now be
     1240    installed from the
     1241    <emphasis role='underlined'><prompt>cpan&gt;&nbsp;</prompt></emphasis>
     1242    prompt with the command:</para>
    12431243
    12441244<screen role="root"><userinput>install <replaceable>&lt;Module::Name&gt;</replaceable></userinput></screen>
    12451245
    1246     <para>For additional commands and help, type <command>help</command>.</para>
     1246    <para>For additional commands and help, issue '<command>help</command>'
     1247    from the
     1248    <emphasis role='underlined'><prompt>cpan&gt;&nbsp;</prompt></emphasis>
     1249    prompt.</para>
    12471250
    12481251    <para>Alternatively, for scripted or non-interactive installations, use the
    12491252    following syntax as the
    1250     <systemitem class="username">root</systemitem> user:</para>
    1251 
    1252 <screen role="root"><userinput>perl -MCPAN -e 'install <replaceable>&lt;Module::Name&gt;</replaceable>'</userinput></screen>
     1253    <systemitem class="username">root</systemitem> user to install one or more
     1254    modules:</para>
     1255
     1256<screen role="root"><userinput>cpan -i <replaceable>&lt;Module1::Name&gt; &lt;Module2::Name&gt;</replaceable></userinput></screen>
     1257
     1258    <para>Review the <filename>cpan.1</filename> man page for additional
     1259    parameters you can pass to <command>cpan</command> on the command
     1260    line.</para>
    12531261
    12541262  </sect2>
  • introduction/welcome/changelog.xml

    r7112a9d rdbaa33d  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[randy] - Modified the method of using cpan in the Perl
     49          Modules instructions, thanks to William Zhou for the
     50          suggestion.</para>
     51        </listitem>
     52        <listitem>
    4853          <para>[bdubbs] - Updated to iptables-1.3.5.</para>
    4954        </listitem>
  • stylesheets/blfs.css

    r7112a9d rdbaa33d  
    448448  background-color: #f0fff0;
    449449}
     450
     451.underlined {
     452  text-decoration: underline;
     453}
Note: See TracChangeset for help on using the changeset viewer.