« Hotmailがtracking cookie配布開始 | Main | Willcom,通信カード比較 »

November 12, 2007

Perl moduleはportでインストールしたほうが幸せっぽい

 結構,一生懸命書いても最近の記事は不評でへこんでいる筆者であるが...

 先日,oppai.plの記事でperlのmoduleを入れるのにCPANのインストールなどを紹介したが,CPANでmoduleを入れるとportupgradeが適用されない(ってかmoduleがホールドされているとかほんにゃらかんにゃら)ことが判明し,ちょっと調べてみたらperl moduleもportsで用意されているようなので,そっちでインストールしたほうがいいのではないかという話.
 ってことで話は終わりなのだが,それだけではナニなので,どうやってインストールするかも含めて...
 oppai.plでは,Yahoo::Search,LWP::UserAgent,Digest::MD5,Path::Classと4つのmoduleを使っている.まずはYahoo::Searchを入れよう.
 まず,portの名前がわからないので,FreeBSDのports一覧のページに行こう.Perl5のmoduleは "p5-" ではじまっている(一部の日本語用のものはja-p5-ではじまっている),ブラウザーの検索で幾分下のほうまで行き,p5-の山に当たったら今度はYahooを見て行く.すると次のようなエントリーがある.

p5-Yahoo-Search-1.10.13 -- Perl interface to the Yahoo Search public API

パッケージ名はわかったので,どこにあるか,リンクをクリックして,さらに“詳しい説明”をクリックしよう.すると,
Port description for www/p5-Yahoo-Search

と書いてある.したがってインストールは
> sudo portinstall www/p5-Yahoo-Search

とすればportによるインストールができる.

 以上のようにして,標準で入っていないPerl moduleをportで入れていくほうが,portのアップグレードにあわせて,portupgradeで一括して管理できるのでよいのではないかと思う.もちろんCPANを使ってインストール・アップグレードの管理はできるが,一括で管理できるほうが手間も少なくてよいのではないかと思う.ちなみにCPANとports treeでどちらが最新の情報の反映がはやいのかは不明である(CPANっぽいが...).

|

« Hotmailがtracking cookie配布開始 | Main | Willcom,通信カード比較 »

FreeBSD」カテゴリの記事

Comments

I know this if off topic but I'm looking into starting my own weblog and was curious what all is required to get setup? I'm assuming having a blog like yours would cost a pretty penny? I'm not very web savvy so I'm not 100% sure. Any suggestions or advice would be greatly appreciated. Kudos

Posted by: how to configure best best arris cable modem for comcast | December 24, 2014 at 04:39 PM

What's Happening i am new to this, I stumbled upon this I've found It absolutely useful and it has helped me out loads. I hope to give a contribution & help other users like its helped me. Great job.

Posted by: how to configure best arris tg862g \/ct xfinity arris tg862 | February 14, 2015 at 10:21 PM

We can hack someone's Fb private life for you within a few minutes; your target person will not understand that his GMail account has been revealed.

Posted by: hack a facebook account easy | February 25, 2015 at 03:18 PM

Thanks for one's marvelous posting! I really enjoyed reading it, you can be a great author.I will always bookmark your blog and will often come back at some point. I want to encourage continue your great writing, have a nice day!

Posted by: Free Music Downloads To Burn Cds | February 26, 2015 at 06:42 PM

Thank you for every other informative website. The place else may I get that type of info written in such an ideal way? I have a undertaking that I am just now working on, and I have been on the look out for such information.

Posted by: trei coaie | March 07, 2015 at 04:37 PM

WOW just what I was looking for. Came here by searching for how to configure best best comcast best cable modem for

Posted by: how to configure best cable best how to configure modem | March 11, 2015 at 01:13 AM

First of all I want to say awesome blog! I had a quick question which I'd like to ask if you do not mind. I was interested to know how you center yourself and clear your mind before writing. I have had trouble clearing my thoughts in getting my ideas out there. I do enjoy writing however it just seems like the first 10 to 15 minutes are wasted just trying to figure out how to begin. Any ideas or tips? Cheers!

