2018-10-28 17:12:49 +00:00
|
|
|
# yay
|
|
|
|
|
2024-02-14 20:25:13 +00:00
|
|
|
> Yet Another Yogurt: build and install packages from the Arch User Repository.
|
2018-10-28 17:12:49 +00:00
|
|
|
> Also see `pacman`.
|
2021-03-08 20:16:15 +00:00
|
|
|
> More information: <https://github.com/Jguer/yay>.
|
2018-10-28 17:12:49 +00:00
|
|
|
|
|
|
|
- Interactively search and install packages from the repos and AUR:
|
|
|
|
|
|
|
|
`yay {{package_name|search_term}}`
|
|
|
|
|
|
|
|
- Synchronize and update all packages from the repos and AUR:
|
|
|
|
|
|
|
|
`yay`
|
|
|
|
|
|
|
|
- Synchronize and update only AUR packages:
|
|
|
|
|
|
|
|
`yay -Sua`
|
|
|
|
|
|
|
|
- Install a new package from the repos and AUR:
|
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`yay -S {{package}}`
|
2018-10-28 17:12:49 +00:00
|
|
|
|
2021-03-25 12:31:09 +00:00
|
|
|
- Remove an installed package and both its dependencies and configuration files:
|
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`yay -Rns {{package}}`
|
2021-03-25 12:31:09 +00:00
|
|
|
|
2018-10-28 17:12:49 +00:00
|
|
|
- Search the package database for a keyword from the repos and AUR:
|
|
|
|
|
|
|
|
`yay -Ss {{keyword}}`
|
|
|
|
|
2021-08-14 14:07:18 +01:00
|
|
|
- Remove orphaned packages (installed as dependencies but not required by any package):
|
|
|
|
|
|
|
|
`yay -Yc`
|
|
|
|
|
2018-10-28 17:12:49 +00:00
|
|
|
- Show statistics for installed packages and system health:
|
|
|
|
|
|
|
|
`yay -Ps`
|