1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 20:02:09 +02:00
tldr/pages/linux/yay.md
K.B.Dharun Krishna 2135714193
pages/*, style-guide: update contents, fix Markdown (#10492)
* pages/*, style-guide: update pages, fix Markdown (commit 1)

* Update pages

* style-guide.de: update page

* Apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* pip3: remove search command

* rpm: update path placeholder

Co-authored-by: pixel <pixel+github@chrissx.de>

* Update pages/linux/pkgfile.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: pixel <pixel+github@chrissx.de>
2023-08-26 23:00:06 +05:30

37 lines
861 B
Markdown

# yay
> Yet Another Yogurt: A utility for Arch Linux to build and install packages from the Arch User Repository.
> Also see `pacman`.
> More information: <https://github.com/Jguer/yay>.
- 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:
`yay -S {{package}}`
- Remove an installed package and both its dependencies and configuration files:
`yay -Rns {{package}}`
- Search the package database for a keyword from the repos and AUR:
`yay -Ss {{keyword}}`
- Remove orphaned packages (installed as dependencies but not required by any package):
`yay -Yc`
- Show statistics for installed packages and system health:
`yay -Ps`