How To Install Plastic Plumdomain_7 Pipe
How to install CPAN modules
Here are some recommended approaches to installing modules from CPAN, equally with much of Perl there are several alternatives.
Some nuts
Most Perl modules are written in Perl, some employ XS (they are written in C) so require a C compiler (information technology'southward easy to get this setup - don't panic), meet your Os of choice below to find out how to get the right compiler. Modules may have dependencies on other modules (almost always on CPAN) and cannot be installed without them (or without a specific version of them). It is worth throughly reading the documentation for the options beneath. Many modules on CPAN require a somewhat contempo version of Perl (version v.8 or in a higher place).
Quick start
Install cpanm to brand installing other modules easier (you lot'll thank us later). You need to blazon these commands into a Terminal emulator (Mac OS Ten, Win32, Linux)
cpan App::cpanminus
Now install any module you tin detect.
cpanm Module::Name
Tools
To help you install and manage your modules:
local::lib enables you to install modules into a specified directory, without requiring root or administrator access. Run across the bootstrapping technique for how to get started. You tin create a directory per user/projection/company and deploy to other servers, by copying the directory (every bit long every bit you are on the aforementioned operating system and perl version).
cpanm from App::cpanminus is a script to get, unpack, build and install modules from CPAN. It's dependency free (can bootstrap itself) and requires nix configuration (install instructions). It automates the entire build process for the majority of modules on CPAN and works well with local::lib and perlbrew. Many experienced Perl developers use this every bit their tool of option. Related tools: cpan-outdated, pm-uninstall, cpan-listchanges.
perlbrew from App::perlbrew is useful if your system perl is also old to support modern CPAN modules, or if it'south troublesome in other capacities (RedHat/CentOS are included in this listing). perlbrew makes the process of installing a Perl in whatsoever directory much easier, so that you lot tin work completely independently of any system Perl without needing root or ambassador privileges. Yous can use multiple versions of Perl (maybe as you upgrade) beyond different projects. The separation from your system Perl makes server maintenance much easier and you more confident virtually how your project is setup. Currently Windows is non supported.
cpan from CPAN has been distributed with Perl since 1997 (5.004). It has many more options than cpanm, it is likewise much more verbose.
cpanp from CPANPLUS had been distributed with Perl since 5.10 (2007) until v.xx (2014). This offers even more options than cpanm or cpan and can exist installed just like cpanminus.
Perl on Windows (Win32 and Win64)
Strawberry Perl is an open source binary distribution of Perl for the Windows operating system. It includes a compiler and pre-installed modules that offer the ability to install XS CPAN modules directly from CPAN. Information technology likewise comes with lots of modules pre-installed, including cpanm.
ActiveState provide a binary distribution of Perl (for many platforms), as well every bit their own perl package manager (ppm). Some modules are not available as ppm's or have reported errors on the ppm build system, this does non mean they practice not work. You lot can utilize the cpan script to build modules from CPAN confronting ActiveState Perl.
Perl on Mac OSX
OSX comes with Perl pre-installed. in society to build and install your ain modules you will need to install the "Command Line Tools for XCode" or "XCode" package - details on our ports page. Once you accept done this you can use all of the tools mentioned above.
Perl on other Unix like OSs
Install 'make' through your package managing director. You lot tin and then utilize all of the tools mentioned above.
Other tools
CPAN::Mini can provide y'all with a minimal mirror of CPAN (just the latest version of all modules). This makes working offline like shooting fish in a barrel.
CPAN::Mini::Inject allows y'all to add your own modules to your local CPAN::Mini mirror of CPAN. So you tin install and deploy your ain modules through the same tools you use for CPAN modules.
Which modules should I use?
Chore::Kensho lists suggested best practise modules for a broad range of tasks. https://metacpan.org/ will let you search CPAN. You could also get involved with the community, inquire on a mailing list or find your nearest Perl Mongers group.
Yours Eclectically, The Self-Appointed Main Librarians (OOK!) of the CPAN.
© 1995-2010 Jarkko Hietaniemi. © 2022-2017 Perl.org. All rights reserved. Disclaimer.
Primary mirror hosted by
and
Source: https://www.cpan.org/modules/INSTALL.html
Posted by: robersoninupoppeired.blogspot.com

0 Response to "How To Install Plastic Plumdomain_7 Pipe"
Post a Comment