aboutsummaryrefslogtreecommitdiff
path: root/pages/linux/yay.md
diff options
context:
space:
mode:
authorAnthony Wang2021-01-21 12:00:56 -0600
committerAnthony Wang2021-01-21 12:00:56 -0600
commit9eb5969c592a132cbaab96858ccd40ee11b2344b (patch)
tree40aad7e659320d02116fb2065cfe95979c226e7b /pages/linux/yay.md
parentf491236578caf128ecfb0fdc163627bb64004088 (diff)
Fix formatting
Diffstat (limited to 'pages/linux/yay.md')
-rw-r--r--pages/linux/yay.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/pages/linux/yay.md b/pages/linux/yay.md
index 2306549..c22fa02 100644
--- a/pages/linux/yay.md
+++ b/pages/linux/yay.md
@@ -19,43 +19,43 @@
`yay -Ss {{keyword}}`
-- Get information about a package
+- Get information about a package:
`yay -Si {{package_name}}`
-- Clean the package cache
+- Clean the package cache:
`yay -Sc`
-- Completely wipe the package cache
+- Completely wipe the package cache:
`yay -Scc`
-- Uninstall a package and delete config files
+- Uninstall a package and delete config files:
`yay -Rns {{package_name}}`
-- Install a local package (useful for rolling back updates)
+- Install a local package (useful for rolling back updates):
`yay -U /var/cache/pacman/pkg/{{package_name}}`
-- Find out which package owns a file
+- Find out which package owns a file:
`yay -Qo {{file_name}}`
-- List files contained in a package
+- List files contained in a package:
`yay -Ql {{package_name}
-- List all explicitly installed packages (includes AUR packages)
+- List all explicitly installed packages (includes AUR packages):
`yay -Qe`
-- Save all explicitily installed packages to a file
+- Save all explicitily installed packages to a file:
`yay -Qe | awk '{print $1}' > packages.txt`
-- Remove all unneeded dependencies
+- Remove unneeded dependencies:
`yay -Yc`