From 99ecfb405480be1b286cd5bc3049abea2cc799dc Mon Sep 17 00:00:00 2001 From: MasterTos Date: Mon, 29 Oct 2018 00:12:49 +0700 Subject: [PATCH] yay: add page (#2460) --- pages/linux/yay.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/linux/yay.md diff --git a/pages/linux/yay.md b/pages/linux/yay.md new file mode 100644 index 0000000000..2d1f9c7982 --- /dev/null +++ b/pages/linux/yay.md @@ -0,0 +1,28 @@ +# yay + +> Yet Another Yogurt: A utility for Arch Linux to build and install packages from the Arch User Repository. +> Also see `pacman`. + +- 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_name}}` + +- Search the package database for a keyword from the repos and AUR: + +`yay -Ss {{keyword}}` + +- Show statistics for installed packages and system health: + +`yay -Ps`