.debパッケージをダウンロードできますが、apt download $package.deb
ファイルのメタデータを表示する方法はないようです。メタデータは次のとおりです。
[$] aptitude show dgit
Package: dgit
Version: 3.10
State: not installed
Priority: optional
Section: devel
Maintainer: Ian Jackson <[email protected]>
Architecture: all
Uncompressed Size: 309 k
Depends: perl, libwww-perl, libdpkg-perl, git-core, devscripts, dpkg-dev, git-buildpackage, liblist-moreutils-perl, coreutils (>= 8.23-1~) | realpath, libdigest-sha-perl, dput, curl, apt, libjson-perl, ca-certificates, libtext-iconv-perl, libtext-glob-perl
Recommends: ssh-client
Suggests: sbuild
Description: git interoperability with the Debian archive
dgit (with the associated infrastructure) makes it possible to treat the Debian archive as a git repository.
dgit push constructs uploads from git commits
dgit clone and dgit fetch construct git commits from uploads.
依存関係、推奨事項などを見ることができる方法があったらと思います。
私も同じことをするために様々なフォーラムでlessを使用しましたが、うまくいきませんでした。
ベストアンサー1
dpkg-deb
の一部であるため、dpkg
常に利用可能であり、そのファイルのみを使用してバイナリパッケージに関するすべての制御情報を表示できます.deb
。
$ dpkg-deb -I joystick_1.6.0-2_amd64.deb
new debian package, version 2.0.
size 49454 bytes: control archive=1509 bytes.
892 bytes, 24 lines control
1887 bytes, 30 lines md5sums
Package: joystick
Version: 1:1.6.0-2
Architecture: amd64
Maintainer: Stephen Kitt <[email protected]>
Installed-Size: 176
Depends: libc6 (>= 2.15), libsdl1.2debian (>= 1.2.11)
Recommends: evtest, inputattach
Breaks: stella (<< 4.7.2)
Replaces: stella (<< 4.7.2)
Section: utils
Priority: extra
Homepage: https://sourceforge.net/projects/linuxconsole/
Description: set of testing and calibration tools for joysticks
Some useful tools for using joysticks:
evdev-joystick(1) - joystick calibration tool
ffcfstress(1) - force-feedback stress test
ffmvforce(1) - force-feedback orientation test
ffset(1) - force-feedback configuration tool
fftest(1) - general force-feedback test
jstest(1) - joystick test
jscal(1) - joystick calibration tool
.
evtest and inputattach, which used to be part of this package, are now
available separately.
パッケージ内のファイルのリストから特定の(バイナリ)制御ファイルまで表示する項目を選択するためのさまざまなオプションがあります。man dpkg-deb
もっと学ぶ。