{"id":510,"date":"2010-02-02T11:24:33","date_gmt":"2010-02-02T02:24:33","guid":{"rendered":"http:\/\/www.lancard.com\/blog\/?p=510"},"modified":"2025-03-12T11:32:11","modified_gmt":"2025-03-12T02:32:11","slug":"%e3%83%a1%e3%83%a2%ef%bc%9acentos-5-5-%e3%81%a7-perlbrew-cpanminus","status":"publish","type":"post","link":"https:\/\/www.lancard.com\/blog\/2010\/02\/02\/%e3%83%a1%e3%83%a2%ef%bc%9acentos-5-5-%e3%81%a7-perlbrew-cpanminus\/","title":{"rendered":"\u30e1\u30e2\uff1aCentOS 5.5 \u3067 perlbrew + cpanminus"},"content":{"rendered":"<p>\u30e6\u30fc\u30b6\u30fc\u306e\u30db\u30fc\u30e0\u306b\u5168\u90e8\u5165\u308b\u306e\u3067\u5f71\u97ff\u7bc4\u56f2\u3092\u9650\u5b9a\u3067\u304d\u3066\u3046\u308c\u3057\u3044\u3002<br \/>\nOS\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u304b\u3042\u307e\u308a\u95a2\u4fc2\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u8a66\u3057\u305f\u74b0\u5883\u304c CentOS 5.5 \u306a\u306e\u3067\u3002<\/p>\n<p>\u307e\u305a\u306f perlbrew \u304b\u3089\u3002<\/p>\n<p>\u30db\u30fc\u30e0\u306b\u79fb\u52d5\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7528\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u3063\u3066\u304d\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b9f\u884c\u3002<\/p>\n<pre lang=\"Bash\" line=\"1\">\n$ cd\n$ wget http:\/\/xrl.us\/perlbrew\n$ chmod +x perlbrew \n$ .\/perlbrew install\n<\/pre>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7528\u30d5\u30a1\u30a4\u30eb\u524a\u9664\u3002\u30a4\u30cb\u30b7\u30e3\u30e9\u30a4\u30ba\u3092\u5b9f\u884c\u3002<\/p>\n<pre lang=\"Bash\" line=\"1\">\n$ rm perlbrew \n$ perl5\/perlbrew\/bin\/perlbrew init\n<\/pre>\n<p>\u7528\u610f\u3055\u308c\u305f\u8a2d\u5b9a\u3092\u8aad\u307f\u8fbc\u3080\u3088\u3046\u306b .bashrc \u306b\u8ffd\u52a0\u3002<\/p>\n<pre lang=\"Bash\" line=\"1\">\n$ echo \"source $HOME\/perl5\/perlbrew\/etc\/bashrc\" >> ~\/.bashrc\n$ source .bashrc \n<\/pre>\n<p>perlbrew\u3067 perl 5.8.9 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f perl 5.8.9  \u306b\u5207\u308a\u66ff\u3048\u3002<\/p>\n<pre lang=\"Bash\" line=\"1\">\n$ perlbrew install perl-5.8.9\n$ perlbrew switch perl-5.8.9\n<\/pre>\n<p>\u78ba\u8a8d\u3002\u4f7f\u7528\u3059\u308b\u3082\u306e\u306b(*)\u304c\u3064\u304f\uff08\u30a2\u30ab\u30a6\u30f3\u30c8apache\u3067\u3084\u3063\u3066\u307e\u3059\uff09\u3002<\/p>\n<pre lang=\"Bash\" line=\"1\">\n$ perlbrew installed\nperl-5.8.9(*)\n\/home\/apache\/perl5\/perlbrew\/perls\/current\/bin\/perl\n\/usr\/bin\/perl\n<\/pre>\n<p>\u6b21\u306b cpanminus \u3002<\/p>\n<p>\u30db\u30fc\u30e0\u306b bin \u304c\u306a\u304b\u3063\u305f\u3093\u3067\u6398\u3063\u3066\u79fb\u52d5\u3002<\/p>\n<pre lang=\"Bash\" line=\"1\">\n$ mkdir ~\/bin\n$ cd ~\/bin\n<\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u3063\u3066\u304d\u3066\u5b9f\u884c\u6a29\u9650\u4ed8\u3051\u308b\u3002<\/p>\n<pre lang=\"Bash\" line=\"1\">\n$ wget http:\/\/xrl.us\/cpanm\n$ chmod +x cpanm \n<\/pre>\n<p>\u4ee5\u4e0a\u3002\u3042\u3089\u7c21\u5358\u3002<br \/>\n<em>\u203b\u3053\u306e\u65b9\u6cd5\u3060\u3068\u5f8c\u3067\u4e0d\u4fbf\u304c\u3042\u308a\u307e\u3059\u3002\u30b3\u30e1\u30f3\u30c8\u3067\u3054\u52a9\u8a00\u3044\u305f\u3060\u3044\u3066\u3044\u307e\u3059\u306e\u3067\u3054\u53c2\u7167\u4e0b\u3055\u3044\u3002<br \/>\n<\/em><br \/>\n\u3061\u307e\u305f\u3067\u5642\u306e cpan-outdated + cpanminus \u3067\u306e\u5168\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3082\u3084\u3063\u3068\u304d\u307e\u3059\u3002<\/p>\n<p>cpan-outdated \u5165\u308c\u308b\u3002<\/p>\n<pre lang=\"Bash\" line=\"1\">\n$ cpanm App::cpanoutdated\n<\/pre>\n<p>cpan-outdated \u306f\u53e4\u304f\u306a\u3063\u305f\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4e00\u89a7\u8fd4\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u3059\u304c\u3001<\/p>\n<pre lang=\"Bash\" line=\"1\">\n$ cpan-outdated | cpanm \n<\/pre>\n<p>\u3068 cpanminus \u306b\u98df\u308f\u305b\u308b\u3068\u53e4\u304f\u306a\u3063\u305f\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u5168\u90e8\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u304f\u308c\u308b\u3002\u7d20\u6575\uff01<\/p>\n<a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-facebook nolightbox\" data-provider=\"facebook\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Facebook\" href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F510&#038;t=%E3%83%A1%E3%83%A2%EF%BC%9ACentOS%205.5%20%E3%81%A7%20perlbrew%20%2B%20cpanminus&#038;s=100&#038;p&#091;url&#093;=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F510&#038;p&#091;images&#093;&#091;0&#093;=&#038;p&#091;title&#093;=%E3%83%A1%E3%83%A2%EF%BC%9ACentOS%205.5%20%E3%81%A7%20perlbrew%20%2B%20cpanminus\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"Facebook\" title=\"Share on Facebook\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/facebook.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-twitter nolightbox\" data-provider=\"twitter\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Twitter\" href=\"http:\/\/twitter.com\/share?url=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F510&#038;text=%E3%83%A1%E3%83%A2%EF%BC%9ACentOS%205.5%20%E3%81%A7%20perlbrew%20%2B%20cpanminus\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"twitter\" title=\"Share on Twitter\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/twitter.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-linkedin nolightbox\" data-provider=\"linkedin\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Linkedin\" href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F510&#038;title=%E3%83%A1%E3%83%A2%EF%BC%9ACentOS%205.5%20%E3%81%A7%20perlbrew%20%2B%20cpanminus\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"linkedin\" title=\"Share on Linkedin\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/linkedin.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-tumblr nolightbox\" data-provider=\"tumblr\" target=\"_blank\" rel=\"nofollow\" title=\"Share on tumblr\" href=\"https:\/\/tumblr.com\/share?s=&#038;v=3&#038;t=%E3%83%A1%E3%83%A2%EF%BC%9ACentOS%205.5%20%E3%81%A7%20perlbrew%20%2B%20cpanminus&#038;u=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F510\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"tumblr\" title=\"Share on tumblr\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/tumblr.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-mail nolightbox\" data-provider=\"mail\" rel=\"nofollow\" title=\"Share by email\" href=\"mailto:?subject=%E3%83%A1%E3%83%A2%EF%BC%9ACentOS%205.5%20%E3%81%A7%20perlbrew%20%2B%20cpanminus&#038;body=%E3%82%B7%E3%82%A7%E3%82%A2%E3%81%99%E3%82%8B%EF%BC%9A:%20https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F510\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"mail\" title=\"Share by email\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/mail.png\" \/><\/a>","protected":false},"excerpt":{"rendered":"<p>\u30e6\u30fc\u30b6\u30fc\u306e\u30db\u30fc\u30e0\u306b\u5168\u90e8\u5165\u308b\u306e\u3067\u5f71\u97ff\u7bc4\u56f2\u3092\u9650\u5b9a\u3067\u304d\u3066\u3046\u308c\u3057\u3044\u3002 OS\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u304b\u3042\u307e\u308a\u95a2\u4fc2\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u8a66\u3057\u305f\u74b0\u5883\u304c CentOS 5.5 \u306a\u306e\u3067\u3002 \u307e\u305a\u306f perlbrew \u304b\u3089\u3002 \u30db\u30fc\u30e0\u306b\u79fb\u52d5\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7528\u306e\u30d5\u30a1 [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[136,43,42],"class_list":["post-510","post","type-post","status-publish","format-standard","hentry","category-1","tag-centos","tag-cpanminus","tag-perlbrew"],"_links":{"self":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/comments?post=510"}],"version-history":[{"count":14,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/510\/revisions"}],"predecessor-version":[{"id":4760,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/510\/revisions\/4760"}],"wp:attachment":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/media?parent=510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/categories?post=510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/tags?post=510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}