Kawaninon.com

写真やサンプルプログラムなど、日々の気になった出来事をメモしてる個人的なブログです。

PerlモジュールのPDF::API2をcpanmコマンドでインストール

PerlモジュールのApp::cpanminusを使用して、PDF::API2モジュールをインストールしました。PDFファイルを編集する場面で活躍してくれているモジュールです。

$ sudo -H cpanm PDF::API2Password:--> Working on PDF::API2
Fetching http://www.cpan.org/authors/id/S/SS/SSIMMS/PDF-API2-2.033.tar.gz ... OK
Configuring PDF-API2-2.033 ... OK
==> Found dependencies: Font::TTF, Test::Exception, Test::Memory::Cycle
--> Working on Font::TTF
Fetching http://www.cpan.org/authors/id/B/BH/BHALLISSY/Font-TTF-1.06.tar.gz ... OK
Configuring Font-TTF-1.06 ... OK
==> Found dependencies: IO::String
--> Working on IO::String
Fetching http://www.cpan.org/authors/id/G/GA/GAAS/IO-String-1.08.tar.gz ... OK
Configuring IO-String-1.08 ... OK
Building and testing IO-String-1.08 ... OK
Successfully installed IO-String-1.08
Building and testing Font-TTF-1.06 ... OK
Successfully installed Font-TTF-1.06
--> Working on Test::Exception
Fetching http://www.cpan.org/authors/id/E/EX/EXODIST/Test-Exception-0.43.tar.gz ... OK
Configuring Test-Exception-0.43 ... OK
==> Found dependencies: Sub::Uplevel
--> Working on Sub::Uplevel
Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-0.2800.tar.gz ... OK
Configuring Sub-Uplevel-0.2800 ... OK
Building and testing Sub-Uplevel-0.2800 ... OK
Successfully installed Sub-Uplevel-0.2800
Building and testing Test-Exception-0.43 ... OK
Successfully installed Test-Exception-0.43
--> Working on Test::Memory::Cycle
Fetching http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-1.06.tar.gz ... OK
Configuring Test-Memory-Cycle-1.06 ... OK
==> Found dependencies: Devel::Cycle, PadWalker
--> Working on Devel::Cycle
Fetching http://www.cpan.org/authors/id/L/LD/LDS/Devel-Cycle-1.12.tar.gz ... OK
Configuring Devel-Cycle-1.12 ... OK
Building and testing Devel-Cycle-1.12 ... OK
Successfully installed Devel-Cycle-1.12
--> Working on PadWalker
Fetching http://www.cpan.org/authors/id/R/RO/ROBIN/PadWalker-2.3.tar.gz ... OK
Configuring PadWalker-2.3 ... OK
Building and testing PadWalker-2.3 ... OK
Successfully installed PadWalker-2.3
Building and testing Test-Memory-Cycle-1.06 ... OK
Successfully installed Test-Memory-Cycle-1.06
Building and testing PDF-API2-2.033 ... OK
Successfully installed PDF-API2-2.033
8 distributions installed

ターミナルを起動して、上記のコマンドsudo -H cpanm PDF::API2を入力したらreturnキーを押します。次に、sudoコマンドを実行するのでPasswordを入力したらreturnキーを押します。依存関係のモジュールが同時にインストールされました。

おすすめリンク

関連リンク

スポンサーリンク

カテゴリ

フィード

QRコード

QR Code