apt-cache subcommands 一些使用实例

root@ubuntu-desktop:~# clear

root@ubuntu-desktop:~# apt-cache search qq
texlive-latex-extra - TeX Live: LaTeX supplementary packages
eva - QQ IM protocol compatible client in KDE
pngnq - tool for optimizing PNG (Portable Network Graphics) images
stardict-plugin - International dictionary - common plugins
linuxqq - QQ - The most popular free instant messaging program in China.
root@ubuntu-desktop:~# apt-cache show linuxqq
Package: linuxqq
Status: install ok installed
Priority: extra
Section: Internet
Installed-Size: 6264
Maintainer: Tencent Inc.
Architecture: i386
Version: v1.0.2-beta1
Depends: gtk2.0-binver-2.10.0, libc6, libcairo2, libglib2.0-0, libgtk2.0-0, libpango1.0-0
Description: QQ - The most popular free instant messaging program in China.
 * Chat with more than 590,000,000 people all over the world.
 * Free to download or distribute absolutely.

root@ubuntu-desktop:~#

root@ubuntu-desktop:~# apt-cache policy linuxqq
linuxqq:
  已安装:v1.0.2-beta1
  候选的软件包:v1.0.2-beta1
  版本列表:
 *** v1.0.2-beta1 0
        100 /var/lib/dpkg/status
root@ubuntu-desktop:~#

root@ubuntu-desktop:~# apt-cache depends linuxqq
linuxqq
  依赖: <gtk2.0-binver-2.10.0>
    libgtk2.0-0
  依赖: libc6
  依赖: libcairo2
  依赖: libglib2.0-0
  依赖: libgtk2.0-0
  依赖: libpango1.0-0
root@ubuntu-desktop:~#

 

root@ubuntu-desktop:~# apt-cache redepends linuxqq
E: 无效的操作 redepends
root@ubuntu-desktop:~# apt-cache rdepends linuxqq //查看反依赖关系
linuxqq
Reverse Depends:
root@ubuntu-desktop:~#

 

===========================================

apt-cache serch qq && apt-cache show linuxqq && apt-cache policy linuxqq

搜索软件包并查看软件包信息,查看软件的安装状态

apt-cache depends linuxqq 查看linuxqq软件的依赖关系

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
; SHA256 [HKEY_CLASSES_ROOT\*\shell\getHash\shell\SHA256] "MUIVerb"="SHA256" [HKEY_CLASSES_ROOT\*\shell\getHash\shell\SHA256\command] @="powershell.exe -NoExit -NonInteractive Get-FileHash -LiteralPath '%1' -Algorithm SHA256 | Format-List" ; SHA512 [HKEY_CLASSES_ROOT\*\shell\getHash\shell\SHA512] "MUIVerb"="SHA512" [HKEY_CLASSES_ROOT\*\shell\getHash\shell\SHA512\command] @="powershell.exe -NoExit -NonInteractive Get-FileHash -LiteralPath '%1' -Algorithm SHA512 | Format-List" ; MD5 [HKEY_CLASSES_ROOT\*\shell\getHash\shell\MD5] "MUIVerb"="MD5" [HKEY_CLASSES_ROOT\*\shell\getHash\shell\MD5\command] @="powershell.exe -NoExit -NonInteractive Get-FileHash -LiteralPath '%1' -Algorithm MD5 | Format-List" ; Get File Hash for exe file [HKEY_CLASSES_ROOT\exefile\shell\getHash] "MUIVerb"="Get Hash of file" "SubCommands"="" ; SHA1 [HKEY_CLASSES_ROOT\exefile\shell\getHash\shell\SHA1] "MUIVerb"="SHA1" [HKEY_CLASSES_ROOT\exefile\shell\getHash\shell\SHA1\command] @="powershell.exe -NoExit -NonInteractive Get-FileHash -LiteralPath '%1' -Algorithm SHA1 | Format-List" ; SHA256 [HKEY_CLASSES_ROOT\exefile\shell\getHash\shell\SHA256] "MUIVerb"="SHA256" [HKEY_CLASSES_ROOT\exefile\shell\getHash\shell\SHA256\command] @="powershell.exe -NoExit -NonInteractive Get-FileHash -LiteralPath '%1' -Algorithm SHA256 | Format-List" ; SHA512 [HKEY_CLASSES_ROOT\exefile\shell\getHash\shell\SHA512] "MUIVerb"="SHA512" [HKEY_CLASSES_ROOT\exefile\shell\getHash\shell\SHA512\command] @="powershell.exe -NoExit -NonInteractive Get-FileHash -LiteralPath '%1' -Algorithm SHA512 | Format-List" ; MD5 [HKEY_CLASSES_ROOT\exefile\shell\getHash\shell\MD5] "MUIVerb"="MD5" [HKEY_CLASSES_ROOT\exefile\shell\getHash\shell\MD5\command] @="powershell.exe -NoExit -NonInteractive Get-FileHash -LiteralPath '%1' -Algorithm MD5 | Format-List" 是什么意思
最新发布
06-13

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值