zoukankan      html  css  js  c++  java
  • pacman-help


    $ pacman --help

    pacman {-D --database} <options> <package(s)> 数据库 usage: pacman {-D --database} <options> <package(s)>
    pacman {-F --files} [options] [package(s)] 文件  
    pacman {-Q --query} [options] [package(s)] 查询 usage: pacman {-Q --query} [options] [package(s)]
    pacman {-R --remove} [options] <package(s)> 移除 usage: pacman {-R --remove} [options] <package(s)>
    pacman {-S --sync} [options] [package(s)] 同步 usage: pacman {-S --sync} [options] [package(s)]
    pacman {-T --deptest} [options] [package(s)] 依赖 usage: pacman {-T --deptest} [options] [package(s)]
    pacman {-U --upgrade} [options] <file(s)> 升级 usage: pacman {-U --upgrade} [options] <file(s)>
    • $ pacman -D --help
    • $ pacman -F --help
    • $ pacman -Q --help
    • $ pacman -R --help
    • $ pacman -S --help
    • $ pacman -T --help
    • $ pacman -U --help
    常用 - 选项 -D -F -Q -R -S -T -U 选项描述 中文翻译
      7 --arch <arch> Y Y Y Y Y Y Y set an alternate architecture 设置替代架构
      3 --asdeps Y       Y   Y mark packages as non-explicitly installed 将软件包标记为非明确安装
      3 --asexplicit Y       Y   Y mark packages as explicitly installed 将软件包标记为明确安装
      3 --assume-installed <package=version>       Y Y   Y add a virtual package to satisfy dependencies 添加虚拟包以满足依赖关系
      7 --cachedir <dir> Y Y Y Y Y Y Y set an alternate package cache location 设置备用软件包缓存位置
      7 --color <when> Y Y Y Y Y Y Y colorize the output 着色输出
      7 --config <path> Y Y Y Y Y Y Y set an alternate configuration file 设置备用配置文件
      7 --confirm Y Y Y Y Y Y Y always ask for confirmation 总是要求确认
      3 --dbonly       Y Y   Y only modify database entries, not package files 仅修改数据库条目,不修改包文件
      7 --debug Y Y Y Y Y Y Y display debug messages 显示调试消息
      7 --disable-download-timeout Y Y Y Y Y Y Y use relaxed timeouts for download 使用轻松的超时进行下载
      7 --gpgdir <path> Y Y Y Y Y Y Y set an alternate home directory for GnuPG 为GnuPG设置备用主目录
      7 --hookdir <dir> Y Y Y Y Y Y Y set an alternate hook location 设置备用挂钩位置
      2 --ignore <pkg>         Y   Y ignore a package upgrade (can be used more than once) 忽略软件包升级(可以多次使用)
      2 --ignoregroup <grp>         Y   Y ignore a group upgrade (can be used more than once) 忽略组升级(可以多次使用)
      7 --logfile <path> Y Y Y Y Y Y Y set an alternate log file 设置备用日志文件
      -F --machinereadable   Y           produce machine-readable output 产生机器可读的输出
      2 --needed         Y   Y do not reinstall up to date packages 不要重新安装最新的软件包
      7 --noconfirm Y Y Y Y Y Y Y do not ask for any confirmation 不要求任何确认
      3 --noprogressbar       Y Y   Y do not show a progress bar when downloading files 下载文件时不显示进度栏
      3 --noscriptlet       Y Y   Y do not execute the install scriptlet if one exists 如果存在,请不要执行安装脚本
      2 --overwrite <path>         Y   Y overwrite conflicting files (can be used more than once) 覆盖冲突文件(可以多次使用)
      3 --print-format <string>       Y Y   Y specify how the targets should be printed 指定应该如何打印目标
      7 --sysroot Y Y Y Y Y Y Y operate on a mounted guest system (root-only) 在已安装的来宾系统上运行(仅root用户)
      7 -b, --dbpath <path> Y Y Y Y Y Y Y set an alternate database location 设置备用数据库位置
      -R -c, --cascade       Y       remove packages and all packages that depend on them 删除软件包以及所有依赖于它们的软件包
      -Q -c, --changelog     Y         view the changelog of a package 查看软件包的变更日志
    Y -S -c, --clean         Y     remove old packages from cache directory (-cc for all) 从缓存目录中删除旧软件包(对于所有目录均使用-cc)
    Y -Q -d, --deps     Y         list packages installed as dependencies [filter] 列出安装为依赖项的软件包[过滤器]
      3 -d, --nodeps       Y Y   Y skip dependency version checks (-dd to skip all checks) 跳过依赖性版本检查(-dd跳过所有检查)
    Y -Q -e, --explicit     Y         list packages explicitly installed [filter] 列出明确安装的软件包[过滤器]
      2 -g, --groups     Y   Y     view all members of a package group 查看包组的所有成员
    Y 2 -i, --info     Y   Y     view package information (-ii for backup files) 查看软件包信息(-ii表示备份文件)
    Y 2 -k, --check Y   Y         test local database for validity (-kk for sync databases) 测试本地数据库的有效性(-kk用于同步数据库)
    Y 2 -l, --list   Y Y         list the files owned by the queried package 列出查询包所拥有的文件
    Y -S -l, --list <repo>         Y     view a list of packages in a repo 查看仓库中的软件包列表
    Y -Q -m, --foreign     Y         list installed packages not found in sync db(s) [filter] 列出在同步数据库中找不到的已安装软件包[过滤器]
    Y -Q -n, --native     Y         list installed packages only found in sync db(s) [filter] 列出仅在同步数据库中找到的已安装软件包[过滤器]
      -R -n, --nosave       Y       remove configuration files 删除配置文件
    Y -Q -o, --owns <file>     Y         query the package that owns <file> 查询拥有<file>的软件包
      -Q -p, --file <package>     Y         query a package file instead of the database 查询软件包文件而不是数据库
    Y 3 -p, --print       Y Y   Y print the targets instead of performing the operation 打印目标而不是执行操作
    Y 4 -q, --quiet Y Y Y   Y     suppress output of success messages 禁止输出成功消息
      7 -r, --root <path> Y Y Y Y Y Y Y set an alternate installation root 设置备用安装根目录
    Y -R -s, --recursive       Y       remove unnecessary dependencies
    (-ss includes explicitly installed dependencies)
    删除不必要的依赖项
    (-ss包括显式安装的依赖项)
    Y 2 -s, --search <regex>     Y   Y     search locally-installed packages for matching strings 搜索本地安装的软件包以查找匹配的字符串
    Y -Q -t, --unrequired     Y         list packages not (optionally) required by any package
    (-tt to ignore optdepends) [filter]
    列出任何软件包都不要求(可选)的软件包
    (-tt忽略optdepends)[过滤器]
    Y -S -u, --sysupgrade         Y     upgrade installed packages (-uu enables downgrades) 升级已安装的软件包(-uu启用降级)
    Y -R -u, --unneeded       Y       remove unneeded packages 删除不需要的包
    Y -Q -u, --upgrades     Y         list outdated packages [filter] 列出过期的软件包[过滤器]
      7 -v, --verbose Y Y Y Y Y Y Y be verbose 冗长
      -S -w, --downloadonly         Y     download packages but do not install/upgrade anything 下载软件包,但不安装/升级任何东西
      -F -x, --regex   Y           enable searching using regular expressions 启用使用正则表达式进行搜索
    Y 2 -y, --refresh   Y     Y     download fresh package databases from the server
    (-yy to force a refresh even if up to date)
    从服务器下载新的软件包数据库
    (-yy,即使是最新也要强制刷新)
     
     
  • 相关阅读:
    火狐下button标签子元素无法点击
    js里面的this指向
    (转载)http协议的Request Payload 和 Form Data 的区别
    (转载)http压缩 Content-Encoding: gzip
    函数的length属性
    Expires
    Etag 和 If-None-Match
    Mac下升级node到最新版本
    高级函数之函数绑定
    Java数据结构和算法day01 稀疏数组与队列
  • 原文地址:https://www.cnblogs.com/sztom/p/12871919.html
Copyright © 2011-2022 走看看