aptitude のヘルプを表示すると最後に……
$ aptitude help
aptitude 0.6.3
使用方法: aptitude [-S ファイル名] [-u|-i]
aptitude [オプション]<アクション> ...
アクション (指定がない場合、Aptitude はインタラクティブモードで起動します):
install - Install/upgrade packages.
remove - Remove packages.
purge - Remove packages and their configuration files.
hold - Place packages on hold.
unhold - Cancel a hold command for a package.
markauto - Mark packages as having been automatically installed.
unmarkauto - Mark packages as having been manually installed.
forbid-version - aptitude に特定のパッケージバージョンの更新を禁止させます
update - Download lists of new/upgradable packages.
safe-upgrade - Perform a safe upgrade.
full-upgrade - Perform an upgrade, possibly installing and removing packages.
build-dep - Install the build-dependencies of packages.
forget-new - Forget what packages are "new".
search - Search for a package by name and/or expression.
show - Display detailed information about a package.
clean - Erase downloaded package files.
autoclean - Erase old downloaded package files.
changelog - View a package's changelog.
download - Download the .deb file for a package.
reinstall - Download and (possibly) reinstall a currently installed package.
why - 指定されたパッケージについて、手動でインストールされたパッケー
ジのうちどれが必要としているのか、あるいはまだインストールされ
ていないパッケージがインストールされたときに何故必要となるのか、
といった説明を表示します
why-not - Show the manually installed packages that lead to a conflict
with the given package, or why one or more packages would
lead to a conflict with the given package if installed.
オプション:
-h This help text.
--no-gui Do not use the GTK GUI even if available.
-s アクションのシミュレートのみ行い、実際には実行しません。
-d パッケージのダウンロードのみ行い、インストールや削除は行い
ません。
-P Always prompt for confirmation or actions.
-y Assume that the answer to simple yes/no questions is 'yes'.
-F format Specify a format for displaying search results; see the manual.
-O order Specify how search results should be sorted; see the manual.
-w width Specify the display width for formatting search results.
-f 依存関係が壊れたパッケージを積極的に修復しようとします。
-V パッケージのどのバージョンがインストールされるかを表示しま
す。
-D 自動的に変更されたパッケージの依存関係を表示します。
-Z 各パッケージのインストールサイズの変更を表示します。
-v Display extra information. (may be supplied multiple times).
-t [release] Set the release from which packages should be installed.
-q In command-line mode, suppress the incremental progress.
indicators.
-o key=val Directly set the configuration option named 'key'.
--with(out)-recommends Specify whether or not to treat recommends as.
strong dependencies.
-S <ファイル名> : <ファイル名> から aptitude の拡張状態情報を読み込みます。
-u : 起動時に新しいパッケージ一覧をダウンロードします。
(terminal interface only) -i : 起動時にインストールを行います。
(terminal interface only)
この aptitude にはスーパー牛さんパワーなどはありません。
なんだこれw
$ aptitude moo
このプログラムにはイースターエッグ (隠し機能) はありません。
$ aptitude -v moo
このプログラムには本当にイースターエッグはありませんよ。
$ aptitude -vv moo
このプログラムにイースターエッグはないって言わなかったかい?
$ aptitude -vvv moo
やめてくれ!
$ aptitude -vvvv moo
わかった、わかった。あんたにイースターエッグをあげればどっか行ってくれるかい?
$ aptitude -vvvvv moo
わかったよ。あんたの勝ちだ。
/----\
-------/ \
/ \
/ |
-----------------/ --------\
----------------------------------------------
$ aptitude -vvvvvv moo
これが何なのか? もちろんウワバミに食べられた象だよ。
$ aptitude -vvvvvvv moo
これが何なのか? もちろんウワバミに食べられた象だよ。
$ aptitude -vvvvvvvv moo
これが何なのか? もちろんウワバミに食べられた象だよ。
aptitude の前身のような apt-get ではどうだろう。
$ apt-get --help
apt 0.8.10.3 for amd64 コンパイル日時: Apr 15 2011 07:35:31
使用法: apt-get [オプション] コマンド
apt-get [オプション] install|remove パッケージ名1 [パッケージ名2 ...]
apt-get [オプション] source パッケージ名1 [パッケージ名2 ...]
apt-get は、パッケージをダウンロード/インストールするための簡単なコマ
ンドラインインタフェースです。もっともよく使われるコマンドは、update
と install です。
コマンド:
update - 新しいパッケージリストを取得します
upgrade - アップグレードを行います
install - 新規パッケージをインストールします (pkg は libc6.deb ではなく libc6 のように指定します)
remove - パッケージを削除します
autoremove - 自動インストールされ使われていないすべてのパッケージを削除します
purge - 設定ファイルまで含めてパッケージを削除します
source - ソースアーカイブをダウンロードします
build-dep - ソースパッケージの構築依存関係を設定します
dist-upgrade - ディストリビューションをアップグレードします (apt-get(8) を参照)
dselect-upgrade - dselect の選択に従います
clean - ダウンロードしたアーカイブファイルを削除します
autoclean - ダウンロードした古いアーカイブファイルを削除します
check - 壊れた依存関係がないかチェックします
markauto - 指定のパッケージを自動インストールされたものとしてマークします
unmarkauto - 指定のパッケージを手動でインストールされたものとしてマークします
オプション:
-h このヘルプを表示する
-q ログファイルに出力可能な形式にする - プログレス表示をしない
-qq エラー以外は表示しない
-d ダウンロードのみ行う - アーカイブのインストールや展開は行わない
-s 実際には実行しない。実行シミュレーションのみ行う
-y すべての問い合わせに Yes で答え、プロンプトは返さない
-f 整合性チェックで失敗しても処理を続行する
-m アーカイブが存在しない場合も続行する
-u アップグレードされるパッケージも表示する
-b ソースパッケージを取得し、ビルドを行う
-V 冗長なバージョンナンバを表示する
-c=? 指定した設定ファイルを読み込む
-o=? 任意の設定オプションを指定する, 例 -o dir::cache=/tmp
さらなる情報やオプションについては、マニュアルページ
apt-get(8)、sources.list(5)、apt.conf(5) を参照してください。
この APT は Super Cow Powers 化されています。
この APT は Super Cow Powers 化されています???
$ apt-get moo
(__)
(oo)
/------\/
/ | ||
* /\---/\
~~ ~~
...."Have you mooed today?"...
tags: debian
Posted by NI-Lab. (@nilab)