2020-05-11

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>YYYYYYYset an alternate architecture设置替代架构

3--asdepsY


Y
Ymark packages as non-explicitly installed将软件包标记为非明确安装

3--asexplicitY


Y
Ymark packages as explicitly installed将软件包标记为明确安装

3--assume-installed <package=version>


YY
Yadd a virtual package to satisfy dependencies添加虚拟包以满足依赖关系

7--cachedir <dir>YYYYYYYset an alternate package cache location设置备用软件包缓存位置

7--color <when>YYYYYYYcolorize the output着色输出

7--config <path>YYYYYYYset an alternate configuration file设置备用配置文件

7--confirmYYYYYYYalways ask for confirmation总是要求确认

3--dbonly


YY
Yonly modify database entries, not package files仅修改数据库条目,不修改包文件

7--debugYYYYYYYdisplay debug messages显示调试消息

7--disable-download-timeoutYYYYYYYuse relaxed timeouts for download使用轻松的超时进行下载

7--gpgdir <path>YYYYYYYset an alternate home directory for GnuPG为GnuPG设置备用主目录

7--hookdir <dir>YYYYYYYset an alternate hook location设置备用挂钩位置

2--ignore <pkg>



Y
Yignore a package upgrade (can be used more than once)忽略软件包升级(可以多次使用)

2--ignoregroup <grp>



Y
Yignore a group upgrade (can be used more than once)忽略组升级(可以多次使用)

7--logfile <path>YYYYYYYset an alternate log file设置备用日志文件

-F--machinereadable
Y




produce machine-readable output产生机器可读的输出

2--needed



Y
Ydo not reinstall up to date packages不要重新安装最新的软件包

7--noconfirmYYYYYYYdo not ask for any confirmation不要求任何确认

3--noprogressbar


YY
Ydo not show a progress bar when downloading files下载文件时不显示进度栏

3--noscriptlet


YY
Ydo not execute the install scriptlet if one exists如果存在,请不要执行安装脚本

2--overwrite <path>



Y
Yoverwrite conflicting files (can be used more than once)覆盖冲突文件(可以多次使用)

3--print-format <string>


YY
Yspecify how the targets should be printed指定应该如何打印目标

7--sysrootYYYYYYYoperate on a mounted guest system (root-only)在已安装的来宾系统上运行(仅root用户)

7-b, --dbpath <path>YYYYYYYset 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


YY
Yskip 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查看包组的所有成员
Y2-i, --info

Y
Y

view package information (-ii for backup files)查看软件包信息(-ii表示备份文件)
Y2-k, --checkY
Y



test local database for validity (-kk for sync databases)测试本地数据库的有效性(-kk用于同步数据库)
Y2-l, --list
YY



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查询软件包文件而不是数据库
Y3-p, --print


YY
Yprint the targets instead of performing the operation打印目标而不是执行操作
Y4-q, --quietYYY
Y

suppress output of success messages禁止输出成功消息

7-r, --root <path>YYYYYYYset an alternate installation root设置备用安装根目录
Y-R-s, --recursive


Y


remove unnecessary dependencies
(-ss includes explicitly installed dependencies)
删除不必要的依赖项
(-ss包括显式安装的依赖项)
Y2-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, --verboseYYYYYYYbe verbose冗长

-S-w, --downloadonly



Y

download packages but do not install/upgrade anything下载软件包,但不安装/升级任何东西

-F-x, --regex
Y




enable searching using regular expressions启用使用正则表达式进行搜索
Y2-y, --refresh
Y

Y

download fresh package databases from the server
(-yy to force a refresh even if up to date)
从服务器下载新的软件包数据库
(-yy,即使是最新也要强制刷新)

没有评论:

发表评论

Diode

导航 (返回顶部) 1. Diode 1.1 Diode 概述 1.2 肖克利二极管方程 1.3 缩写 Abbreviations 2. 主要功能 2.1 单向电流 (Unidirectional current flow) 2.2 阈值电压 (Threshold...