![查找有关位于特定目录中的 debian 软件包的信息](https://linux22.com/image/73123/%E6%9F%A5%E6%89%BE%E6%9C%89%E5%85%B3%E4%BD%8D%E4%BA%8E%E7%89%B9%E5%AE%9A%E7%9B%AE%E5%BD%95%E4%B8%AD%E7%9A%84%20debian%20%E8%BD%AF%E4%BB%B6%E5%8C%85%E7%9A%84%E4%BF%A1%E6%81%AF.png)
我的默认 debian 目录中没有一些 debian 软件包。我知道我可以在我的默认 debian 目录中找到软件包的信息,如下所示:
dpkg-query -W package-name
有没有办法找到 debian 软件包的详细信息不是位于默认的 debian 目录中?
dpkg-query
(我尝试在和手册页上搜索命令行选项apt-cache
,但没有成功)
答案1
您可以使用 :
dpkg --info package_name
例如,它会为您提供架构、依赖关系、版本等详细信息
dpkg --info teamviewer_linux.deb
new debian package, version 2.0.
size 43331378 bytes: control archive=1478 bytes.
1015 bytes, 17 lines control
695 bytes, 40 lines * postinst #!/bin/bash
595 bytes, 42 lines * postrm #!/bin/bash
18 bytes, 3 lines * preinst #!/bin/bash
989 bytes, 45 lines * prerm #!/bin/bash
Package: teamviewer
Version: 10.0.35002
Section: non-free/internet
Priority: optional
Architecture: i386
Depends: libc6 (>= 2.4), libgcc1, libasound2, libfontconfig1, libfreetype6, libjpeg8 | libjpeg62, libpng12-0, libsm6, libxdamage1, libxext6, libxfixes3, libxrandr2, libxrender1, libxtst6, zlib1g
Recommends: ttf-liberation | fonts-liberation
Replaces: teamviewer5, teamviewer6, teamviewer7, teamviewer8, teamviewer9
Conflicts: teamviewer5, teamviewer6, teamviewer7, teamviewer8, teamviewer9
Installed-Size: 122640
Maintainer: Teamviewer GmbH <[email protected]>
Description: TeamViewer (Remote Control Application)
TeamViewer is a remote control application. TeamViewer provides easy, fast and secure remote access to Linux, Windows PCs, and Macs.
.
TeamViewer is free for personal use. You can use TeamViewer completely free of charge to access your private computers or to help your friends with their computer problems.
.
To buy a license for commercial use, please visit http://www.teamviewer.com