博客
关于我
apt-cache命令的常规用法
阅读量:331 次
发布时间:2019-03-04

本文共 463 字,大约阅读时间需要 1 分钟。

Apt-cache 命令参考

Apt-cache 是一个强大的 Debian 系统工具,用于管理软件包仓库和相关信息。以下是常用命令及其说明:

  • apt-cache showpkg

    显示指定软件包的详细信息。
    例如:apt-cache showpkg openssh

  • apt-cache stats

    显示仓库统计信息,包括下载量、安装量等。

  • apt-cache dump

    输出仓库中所有软件包的简要描述。

  • apt-cache unmet

    显示未满足的依赖关系,帮助解决冲突。

  • apt-cache show

    显示指定软件包的详细信息,类似于 rpm -qi
    例如:apt-cache show openssh

  • apt-cache search

    根据关键词搜索软件包。
    例如:apt-cache search openssh

  • apt-cache depends

    显示软件包的依赖关系。

  • apt-cache pkgnames

    列出仓库中所有软件包的名称。

  • 这些命令为管理 Debian 仓库提供了强大功能,适用于日常维护和故障排除。

    转载地址:http://xezh.baihongyu.com/

    你可能感兴趣的文章
    npm WARN deprecated core-js@2.6.12 core-js@<3.3 is no longer maintained and not recommended for usa
    查看>>
    npm切换到淘宝源
    查看>>
    npm前端包管理工具简介---npm工作笔记001
    查看>>
    npm和yarn清理缓存命令
    查看>>
    npm和yarn的使用对比
    查看>>
    npm报错unable to access ‘https://github.com/sohee-lee7/Squire.git/‘
    查看>>
    npm的问题:config global `--global`, `--local` are deprecated. Use `--location=global` instead 的解决办法
    查看>>
    npm错误Error: Cannot find module ‘postcss-loader‘
    查看>>
    NPOI之Excel——合并单元格、设置样式、输入公式
    查看>>
    NPOI利用多任务模式分批写入多个Excel
    查看>>
    NPOI格式设置
    查看>>
    NR,NF,FNR
    查看>>
    nrf开发笔记一开发软件
    查看>>
    NSDateFormatter的替代方法
    查看>>
    NSError 的使用方法
    查看>>
    nsis 安装脚本示例(转)
    查看>>
    NSOperation基本操作
    查看>>
    NSRange 范围
    查看>>
    NSSet集合 无序的 不能重复的
    查看>>
    NT AUTHORITY\NETWORK SERVICE 权限问题
    查看>>