ppmコマンドを使う。
例えば、
linuxやcygwinでパッケージをインストールする場合
(Net::FTPをインストールすると仮定:Net::FTPは libnetにある)
perl Makefile.PL
make
make install
とするが、
active perlなら
C:\> ppm
と打ち込むと、
PPM - Programmer's Package Manager version 3.1.
Copyright (c) 2001 ActiveState SRL. All Rights Reserved.
Entering interactive shell. Using Term::ReadLine::Stub as readline library.
Type 'help' to get started.
ppm>
のような画面になり、
search libnet
のように、search 〜にすると
ppm> search libnet
Searching in Active Repositories
1. Bundle-libnet [1.00] A bundle to install all libnet related modules
2. Bundle-libnet [1.00] A bundle to install all libnet related modules
3. libnet [1.13] Collection of Network protocol modules
ppm>
パッケージがあるかどうかを確認できる。
あれば
install libnet
と入力すればインストールできる。
http://tuka.s12.xrea.com/index.xcg?p=Perl
— posted by midilin @ 11:08AM
最近のコメント