Posted by: quest bars cheap | March 19, 2015 at 08:12 PM

Hello it's me, I am also visiting this website regularly, this website is truly good and the people are in fact sharing fastidious thoughts.

Posted by: how to configure best comcast how how to connect xbox 360 | March 25, 2015 at 03:30 PM

Hello! Would you mind if I share your blog with my twitter group? There's a lot of folks that I think would really enjoy your content. Please let me know. Many thanks

Posted by: how to configure best comcast how to configure modem h5001 | April 05, 2015 at 12:58 PM

Magnificent goods from you, man. I've consider your stuff previous to and you're just too excellent. I really like what you have acquired here, really like what you're stating and the way by which you assert it. You are making it enjoyable and you still care for to stay it smart. I cant wait to read much more from you. That is really a terrific website.

Posted by: match.com | April 06, 2015 at 12:40 AM

Thanks for every other fantastic post. The place else could anybody get that kind of information in such an ideal means of writing? I have a presentation subsequent week, and I'm on the look for such information.

Posted by: how to configure best best best modem for xbox live | April 14, 2015 at 04:16 PM

Does your site have a contact page? I'm having a tough time locating it but, I'd like to shoot you an e-mail. I've got some ideas for your blog you might be interested in hearing. Either way, great site and I look forward to seeing it grow over time.

Posted by: how to configure best best cable the best modem for xbox | July 13, 2015 at 02:47 PM

Please let me know if you're looking for a article author for your site. You have some really good articles and I think I would be a good asset. If you ever want to take some of the load off, I'd really like to write some material for your blog in exchange for a link back to mine. Please send me an e-mail if interested. Thank you!

Posted by: how to configure adsl best best modem for bsnl broadband | July 25, 2015 at 02:01 PM

Hi there! I could have sworn I've visited this site before but after going through many of the posts I realized it's new to me. Anyhow, I'm certainly happy I came across it and I'll be bookmarking it and checking back regularly!

Posted by: rovine iberostar resorts mexico riviera maya | September 03, 2015 at 01:37 AM

Paragraph writing is also a fun, if you be familiar with after that you can write or else it is difficult to write.

Posted by: how to configure best arris tg862g \/ct tg862 wireless setup | September 04, 2015 at 03:16 AM

I've been exploring for a bit for any high quality articles or weblog posts on this sort of space . Exploring in Yahoo I eventually stumbled upon this site. Reading this information So i am happy to convey that I have an incredibly good uncanny feeling I found out just what I needed. I such a lot indubitably will make certain to don?t disregard this site and give it a glance on a continuing basis.

Posted by: how to configure best best best modem for bsnl broadband | September 07, 2015 at 01:57 AM

You actually make it seem so easy with your presentation but I find this topic to be actually something that I think I would never understand. It seems too complicated and very broad for me. I'm looking forward for your next post, I'll try to get the hang of it!

Posted by: how to configure best best how to configure modem | September 07, 2015 at 03:52 AM

You made some decent points there. I looked on the internet for additional information about the issue and found most individuals will go along with your views on this website.

Posted by: how to configure best cable how to configure modem | September 07, 2015 at 08:55 PM

Piece of writing writing is also a excitement, if you know afterward you can write or else it is difficult to write.

Posted by: how to configure best cable modem for comcast internet | September 08, 2015 at 02:09 PM

Heya i am for the first time here. I came across this board and I find It really helpful & it helped me out a lot. I'm hoping to give one thing back and aid others such as you helped me.

Posted by: how to configure adsl adsl modem for bsnl broadband | September 09, 2015 at 05:24 AM

each time i used to read smaller posts that as well clear their motive, and that is also happening with this paragraph which I am reading at this place.

Posted by: how to configure best cable best best att dsl modem for | September 13, 2015 at 10:12 AM

Post a comment



(Not displayed with comment.)




TrackBack

TrackBack URL for this entry:
http://app.cocolog-nifty.com/t/trackback/37290/17054565

Listed below are links to weblogs that reference Perl moduleはportでインストールしたほうが幸せっぽい:

« Hotmailがtracking cookie配布開始 | Main | Willcom,通信カード比較 »