Kawaninon.com

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

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

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

$ sudo -H cpanm CAM::PDFPassword:--> Working on CAM::PDF
Fetching http://www.cpan.org/authors/id/C/CD/CDOLAN/CAM-PDF-1.60.tar.gz ... OK
Configuring CAM-PDF-1.60 ... OK
==> Found dependencies: Crypt::RC4, Text::PDF
--> Working on Crypt::RC4
Fetching http://www.cpan.org/authors/id/S/SI/SIFUKURT/Crypt-RC4-2.02.tar.gz ... OK
Configuring Crypt-RC4-2.02 ... OK
Building and testing Crypt-RC4-2.02 ... OK
Successfully installed Crypt-RC4-2.02
--> Working on Text::PDF
Fetching http://www.cpan.org/authors/id/B/BH/BHALLISSY/Text-PDF-0.31.tar.gz ... OK
Configuring Text-PDF-0.31 ... OK
Building and testing Text-PDF-0.31 ... OK
Successfully installed Text-PDF-0.31
Building and testing CAM-PDF-1.60 ... OK
Successfully installed CAM-PDF-1.60
3 distributions installed

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

関連リンク

スポンサーリンク

カテゴリ

フィード

QRコード

QR Code