Warning: Table './rommella_rommeldb/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:79:\"Parameter 2 to securepages_link_alter() expected to be a reference, value given\";s:5:\"%file\";s:46:\"/home/rommella/public_html/includes/common.inc\";s:5:\"%line\";i:2892;}', 3, '', 'http://www.rommellaranjo.com/content/how-install-cpanm-centos-linux', '', '50.17.162.174', 1398337016) in /home/rommella/public_html/includes/database.mysqli.inc on line 135

Warning: Table './rommella_rommeldb/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:79:\"Parameter 2 to securepages_link_alter() expected to be a reference, value given\";s:5:\"%file\";s:46:\"/home/rommella/public_html/includes/common.inc\";s:5:\"%line\";i:2892;}', 3, '', 'http://www.rommellaranjo.com/content/how-install-cpanm-centos-linux', '', '50.17.162.174', 1398337016) in /home/rommella/public_html/includes/database.mysqli.inc on line 135

Warning: Table './rommella_rommeldb/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:79:\"Parameter 2 to securepages_link_alter() expected to be a reference, value given\";s:5:\"%file\";s:46:\"/home/rommella/public_html/includes/common.inc\";s:5:\"%line\";i:2892;}', 3, '', 'http://www.rommellaranjo.com/content/how-install-cpanm-centos-linux', '', '50.17.162.174', 1398337016) in /home/rommella/public_html/includes/database.mysqli.inc on line 135
How To Install CPANM in CentOS Linux | Preserved Thoughts

How To Install CPANM in CentOS Linux

The easiest way to install Perl CPAN packages without the hassles of answering "yes" or "no" questions is to use the cpanm script developed by Tatsuhiko Miyagawa.

Installing Perl CPANM program

Run the following command and it will install itself for you. You might want to run it as a root with sudo if you want to install to places like /usr/local/bin.

# curl -L http://cpanmin.us | perl - --self-upgrade

If you don't have curl but wget, replace `curl -L` with `wget -O -`.

For more details about this program, visit http://search.cpan.org/dist/App-cpanminus.

How To Use CPANM

CPANM is very easy to use, just run the following:

# cpanm <Package Name>

For example, you want to install Perl Catalyst::Engine::Apache package just run this command and all required dependencies will be installed automatically for you:

# cpanm Catalyst::Engine::Apache

is that so? care to

is that so?
care to explain?
i'd be curious!
;-D

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.

Warning: Table './rommella_rommeldb/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:363:\"Table &#039;./rommella_rommeldb/accesslog&#039; is marked as crashed and should be repaired\nquery: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values(&#039;How To Install CPANM in CentOS Linux&#039;, &#039;node/44&#039;, &#039;&#039;, &#039;50.17.162.174&#039;, 0, &#039;20c138c5105b8ea08840dae68af703e6&#039;, 1175, 1398337017)\";s:5:\"%file\";s:63:\"/home/rommella/public_html/modules/statistics/statistics.module\";s:5:\"%line\";i:64;}', 3, '', 'http://www.rommellaranjo.com/conten in /home/rommella/public_html/includes/database.mysqli.inc on line 135