博客
关于我
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/

    你可能感兴趣的文章
    POJ 1177 Picture(线段树:扫描线求轮廓周长)
    查看>>
    Qualitor checkAcesso.php 任意文件上传漏洞复现(CVE-2024-44849)
    查看>>
    POJ 1182 食物链(并查集拆点)
    查看>>
    POJ 1185 炮兵阵地 (状态压缩DP)
    查看>>
    POJ 1195 Mobile phones
    查看>>
    POJ 1228 Grandpa's Estate (稳定凸包)
    查看>>
    poj 1236(强连通分量分解模板题)
    查看>>
    poj 1258 Agri-Net
    查看>>
    quagga 和 zebos
    查看>>
    poj 1286 Necklace of Beads
    查看>>
    POJ 1321 棋盘问题
    查看>>
    poj 1321(回溯)
    查看>>
    Qt高级——Qt元对象系统源码解析
    查看>>
    qt调用vs2008编写的dll动态库(隐式调用)
    查看>>
    Qt读取注册表默认值
    查看>>
    poj 1679 判断MST是不是唯一的 (次小生成树)
    查看>>
    POJ 1703 Find them, Catch them
    查看>>
    POJ 1703 Find them, Catch them 并查集
    查看>>
    POJ 1738 An old Stone Game(石子合并)
    查看>>
    POJ 1740 A New Stone Game(博弈)题解
    查看>>