source: general/prog/perl/perl-modules-inst.xml@ aa6dadf8

10.0 10.1 11.0 6.0 6.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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk v5_1 xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since aa6dadf8 was e1ed593, checked in by Tushar Teredesai <tushar@…>, 18 years ago

misc fixes

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

  • Property mode set to 100644
File size: 1.5 KB
Line 
1<sect2>
2<title>Installation of <application>Perl</application> modules</title>
3
4<para>Install <application>Perl</application> modules by running the following
5commands:</para>
6
7<screen><userinput><command>perl Makefile.PL &amp;&amp;
8make &amp;&amp;
9make install</command></userinput></screen>
10
11<para>Below are modules that require some modifications to standard
12instructions or certain parameters in order to install
13successfully.</para>
14
15<para>Gtk-Perl-&Gtk-Perl-version;:</para>
16
17<screen><userinput><command>perl Makefile.PL --without-guessing &amp;&amp;
18make &amp;&amp;
19make install</command></userinput></screen>
20
21</sect2>
22
23<sect2><title>(Alternate) Auto installation of <application>Perl</application>
24modules.</title>
25
26<para>There is an alternate way of installing the modules using
27<application>Perl</application>'s built-in <command>install</command> command.
28The command automatically downloads the source from the <acronym>CPAN</acronym>
29archive, extracts it, runs the commands mentioned above, and removes
30the build tree. Though note that it is not very <acronym>LFS</acronym>-like
31thing to do and as such is not supported.</para>
32
33<para>Start the perl shell with the commands:</para>
34
35<screen><userinput><command>perl -MCPAN -e shell</command></userinput></screen>
36
37<para>Each module may now be installed from this shell with the command:</para>
38
39<screen><userinput><command>install &lt;moduleName&gt;</command></userinput></screen>
40
41<para>For additional commands and help, type <command>help</command>.</para>
42
43</sect2>
Note: See TracBrowser for help on using the repository browser.