2018-07-28 03:49:15 +00:00
|
|
|
'\ t
|
2019-10-21 13:34:06 +00:00
|
|
|
.TH "YAY" "8" "2019\-10\-21" "Yay v9.4+" "Yay Manual"
|
2017-01-22 20:15:13 +00:00
|
|
|
.nh
|
|
|
|
.ad l
|
2018-07-28 03:49:15 +00:00
|
|
|
.SH NAME
|
2018-01-14 20:34:08 +00:00
|
|
|
yay \- AUR Helper written in go
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.SH SYNOPSIS
|
2018-01-14 20:34:08 +00:00
|
|
|
\fIyay\fR <operation> [options] [targets]
|
|
|
|
.sp
|
2018-09-19 23:46:10 +00:00
|
|
|
\fIyay\fR <search terms>
|
2018-04-08 14:36:44 +00:00
|
|
|
.sp
|
|
|
|
\fIyay\fR
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
Yay is a Pacman wrapper with AUR support. It passes options to Makepkg and
|
|
|
|
Pacman after resolving packages to install/upgrade.
|
|
|
|
|
|
|
|
This manpage only covers options unique to Yay. For other options see
|
|
|
|
\fBpacman(8)\fR.
|
|
|
|
|
|
|
|
.SH YAY OPERATIONS
|
|
|
|
.TP
|
|
|
|
.B \-Y, \-\-yay
|
|
|
|
Perform yay specific operations. This is the default if no other operation is
|
|
|
|
selected.
|
|
|
|
|
|
|
|
.TP
|
2018-08-02 21:01:41 +00:00
|
|
|
.B \-P, \-\-show
|
2018-07-28 03:49:15 +00:00
|
|
|
Perform yay specific print operations.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-G, \-\-getpkgbuild
|
2018-08-18 06:02:50 +00:00
|
|
|
Downloads PKGBUILD from ABS or AUR. ABS pkgbuilds are always downloaded using
|
|
|
|
tarballs and taken from trunk. The ABS can only be used for Arch Linux repositories
|
2018-07-28 03:49:15 +00:00
|
|
|
|
2017-01-22 20:15:13 +00:00
|
|
|
.RE
|
2018-07-28 03:49:15 +00:00
|
|
|
If no arguments are provided 'yay \-Syu' will be performed.
|
|
|
|
|
|
|
|
If no operation is selected \-Y will be assumed.
|
|
|
|
|
|
|
|
.SH EXTENDED PACMAN OPERATIONS
|
|
|
|
.TP
|
2019-01-26 22:16:34 +00:00
|
|
|
.B \-S, \-Si, \-Sl, \-Ss, \-Su, \-Sc, \-Qu
|
2018-07-28 03:49:15 +00:00
|
|
|
These operations are extended to support both AUR and repo packages.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-Sc
|
2018-04-17 12:50:58 +00:00
|
|
|
Yay will also clean cached AUR package and any untracked Files in the
|
2018-07-28 03:49:15 +00:00
|
|
|
cache. Untracked files cleaning only works for packages downloaded
|
|
|
|
using gitclone. Cleaning untracked files will wipe any downloaded
|
|
|
|
sources or built packages but will keep already downloaded vcs sources.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-R
|
|
|
|
Yay will also remove cached data about devel packages.
|
|
|
|
|
|
|
|
.SH NEW OPTIONS
|
|
|
|
.TP
|
|
|
|
.B \-\-repo
|
|
|
|
Assume all targets are from the repositories. Additionally Actions such as
|
|
|
|
sysupgrade will only act on repository packages.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-a, \-\-aur
|
|
|
|
Assume all targets are from the AUR. Additionally Actions such as
|
|
|
|
sysupgrade will only act on AUR packages.
|
2018-04-17 12:50:58 +00:00
|
|
|
|
2019-03-06 16:36:18 +00:00
|
|
|
Note that dependency resolving will still act normally and include repository
|
2018-07-28 03:49:15 +00:00
|
|
|
packages.
|
|
|
|
|
|
|
|
.SH YAY OPTIONS (APPLY TO \-Y AND \-\-YAY)
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B <NO OPTION>
|
2018-02-28 22:48:56 +00:00
|
|
|
Displays a list of packages matching the search terms and prompts the user on
|
2018-07-28 03:49:15 +00:00
|
|
|
which packages to install (yogurt mode).
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-gendb
|
|
|
|
Generate development package database. Tracks the latest commit for each
|
|
|
|
development package, when there is a new commit Yay will know to update. This
|
2018-02-28 22:48:56 +00:00
|
|
|
is done per package whenever a package is synced. This option should only be
|
|
|
|
used when migrating to Yay from another AUR helper.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-c, \-\-clean
|
|
|
|
Remove unneeded dependencies.
|
|
|
|
|
2018-08-30 14:48:13 +00:00
|
|
|
.SH SHOW OPTIONS (APPLY TO \-P AND \-\-SHOW)
|
2018-07-28 03:49:15 +00:00
|
|
|
.TP
|
|
|
|
.B \-c, \-\-complete
|
2019-03-06 16:36:18 +00:00
|
|
|
Print a list of all AUR and repo packages. This allows shell completion
|
2018-07-28 03:49:15 +00:00
|
|
|
and is not intended to be used directly by the user.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-f, \-\-fish
|
|
|
|
During complete adjust the output for the fish shell.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-d, \-\-defaultconfig
|
|
|
|
Print default yay configuration.
|
|
|
|
|
|
|
|
.TP
|
2018-08-02 21:01:41 +00:00
|
|
|
.B \-g, \-\-currentconfig
|
2018-07-28 03:49:15 +00:00
|
|
|
Print current yay configuration.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-n, \-\-numberupgrades
|
2018-07-19 16:39:54 +00:00
|
|
|
Deprecated, use \fByay -Qu\fR and \fBwc -l\fR instead\%.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-s, \-\-stats
|
|
|
|
Displays information about installed packages and system health. If there are
|
2019-03-06 16:36:18 +00:00
|
|
|
orphaned, or out\-of\-date packages, or packages that no longer exist on the
|
|
|
|
AUR; warnings will be displayed.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-u, \-\-upgrades
|
2018-07-17 21:36:01 +00:00
|
|
|
Deprecated, use \fByay -Qu\fR instead\%.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-w, \-\-news
|
|
|
|
Print new news from the Archlinux homepage. News is considered new if it is
|
|
|
|
newer than the build date of all native packages. Pass this twice to show all
|
|
|
|
available news.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-q, \-\-quiet
|
|
|
|
Only show titles when printing news.
|
|
|
|
|
2018-08-30 14:48:13 +00:00
|
|
|
.SH GETPKGBUILD OPTIONS (APPLY TO \-G AND \-\-GETPKGBUILD)
|
|
|
|
.TP
|
|
|
|
.B \-f, \-\-force
|
|
|
|
Force download for packages that already exist in the current directory. This
|
2019-03-06 16:36:18 +00:00
|
|
|
ensures directories are not accidentally overwritten. This option is not needed
|
|
|
|
for git based downloads as \fBgit pull\fR already has safety mechanisms.
|
2018-08-30 14:48:13 +00:00
|
|
|
|
2018-07-28 03:49:15 +00:00
|
|
|
.SH PERMANENT CONFIGURATION SETTINGS
|
|
|
|
.TP
|
|
|
|
.B \-\-save
|
|
|
|
Causes the following options to be saved back to the config file. This
|
2018-03-07 22:37:44 +00:00
|
|
|
provides an easy way to change config options without directly editing the
|
2018-07-28 03:49:15 +00:00
|
|
|
file.
|
|
|
|
|
2018-08-29 19:37:25 +00:00
|
|
|
.TP
|
|
|
|
.B \-\-aururl
|
2019-09-06 07:18:13 +00:00
|
|
|
Set an alternative AUR URL. This is mostly useful for users in China who wish
|
2018-08-29 19:37:25 +00:00
|
|
|
to use https://aur.tuna.tsinghua.edu.cn/.
|
|
|
|
|
2018-07-28 03:49:15 +00:00
|
|
|
.TP
|
|
|
|
.B \-\-builddir <dir>
|
|
|
|
Directory to use for Building AUR Packages. This directory is also used as
|
2019-09-06 07:18:13 +00:00
|
|
|
the AUR cache when deciding if Yay should skip builds.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
2019-10-21 14:02:38 +00:00
|
|
|
.TP
|
|
|
|
.B \-\-absdir <dir>
|
|
|
|
Directory used to store downloads from the ABS. During \-G, the PKGBUILD
|
|
|
|
placed in the current dir symlinks to absdir.
|
|
|
|
|
2018-07-28 03:49:15 +00:00
|
|
|
.TP
|
|
|
|
.B \-\-editor <command>
|
|
|
|
Editor to use when editing PKGBUILDs. If this is not set the \fBEDITOR\fR
|
|
|
|
environment variable will be checked, followed by \fBVISUAL\fR. If none of
|
|
|
|
these are set Yay will prompt the user for an editor.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-editorflags <flags>
|
|
|
|
Passes arguments to the editor. These flags get passed to every instance where
|
2018-04-23 00:42:58 +00:00
|
|
|
the editor is called by Yay. Arguments are split on whitespace before being
|
2018-12-06 19:01:09 +00:00
|
|
|
passed to the editor. Multiple arguments may be passed by supplying a space
|
2018-04-23 00:42:58 +00:00
|
|
|
separated list that is quoted by the shell.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-makepkg <command>
|
2018-03-08 01:36:06 +00:00
|
|
|
The command to use for \fBmakepkg\fR calls. This can be a command in
|
2018-07-28 03:49:15 +00:00
|
|
|
\fBPATH\fR or an absolute path to the file.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-pacman <command>
|
2018-03-08 01:36:06 +00:00
|
|
|
The command to use for \fBpacman\fR calls. This can be a command in
|
2018-07-28 03:49:15 +00:00
|
|
|
\fBPATH\fR or an absolute path to the file.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-tar <command>
|
2018-03-08 01:36:06 +00:00
|
|
|
The command to use for \fBbsdtar\fR calls. This can be a command in
|
2018-07-28 03:49:15 +00:00
|
|
|
\fBPATH\fR or an absolute path to the file.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-git <command>
|
2018-03-08 01:36:06 +00:00
|
|
|
The command to use for \fBgit\fR calls. This can be a command in
|
2018-07-28 03:49:15 +00:00
|
|
|
\fBPATH\fR or an absolute path to the file.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-gpg <command>
|
2018-03-17 20:40:24 +00:00
|
|
|
The command to use for \fBgpg\fR calls. This can be a command in
|
2018-07-28 03:49:15 +00:00
|
|
|
\fBPATH\fR or an absolute path to the file.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-config <file>
|
|
|
|
The pacman config file to use.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-makepkgconf <file>
|
2018-07-28 03:01:55 +00:00
|
|
|
The config file for makepkg to use\%. If this is not set then the default
|
2018-07-28 03:49:15 +00:00
|
|
|
config file will be used.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-nomakepkgconf
|
|
|
|
Reset the makepkg config file back to its default.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-requestsplitn <number>
|
|
|
|
The maximum amount of packages to request per AUR query. The higher the
|
|
|
|
number the faster AUR requests will be. Requesting too many packages in one
|
|
|
|
AUR query will cause an error. This should only make a noticeable difference
|
|
|
|
with very large requests (>500) packages.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-completioninterval <days>
|
|
|
|
Time in days to refresh the completion cache. Setting this to 0 will cause
|
2018-07-28 03:01:55 +00:00
|
|
|
the cache to be refreshed every time, while setting this to -1 will cause the
|
2018-07-28 03:49:15 +00:00
|
|
|
cache to never be refreshed.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-sortby <votes|popularity|id|baseid|name|base|submitted|modified>
|
|
|
|
Sort AUR results by a specific field during search.
|
|
|
|
|
2019-10-21 14:02:38 +00:00
|
|
|
.TP
|
|
|
|
.B \-\-searchby <name|name-desc|maintainer|depends|checkdepends|makedepends|optdepends>
|
|
|
|
Search for AUR packages by querying the specified field.
|
|
|
|
|
2018-07-28 03:49:15 +00:00
|
|
|
.TP
|
|
|
|
.B \-\-answerclean <All|None|Installed|NotInstalled|...>
|
|
|
|
Set a predetermined answer for the clean build menu question. This answer
|
2019-03-06 16:36:18 +00:00
|
|
|
will be used instead of reading from standard input but will be parsed exactly
|
|
|
|
the same.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-answerdiff <All|None|Installed|NotInstalled|...>
|
2019-03-06 16:36:18 +00:00
|
|
|
Set a predetermined answer for the edit diff menu question. This answer
|
|
|
|
will be used instead of reading from standard input but will be parsed exactly
|
|
|
|
the same.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-answeredit <All|None|Installed|NotInstalled|...>
|
|
|
|
Set a predetermined answer for the edit pkgbuild menu question. This answer
|
2019-03-06 16:36:18 +00:00
|
|
|
will be used instead of reading from standard input but will be parsed exactly
|
|
|
|
the same.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-answerupgrade <Repo|^Repo|None|...>
|
|
|
|
Set a predetermined answer for the upgrade menu question. Selects which package
|
2018-08-20 16:05:56 +00:00
|
|
|
ranges or repos to omit for updates. This answer will be used instead of
|
2018-07-28 03:49:15 +00:00
|
|
|
reading from standard input but will be treated exactly the same.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-noanswerclean
|
|
|
|
Unset the answer for the clean build menu.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-noanswerdiff
|
|
|
|
Unset the answer for the diff menu.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-noansweredit
|
|
|
|
Unset the answer for the edit pkgbuild menu.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-noanswerupgrade
|
|
|
|
Unset the answer for the upgrade menu.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-cleanmenu
|
|
|
|
Show the clean menu. This menu gives you the chance to fully delete the
|
2018-08-20 16:05:56 +00:00
|
|
|
downloaded build files from Yay's cache before redownloading a fresh copy.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-diffmenu
|
|
|
|
Show the diff menu. This menu gives you the option to view diffs from
|
|
|
|
build files before building.
|
|
|
|
|
2018-07-29 14:39:13 +00:00
|
|
|
Diffs are shown via \fBgit diff\fR which uses
|
|
|
|
less by default. This behaviour can be changed via git's config, the
|
|
|
|
\fB$GIT_PAGER\fR or \fB$PAGER\fR environment variables.
|
|
|
|
|
2018-07-28 03:49:15 +00:00
|
|
|
.TP
|
|
|
|
.B \-\-editmenu
|
|
|
|
Show the edit menu. This menu gives you the option to edit or view PKGBUILDs
|
|
|
|
before building.
|
|
|
|
|
|
|
|
\fBWarning\fR: Yay resolves dependencies ahead of time via the RPC. It is not
|
|
|
|
recommended to edit pkgbuild variables unless you know what you are doing.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-upgrademenu
|
|
|
|
Show a detailed list of updates in a similar format to VerbosePkgLists.
|
|
|
|
Upgrades can also be skipped using numbers, number ranges or repo names.
|
2018-08-20 16:05:56 +00:00
|
|
|
Additionally ^ can be used to invert the selection.
|
2018-06-11 19:09:29 +00:00
|
|
|
|
2018-08-18 06:02:50 +00:00
|
|
|
\fBWarning\fR: It is not recommended to skip updates from the repositories as
|
2018-07-28 03:49:15 +00:00
|
|
|
this can lead to partial upgrades. This feature is intended to easily skip AUR
|
|
|
|
updates on the fly that may be broken or have a long compile time. Ultimately
|
|
|
|
it is up to the user what upgrades they skip.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-nocleanmenu
|
|
|
|
Do not show the clean menu.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-nodiffmenu
|
|
|
|
Do not show the diff menu.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-noeditmenu
|
|
|
|
Do not show the edit menu.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-noupgrademenu
|
|
|
|
Do not show the upgrade menu.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-askremovemake
|
|
|
|
Ask to remove makedepends after installing packages.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-removemake
|
|
|
|
Remove makedepends after installing packages.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-noremovemake
|
|
|
|
Do not remove makedepends after installing packages.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-topdown
|
|
|
|
Display repository packages first and then AUR packages.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-bottomup
|
|
|
|
Show AUR packages first and then repository packages.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-devel
|
|
|
|
During sysupgrade also check AUR development packages for updates. Currently
|
2018-08-28 03:33:51 +00:00
|
|
|
only Git packages are supported.
|
|
|
|
|
|
|
|
Devel checking is done using \fBgit ls-remote\fR. The newest commit hash is
|
|
|
|
compared against the hash at install time. This allows devel updates to be
|
|
|
|
checked almost instantly and not require the original pkgbuild to be downloaded.
|
|
|
|
|
|
|
|
The slower pacaur-like devel checks can be implemented manually by piping
|
|
|
|
a list of packages into yay (see \fBexamples\fR).
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-nodevel
|
|
|
|
Do not check for development packages updates during sysupgrade.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-gitclone
|
|
|
|
Use git to download and update PKGBUILDs. PKGBUILDs previously downloaded
|
2018-06-04 19:00:01 +00:00
|
|
|
using tarball will continue to use tarballs until the package is clean
|
2018-07-28 03:49:15 +00:00
|
|
|
built. Similarly, PKGBUILDs managed with git will continue to use git until
|
|
|
|
the package is clean built..
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-nogitclone
|
|
|
|
Download and update PKGBUILDs using tarballs. The above conditions about
|
|
|
|
previously installed packages still apply.
|
|
|
|
|
|
|
|
.TP
|
2018-09-27 15:12:43 +00:00
|
|
|
.B \-\-cleanafter
|
2018-07-28 03:49:15 +00:00
|
|
|
Remove package sources after successful Install.
|
|
|
|
|
2018-09-27 15:08:00 +00:00
|
|
|
For packages downloaded through git, untracked files are removed with the
|
2019-06-17 11:02:49 +00:00
|
|
|
exception of directories. This allows VCS packages to easily pull an update
|
2018-09-27 15:08:00 +00:00
|
|
|
instead of having to re clone the entire repo.
|
|
|
|
|
2019-06-17 11:04:07 +00:00
|
|
|
For packages downloaded via tarball, the entire directory is deleted.
|
2018-09-27 15:08:00 +00:00
|
|
|
|
2018-07-28 03:49:15 +00:00
|
|
|
.TP
|
2018-09-27 15:12:43 +00:00
|
|
|
.B \-\-nocleanafter
|
2018-07-28 03:49:15 +00:00
|
|
|
Do not remove package sources after successful Install.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-timeupdate
|
2018-02-28 22:48:56 +00:00
|
|
|
During sysupgrade also compare the build time of installed packages against
|
2018-07-28 03:49:15 +00:00
|
|
|
the last modification time of each package's AUR page.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-notimeupdate
|
|
|
|
Do not consider build times during sysupgrade.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-redownload
|
|
|
|
Always download pkgbuilds of targets even when a copy is available in cache.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-redownloadall
|
2018-03-08 01:36:06 +00:00
|
|
|
Always download pkgbuilds of all AUR packages even when a copy is available
|
2018-07-28 03:49:15 +00:00
|
|
|
in cache.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-noredownload
|
2018-03-07 21:32:55 +00:00
|
|
|
When downloading pkgbuilds if the pkgbuild is found in cache and is equal or
|
2018-07-28 03:49:15 +00:00
|
|
|
newer than the AUR's version use that instead of downloading a new one.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-provides
|
|
|
|
Look for matching providers when searching for AUR packages. When multiple
|
|
|
|
providers are found a menu will appear prompting you to pick one. This
|
|
|
|
increases dependency resolve time although this should not be noticeable.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-noprovides
|
2018-10-18 22:27:49 +00:00
|
|
|
Do not look for matching providers when searching for AUR packages.
|
|
|
|
Yay will never show its provider menu but Pacman will still show its
|
|
|
|
provider menu for repo packages.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-pgpfetch
|
2018-06-04 19:00:01 +00:00
|
|
|
Prompt to import unknown PGP keys from the \fBvalidpgpkeys\fR field of each
|
|
|
|
PKGBUILD.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-nopgpfetch
|
2018-08-20 16:05:56 +00:00
|
|
|
Do not prompt to import unknown PGP keys. This is likely to cause a build
|
|
|
|
failure unless using options such as \fB\-\-skippgpcheck\fR or a customized
|
2018-06-04 19:00:01 +00:00
|
|
|
gpg config\%.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-useask
|
|
|
|
Use pacman's --ask flag to automatically confirm package conflicts. Yay lists
|
2018-08-20 16:05:56 +00:00
|
|
|
conflicts ahead of time. It is possible that Yay does not detect
|
|
|
|
a conflict, causing a package to be removed without the user's confirmation.
|
|
|
|
However, this is very unlikely.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-nouseask
|
2018-07-01 03:23:19 +00:00
|
|
|
Manually resolve package conflicts during the install. Packages which do not
|
2018-08-20 16:05:56 +00:00
|
|
|
conflict will not need to be confined manually.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-combinedupgrade
|
2018-07-01 03:23:19 +00:00
|
|
|
During sysupgrade, Yay will first perform a refresh, then show
|
2018-07-28 03:49:15 +00:00
|
|
|
its combined menu of repo and AUR packages that will be upgraded. Then after
|
2018-07-01 03:23:19 +00:00
|
|
|
reviewing the pkgbuilds, the repo and AUR upgrade will start with no need
|
2018-07-28 03:49:15 +00:00
|
|
|
for manual intervention.
|
2018-07-01 03:23:19 +00:00
|
|
|
|
2018-07-28 03:49:15 +00:00
|
|
|
If Yay exits for any reason After the refresh without upgrading. It is then
|
2018-07-01 03:23:19 +00:00
|
|
|
the user's responsibility to either resolve the reason Yay exited or run
|
2018-07-28 03:49:15 +00:00
|
|
|
a sysupgrade through pacman directly.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-nocombinedupgrade
|
2018-07-01 03:23:19 +00:00
|
|
|
During sysupgrade, Pacman \-Syu will be called, then the AUR upgrade will
|
2018-07-28 03:49:15 +00:00
|
|
|
start. This means the upgrade menu and pkgbuild review will be performed
|
|
|
|
after the sysupgrade has finished.
|
|
|
|
|
2019-10-21 14:02:38 +00:00
|
|
|
.TP
|
|
|
|
.B \-\-batchinstall
|
|
|
|
When building and installing AUR packages instead of installing each package
|
|
|
|
after building, queue each package for install. Then once either all packages
|
|
|
|
are built or a package in the build queue is needed as a dependnecy to build
|
|
|
|
another package, install all the packages in the install queue.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-nobatchinstall
|
|
|
|
Always install AUR packages immediately after building them.
|
|
|
|
|
2018-07-28 03:49:15 +00:00
|
|
|
.TP
|
|
|
|
.B \-\-rebuild
|
|
|
|
Always build target packages even when a copy is available in cache.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-rebuildall
|
2018-03-14 02:33:40 +00:00
|
|
|
Always build all AUR packages even when a copy is available
|
2018-07-28 03:49:15 +00:00
|
|
|
in cache.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-rebuildtree
|
2018-03-14 02:33:40 +00:00
|
|
|
When installing an AUR package rebuild and reinstall all of its AUR
|
2018-08-20 16:05:56 +00:00
|
|
|
dependencies recursively, even the ones already installed. This flag allows
|
2018-03-14 02:33:40 +00:00
|
|
|
you to easily rebuild packages against your current system's libraries if they
|
|
|
|
have become incompatible.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-norebuild
|
2018-03-14 02:33:40 +00:00
|
|
|
When building packages if the package is found in cache and is an equal version
|
2018-07-28 03:49:15 +00:00
|
|
|
to the one wanted skip the package build and use the existing package.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-mflags <flags>
|
|
|
|
Passes arguments to makepkg. These flags get passed to every instance where
|
2018-03-07 23:34:07 +00:00
|
|
|
makepkg is called by Yay. Arguments are split on whitespace before being
|
2018-03-08 01:36:06 +00:00
|
|
|
passed to makepkg. Multiple arguments may be passed by supplying a space
|
|
|
|
separated list that is quoted by the shell.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-gpgflags <flags>
|
|
|
|
Passes arguments to gpg. These flags get passed to every instance where
|
2018-03-17 20:40:24 +00:00
|
|
|
gpg is called by Yay. Arguments are split on whitespace before being
|
|
|
|
passed to gpg. Multiple arguments may be passed by supplying a space
|
|
|
|
separated list that is quoted by the shell.
|
2019-03-19 21:10:58 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-sudo <command>
|
|
|
|
The command to use for \fBsudo\fR calls. This can be a command in
|
|
|
|
\fBPATH\fR or an absolute path to the file.
|
|
|
|
The sudoloop is not guarantee to work with a custom \fBsudo\fR command.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-sudoflags <flags>
|
|
|
|
Passes arguments to sudo. These flags get passed to every instance where
|
|
|
|
sudo is called by Yay. Arguments are split on whitespace before being
|
|
|
|
passed to sudo. Multiple arguments may be passed by supplying a space
|
|
|
|
separated list that is quoted by the shell.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-sudoloop
|
2018-03-08 01:36:06 +00:00
|
|
|
Loop sudo calls in the background to prevent sudo from timing out during long
|
2018-07-28 03:49:15 +00:00
|
|
|
builds.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B \-\-nosudoloop
|
|
|
|
Do not loop sudo calls in the background.
|
|
|
|
|
|
|
|
.SH EXAMPLES
|
|
|
|
.TP
|
2018-01-14 20:34:08 +00:00
|
|
|
yay \fIfoo\fR
|
2018-07-28 03:49:15 +00:00
|
|
|
Search and install from the repos and the \fBAUR\fR\ using yogurt mode.
|
|
|
|
|
|
|
|
.TP
|
2018-06-04 19:00:01 +00:00
|
|
|
yay \-Syu
|
2018-07-28 03:49:15 +00:00
|
|
|
Update package list and upgrade all currently installed repo and \fBAUR\fR.
|
|
|
|
|
2018-08-05 14:28:06 +00:00
|
|
|
.TP
|
|
|
|
yay \-Sua
|
|
|
|
Update all currently installed \fBAUR\fR packages.
|
|
|
|
|
2018-07-28 03:49:15 +00:00
|
|
|
.TP
|
2018-06-04 19:00:01 +00:00
|
|
|
yay \-S \fIfoo\fR
|
2018-07-28 03:49:15 +00:00
|
|
|
Installs package \fIfoo\fR from the repos or the \fBAUR\fR.
|
|
|
|
|
|
|
|
.TP
|
2018-06-04 19:00:01 +00:00
|
|
|
yay \-Ss \fIfoo\fR
|
2018-07-28 03:49:15 +00:00
|
|
|
Searches for package \fIfoo\fR on the repos or the \fBAUR\fR.
|
|
|
|
|
|
|
|
.TP
|
2018-06-04 19:00:01 +00:00
|
|
|
yay \-Si \fIfoo\fR
|
2018-07-28 03:49:15 +00:00
|
|
|
Gets information about package \fIfoo\fR from the repos or the \fBAUR\fR.
|
|
|
|
|
|
|
|
.TP
|
2018-06-04 19:00:01 +00:00
|
|
|
yay \-S \fIfoo\fR \-\-mflags "\-\-skipchecksums \-\-skippgpcheck"
|
2018-07-28 03:49:15 +00:00
|
|
|
Installs \fIfoo\fR while skipping checksums and pgp checks.
|
|
|
|
|
|
|
|
.TP
|
2018-06-04 19:00:01 +00:00
|
|
|
yay \-\-devel \-\-save
|
2018-07-28 03:49:15 +00:00
|
|
|
Sets devel to true in the config.
|
|
|
|
|
|
|
|
.TP
|
2018-06-04 19:00:01 +00:00
|
|
|
yay \-P \-\-stats
|
2018-07-28 03:49:15 +00:00
|
|
|
Shows statistics for installed packages and system health.
|
|
|
|
|
2018-08-28 03:33:51 +00:00
|
|
|
.TP
|
|
|
|
pacman -Qmq | grep -Ee '-(cvs|svn|git|hg|bzr|darcs)$' | yay -S --needed -
|
|
|
|
pacaur-like devel check.
|
|
|
|
|
2019-10-21 14:02:38 +00:00
|
|
|
.SH ENVIRONMENT VARIABLES
|
|
|
|
.TP
|
|
|
|
.B AURDEST
|
|
|
|
Can be set to configure the build directory.
|
|
|
|
|
|
|
|
Overridden by \-\-builddir.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B VISUAL, EDITOR
|
|
|
|
When editor is not configured, use these variables to pick what editor
|
|
|
|
to use when editing PKGBUILDS.
|
|
|
|
|
2018-07-28 03:49:15 +00:00
|
|
|
.SH FILES
|
|
|
|
.TP
|
|
|
|
.B CONFIG DIRECTORY
|
2019-03-06 16:36:18 +00:00
|
|
|
The config directory is \fI$XDG_CONFIG_HOME/yay/\fR. If
|
2018-03-10 22:01:27 +00:00
|
|
|
\fB$XDG_CONFIG_HOME\fR is unset, the config directory will fall back to
|
2018-07-28 03:49:15 +00:00
|
|
|
\fI$HOME/.config/yay\fR.
|
|
|
|
|
|
|
|
\fIconfig.json\fR Is used to store all of Yay's config options. Editing
|
2018-03-10 22:01:27 +00:00
|
|
|
this file should be done through Yay, using the options
|
2018-07-28 03:49:15 +00:00
|
|
|
mentioned in \fBPERMANENT CONFIGURATION SETTINGS\fR.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B CACHE DIRECTORY
|
2019-03-06 16:36:18 +00:00
|
|
|
The cache directory is \fI$XDG_CACHE_HOME/yay/\fR. If
|
2018-03-10 22:01:27 +00:00
|
|
|
\fB$XDG_CACHE_HOME\fR is unset, the cache directory will fall back to
|
2018-07-28 03:49:15 +00:00
|
|
|
\fI$HOME/.cache/yay\fR.
|
|
|
|
|
2018-07-28 03:01:55 +00:00
|
|
|
\fIcompletion.cache\fR holds a list of of all packages, including the AUR,
|
2018-07-28 03:49:15 +00:00
|
|
|
for shell completion. By default the completion files are refreshed every
|
|
|
|
7 days.
|
|
|
|
|
2018-03-10 22:01:27 +00:00
|
|
|
\fIvcs.json\fR tracks VCS packages and the latest commit of each source. If
|
|
|
|
any of these commits change the package will be upgraded during a devel update.
|
2018-07-28 03:49:15 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B BUILD DIRECTORY
|
2018-03-10 22:01:27 +00:00
|
|
|
Unless otherwise set this should be the same as \fBCACHE DIRECTORY\fR. This
|
|
|
|
directory is used to store downloaded AUR Packages as well as any source files
|
2018-07-28 03:49:15 +00:00
|
|
|
and built packages from those packages.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.B PACMAN.CONF
|
2018-03-10 22:01:27 +00:00
|
|
|
Yay uses Pacman's config file to set certain pacman options either through
|
2018-06-04 19:00:01 +00:00
|
|
|
go\-alpm or Yay itself. Options inherited include most libalpm options and
|
2018-07-28 03:49:15 +00:00
|
|
|
pacman options.
|
|
|
|
|
|
|
|
Notably: \fBDatabases\fR, \fBColor\fR and \fB*Path/*Dir\fR options are used.
|
|
|
|
|
|
|
|
.SH SEE ALSO
|
|
|
|
.BR makepkg (8),
|
|
|
|
.BR makepkg.conf (5),
|
|
|
|
.BR PKGBUILD (5),
|
|
|
|
.BR pacman (8),
|
|
|
|
.BR pacman.conf (5)
|
|
|
|
|
|
|
|
See the arch wiki at https://wiki.archlinux.org/index.php/Arch_User_Repository for more info on the \fBAUR\fR.
|
|
|
|
|
|
|
|
.SH BUGS
|
|
|
|
Please report bugs to our GitHub page https://github.com/Jguer/yay
|
|
|
|
|
|
|
|
.SH AUTHORS
|
|
|
|
Jguer <joaogg3@gmail.com>
|
2018-02-28 22:48:56 +00:00
|
|
|
.br
|
2018-07-28 03:49:15 +00:00
|
|
|
Anna <morganamilo@gmail.com>
|