Perl: Difference between revisions

Jump to navigation Jump to search
107 bytes added ,  6 years ago
no edit summary
No edit summary
No edit summary
Line 28: Line 28:
Would you like me to configure as much as possible automatically? [yes]
Would you like me to configure as much as possible automatically? [yes]
...
...
What approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')
[local::lib]
...
</nowiki>
</nowiki>
}}
}}
Afterwards, use the following commands to change your installation directory:
The <tt>cpan</tt> utility will offer to append a variety of environment variable settings to your .bashrc file, which you should agree to. You can then type the command <tt>quit</tt> at the interface to exit the <tt>cpan</tt> software. Before installing any Perl modules you will need to restart your shell for these new settings to take effect.
{{
Commands
|prompt=>
|o conf mbuildpl_arg "--install_base ~/perl/"
|o conf makepl_arg "PREFIX{{=}}~/perl/"
|o conf commit
|exit
}}
''Note that it is important to quit <tt>cpan</tt> at this stage and to restart it so that the new settings are used.''


=== Package Installation === <!--T:6-->
=== Package Installation === <!--T:6-->
Bureaucrats, cc_docs_admin, cc_staff
2,314

edits

Navigation menu