Skip to content

Instantly share code, notes, and snippets.

@daniloab
Last active May 31, 2021 14:53
Show Gist options
  • Select an option

  • Save daniloab/2e8c73f9f8d4f8e0f90a6654b06f8895 to your computer and use it in GitHub Desktop.

Select an option

Save daniloab/2e8c73f9f8d4f8e0f90a6654b06f8895 to your computer and use it in GitHub Desktop.

Arch Linux

List of fast and common commands

YAY

list

  • all depencies yay -Qe <packagename>
  • all dev-dependecies yay -Qs <packagename>
  • specific dependencies yay -Qi <packagename> The usage of -i rather than -s ensures you will check for exactly that package and not for the presence of a a package containing the package name in its name.
  • remove specific yay -R <packagename>

search

  • package yay -Ss foo

update system

  • yay --sync --sysupgrade --refresh --noconfirm;
  • yay --sync --noconfirm --clean;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment