mirror of
https://github.com/Jguer/yay
synced 2024-08-31 21:58:39 +00:00
.go | ||
completions | ||
doc | ||
testdata/keys | ||
vendor/github.com | ||
.gitignore | ||
callbacks.go | ||
clean.go | ||
cmd.go | ||
completions.go | ||
config.go | ||
conflicts.go | ||
dependencies.go | ||
download.go | ||
Gopkg.lock | ||
Gopkg.toml | ||
install.go | ||
ISSUE_TEMPLATE.md | ||
keys.go | ||
keys_test.go | ||
LICENSE | ||
main.go | ||
Makefile | ||
parser.go | ||
parser_test.go | ||
print.go | ||
print_test.go | ||
query.go | ||
query_test.go | ||
README.md | ||
upgrade.go | ||
upgrade_test.go | ||
utils.go | ||
vcs.go | ||
vcs_test.go |
yay
Yet another Yogurt - An AUR Helper written in Go
Packages
There's a point in everyone's life when you feel the need to write an AUR helper because there are only about 20 of them.
So say hi to 20+1.
Yay was created with a few objectives in mind and based on the design of yaourt and apacman:
- Have almost no dependencies.
- Provide an interface for pacman.
- Have yaourt like search.
- Minimize user input
- Know when git packages are due for an upgrade.
Features
- AUR Tab completion
- Download PKGBUILD from ABS or AUR
- Ask all questions first and then start building
- Search narrowing (
yay linux header
will first search linux and then narrow on header) - No sourcing of PKGBUILD is done
- The binary has no dependencies that pacman doesn't already have.
- Sources build dependencies
- Removes make dependencies at the end of build process
Frequently Asked Questions
- Yay does not display colored output. How do I fix it?
Make sure you have theColor
option in your/etc/pacman.conf
#123
Example of Custom Operations
yay <Search Term>
presents package selection menuyay -Ps
prints system statisticsyay -Pu
prints update listyay -Yc
cleans unneeded dependenciesyay -G
downloads PKGBUILD from ABS or AURyay -Y --gendb
generates development package DB used for devel updates.yay -Syu --devel --timeupdate
Normal update but also check for development package updates and uses PKGBUILD modification time and not version to determine update
![](https://cdn.rawgit.com/Jguer/jguer.github.io/5412b8d6/yay/yay-ps.png)
![](https://cdn.rawgit.com/Jguer/jguer.github.io/5412b8d6/yay/yayupgrade.png)
![](https://cdn.rawgit.com/Jguer/jguer.github.io/5412b8d6/yay/yaysearch.png)