R. Ayanokouzi et al.

[debian] パッケージを検索するにはdpkg --searchとapt-cache searchで十分

パッケージ検索の方法はいくつかあるが、dpkg --searchとapt-cache searchだけ抑えておけばwebインターフェイスを使わずにすむ。この2つだけでパッケージ検索操作の99%は網羅。


# dpkg --search xmllint
libxml2-utils: /usr/share/man/man1/xmllint.1.gz
vim-runtime: /usr/share/vim/vim72/compiler/xmllint.vim
libxml2-utils: /usr/bin/xmllint
bash-completion: /etc/bash_completion.d/xmllint


# apt-cache search xmllint
bluefish - advanced Gtk+ HTML editor
libxml2-utils - XML utilities


# apt-cache policy xmllint
N: Unable to locate package xmllint
# apt-cache policy libxml2-utils
  Installed: (none)
  Candidate: 2.7.8.dfsg-2
  Version table:
     2.7.8.dfsg-2 0
        500 http://ftp.jp.debian.org/debian/ squeeze/main i386 Packages
# aptitude show libxml2-utils
Package: libxml2-utils
State: not installed
Version: 2.7.8.dfsg-2
Priority: optional
Section: text
Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>
Uncompressed Size: 197 k
Depends: libc6 (>= 2.7), libreadline6 (>= 6.0), libxml2 (>= 2.7.4)
Description: XML utilities
 XML is a metalanguage to let you design your own markup language. A regular markup language defines a way to describe information in a certain class of documents (eg
 HTML). XML lets you define your own customized markup languages for many classes of document. It can do this because it's written in SGML, the international standard
 metalanguage for markup languages.

 This package provides xmllint, a tool for validating and reformatting XML documents, and xmlcatalog, a tool to parse and manipulate XML or SGML catalog files.
Homepage: http://xmlsoft.org/


# aptitude install libxml2-utils
The following NEW packages will be installed:
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 90.0 kB of archives. After unpacking 197 kB will be used.
Get:1 http://ftp.jp.debian.org/debian/ squeeze/main libxml2-utils i386 2.7.8.dfsg-2 [90.0 kB]
Fetched 90.0 kB in 5s (17.4 kB/s)
Selecting previously deselected package libxml2-utils.
(Reading database ... 33391 files and directories currently installed.)
Unpacking libxml2-utils (from .../libxml2-utils_2.7.8.dfsg-2_i386.deb) ...
Processing triggers for man-db ...
Setting up libxml2-utils (2.7.8.dfsg-2) ...


  1. Debian クイックリファレンス - Debian パッケージ管理
  2. パッケージ ファイル 検索 debian - Google 検索
  3. 第04回 「apt-get, dpkg コマンドでパッケージ管理」
  4. Debian 目的別パッケージ操作コマンド一覧表
  5. debian パッケージ 検索 コマンドライン - Google 検索


  1. はてなブックマーク
  2. Google Bookmarks
  3. del.icio.us


  1. Posted: 2009-12-07T00:26:36+09:00
  2. Modified: 2009-12-07T00:26:36+09:00
  3. Generated: 2021-03-31T07:51:36+09:00