今回はバイナリファイル名がわかっているのでdpkg --searchで検索。libxml2-utilsパッケージに含まれていることが判る。
# 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
目的のパッケージ名が判ったらインストール。
# aptitude install libxml2-utils The following NEW packages will be installed: libxml2-utils 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) ...