특정 디렉터리에 있는 데비안 패키지에 대한 정보 찾기

특정 디렉터리에 있는 데비안 패키지에 대한 정보 찾기

일부 데비안 패키지는 내 기본 데비안 디렉터리에 없습니다. 나는 기본 debian 디렉터리에서 다음과 같이 패키지 정보를 찾을 수 있다는 것을 알고 있습니다:

dpkg-query -W package-name

데비안 패키지의 세부 정보를 찾는 방법이 있나요?아니요기본 debian 디렉토리에 있습니까?

dpkg-queryapt-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

관련 정보