yay.8 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. /n'\" t
  2. .TH "YAY" "8" "2018-02-29" "Yay v3\&.411+" "Yay Manual"
  3. .nh
  4. .ad l
  5. .SH "NAME"
  6. yay \- AUR Helper written in go
  7. .SH "SYNOPSIS"
  8. .sp
  9. \fIyay\fR <operation> [options] [targets]
  10. .sp
  11. \fIyay\fR <search pattern>
  12. .SH "DESCRIPTION"
  13. .sp
  14. Yay is a Pacman wrapper with AUR support\&. It passes options to Makepkg and
  15. Pacman after resolving packages to install/upgrade\&.
  16. .sp
  17. This manpage only covers options unique to Yay\&. For other options see
  18. \fBpacman(8)\fR\&.
  19. .SH "YAY OPERATIONS"
  20. .PP
  21. \fB\-Y, --yay\fR
  22. .RS 4
  23. Perform yay specific operations\&. This is the default if no other operation is
  24. selected\&.
  25. .RE
  26. .PP
  27. \fB\-P, --print\fR
  28. .RS 4
  29. Perform yay specific print operations\&.
  30. .RE
  31. .PP
  32. \fB\-G, --getpkgbuild\fR
  33. .RS 4
  34. Downloads PKGBUILD from ABS or AUR\&.
  35. .RE
  36. .PP
  37. If no operation is selected -Y will be assumed\&.
  38. .SH "EXTENDED PACMAN OPERATIONS"
  39. .PP
  40. \fB\-S, -Si, -Ss, -Su\fR
  41. .RS 4
  42. These operations are extended to support both AUR and repo packages\&.
  43. .RE
  44. .PP
  45. \fB\-R\fR
  46. .RS 4
  47. Yay will also remove cached data about devel packages\&.
  48. .RE
  49. .SH "YAY OPTIONS (APPLY TO -Y AND --YAY)"
  50. .PP
  51. \fB<NO OPTION>\fR
  52. .RS 4
  53. Displays a list of packages matching the search terms and prompts the user on
  54. which packages to install (yogurt mode)\&.
  55. .RE
  56. .PP
  57. \fB \-\-gendb\fR
  58. .RS 4
  59. Generate development package databse\&. Tracks the latest commit for each
  60. development package, when there is a new commit Yay will know to update\&. This
  61. is done per package whenever a package is synced. This option should only be
  62. used when migrating to Yay from another AUR helper.
  63. .RE
  64. .PP
  65. \fB\-c \-\-clean\fR
  66. .RS 4
  67. Remove unneeded dependencies\&.
  68. .RE
  69. .SH "PRINT OPTIONS (APPLY TO -P AND --PRINT)"
  70. \fB\-c \-\-complete\fR
  71. .RS 4
  72. Print a list of all AUR and repo packages\&. This is to allow shell completion
  73. and is not intended to be used directly by the user\&.
  74. .RE
  75. .PP
  76. \fB\-f \-\-fish\fR
  77. .RS 4
  78. During complete adjust the output for the fish shell\&.
  79. .RE
  80. .PP
  81. \fB\-d \-\-defaultconfig\fR
  82. .RS 4
  83. Print default yay configuration\&.
  84. .RE
  85. .PP
  86. \fB\-g \-\-config\fR
  87. .RS 4
  88. Print current yay configuration\&.
  89. .RE
  90. .PP
  91. \fB\-n \-\-numberupgrades\fR
  92. .RS 4
  93. Print number of packages that need to be updated\&. Note this does not preform
  94. a database refresh\&. Run \fByay -Sy\fR Before this for an up to date result\&.
  95. .RE
  96. .PP
  97. \fB\-s \-\-stats\fR
  98. .RS 4
  99. Displays information about installed packages and system health\&. If there are
  100. orphaned, out-of-date or packages that no longer exist on the AUR warnings will
  101. be displayed\&.
  102. .RE
  103. .PP
  104. \fB\-u \-\-upgrades\fR
  105. .RS 4
  106. Print Names of packages that need to be updated\&. Note this does not preform
  107. a database refresh\&. Run \fByay -Sy\fR Before this for an up to date result\&.
  108. .PP
  109. .SH "PERMANENT CONFIGURATION SETTINGS"
  110. .PP
  111. \fB\-\-save\fR
  112. .RS 4
  113. Causes the following options to be saved back to the config file\&. This
  114. provides an easy way to change config options without directly editing the
  115. file\&.
  116. .RE
  117. .PP
  118. \fB\-\-topdown\fR
  119. .RS 4
  120. Display repository packages first and then AUR packages\&.
  121. .RE
  122. .PP
  123. \fB\-\-bottomup\fR
  124. .RS 4
  125. Show AUR packages first and then repository packages\&.
  126. .RE
  127. .PP
  128. \fB\-\-devel\fR
  129. .RS 4
  130. During sysupgrade also check AUR development packages for updates\&. Currently
  131. only GitHub packages are supported\&.
  132. .RE
  133. .PP
  134. \fB\-\-nodevel\fR
  135. .RS 4
  136. Do not check for development packages updates during sysupgrade\&.
  137. .RE
  138. .PP
  139. \fB\-\-afterclean\fR
  140. .RS 4
  141. Remove package sources after successful Install\&.
  142. .RE
  143. .PP
  144. \fB\-\-noafterclean\fR
  145. .RS 4
  146. Do not remove package sources after successful Install\&.
  147. .RE
  148. .PP
  149. \fB\-\-timeupdate\fR
  150. .RS 4
  151. During sysupgrade also compare the build time of installed packages against
  152. the last modification time of each package's AUR page\&.
  153. .RE
  154. .PP
  155. \fB\-\-notimeupdate\fR
  156. .RS 4
  157. Do not consider build times during sysupgrade\&.
  158. .RE
  159. .PP
  160. \fB\-\-redownload\fR
  161. .RS 4
  162. Always download pkgbuilds of targets even when a copy is avaliable in cache\&.
  163. .RE
  164. .PP
  165. \fB\-\-redownloadall\fR
  166. .RS 4
  167. Always download pkgbuilds of all AUR packages even when a copy is avaliable
  168. in cache\&.
  169. .RE
  170. .PP
  171. \fB\-\-noredownload\fR
  172. .RS 4
  173. When downloading pkgbuilds if the pkgbuild is found in cache and is equal or
  174. newer than the AUR's version use that instead of downloading a new one\&.
  175. .RE
  176. .SH "EXAMPLES"
  177. .PP
  178. yay \fIfoo\fR
  179. .RS 4
  180. Search and install from the repos and the \fBAUR\fR\ using yogurt mode\&.
  181. .RE
  182. .PP
  183. yay -Syu
  184. .RS 4
  185. Update package list and upgrade all currently installed repo and \fBAUR\fR\&.
  186. .RE
  187. .PP
  188. yay -S \fIfoo\fR
  189. .RS 4
  190. Installs package \fIfoo\fR from the repos or the \fBAUR\fR\&.
  191. .RE
  192. .PP
  193. yay -Ss \fIfoo\fR
  194. .RS 4
  195. Searches for package \fIfoo\fR on the repos or the \fBAUR\fR\&.
  196. .RE
  197. .PP
  198. yay -Si \fIfoo\fR
  199. .RS 4
  200. Gets information about package \fIfoo\fR from the repos or the \fBAUR\fR\&.
  201. .RE
  202. .PP
  203. yay -S \fIfoo\fR
  204. .RS 4
  205. Installs package \fIfoo\fR from the repos or the \fBAUR\fR\&.
  206. .RE
  207. .PP
  208. yay --devel --save
  209. .RS 4
  210. Sets devel to true in the config\&.
  211. .RE
  212. .PP
  213. yay --stats
  214. .RS 4
  215. Shows statistics for installed packages and system health\&.
  216. .RE
  217. .SH "SEE ALSO"
  218. .sp
  219. \fBmakepkg\fR(8)
  220. \fBpacman\fR(8)
  221. \fBpacman\&.conf\fR(5)
  222. .PP
  223. See the arch wiki at https://wiki\&.archlinux\&.org/index\&.php/Arch_User_Repository for more info on the \fBAUR\fR\&.
  224. .SH "BUGS"
  225. .PP
  226. Please report bugs to our GitHub page https://github\&.com/Jguer/yay
  227. .SH "AUTHORS"
  228. .sp
  229. Jguer <joaogg3@gmail\&.com>
  230. .br
  231. Morgana <morganamilo@gmail\&.com>