|
| cool Statistics |
| | coolcommands: | 1313 | | Categories: | 82 | | Total queries: | 523831 | | Members: | 4281 | |
|
|
|
 |
|
|
Search coolcommands.com
 |
Submitted by:
lvo   |
coolcommand
general steps to install new perl cpan modules |
Description
If you have CPAN.pm installed in your perl distribution, you can automate cpan module installation. Here is how:
Get a perl cpan shell:
# perl -MCPAN -e shell
To search for a module:
cpan> search mod_name
To get the module:
cpan> get mod_name
To download and install the module:
cpan> install mod_name
If you want to install a cpan module manually:
First, you must build the package you just downloaded using "get mod_name":
1) Go into the newly-created directory and type:
# perl Makefile.PL
# make
# make test
2) Now you're ready to install if you have no serious errors. While still in that directory, type:
# make install
Note: These are the general steps. Always read the README to be sure you don't miss anything! |
Example
perl -MCPAN -e shell |
Return to search results
 |  |  |  |
Random coolcommands
coolcommand: dlnkmgr - Hitachi SAN HDLM software
Example: dnlkmgr view -path
[show me the details] |
coolcommand: cfgadm - how to get configuration information in Sun Solaris
Example: cfgadm
[show me the details] |
coolcommand: IBM AIX server temperature
Example: /usr/lpp/diagnostics/bin/uesensor
[show me the details] |
coolcommand: rrdtool - dump a rrdtool (round robin database) database file into xml
Example: rrdtool dump cpu.rrd > cpu.xml
[show me the details] |
|
|
coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts
|  |  |  |  |
|
|
|
|
 |
|
|
|
Top 5 Submitters
|
|---|
| lvo | 1138 |
| audet | 37 |
| kah00na | 32 |
| Mariom | 24 |
| lebjf000 | 13 |
Top 5 Searches
|
| Category Solaris | 42690 |
| Category AIX | 38082 |
| Category General UNIX | 34254 |
| solaris | 20802 |
| aix | 19388 |
|
|
|
|