2010年6月8日

PPMコマンドメモ

最近はGUIに使い慣れてコマンドをすっかり忘れてたので備忘録がてらのメモです。
・PPM はActiveperlでのモジュールインストールコマンド。
・ActivePerl 5.8.8.817. + PPM - Programmer's Package Manager version 3.4.の情報です。
・古い情報です。モダンではありません。

#ヘルプ
ppm> h

#リポジトリ確認・優先順位変更・オンオフ・詳細確認
ppm> rep
Repositories:
[1] tcool
[2] ActiveState Package Repository
ppm> rep up 2
Repositories:
[1] ActiveState Package Repository
[2] tcool
ppm> rep off 2
Repositories:
[1] ActiveState Package Repository
[ ] tcool
ppm> rep on tcool
Repositories:
[1] ActiveState Package Repository
[2] tcool
ppm> rep up 2
Repositories:
[1] tcool
[2] ActiveState Package Repository
ppm> rep des 2
Describing Active Repository 2:
Name: ActiveState Package Repository
Location:
http://ppm.ActiveState.com/PPM/ppmserver-5.8-windows.plex?urn:/PPM/Server/SQL
Type: PPMServer 3.0

#リポジトリ検索
ppm> s catalyst-view-t
Searching in Active Repositories
1. Catalyst-View-Templ~ [0.04] Use Template::Declare with Catalyst
2. Catalyst-View-Templ~ [0.02] generic base class for template-based views
3. Catalyst-View-TT [0.29] Template View Class
4. Catalyst-View-TT-Co~ [0.02] Catalyst TT View with template names relative~
5. Catalyst-View-TT-Fo~ [0.13] (DEPRECATED) Template View Class with utf8 en~
6. Catalyst-View-TT-Fu~ [0.02] Generate functions from ... to be used from a~
7. Catalyst-View-TT-La~ [0.01] Layout TT template processing
※ppm> s catalyst::view::t でも結果同じ

#インストール
ppm> ins Catalyst-Devel
※大文字小文字正しく

#インストール済み検索
ppm> query dbd
Querying target 1 (ActivePerl 5.8.8.817)
1. DBD-SQLite [1.14] Self Contained RDBMS in a DBI Driver

#近況
・無駄に忙しい
・Catalyst(ちょうちょ本)買った。