Skip to content

Instantly share code, notes, and snippets.

@h4n2k
Last active August 27, 2018 14:11
Show Gist options
  • Select an option

  • Save h4n2k/ccc3843c8d5122f914cfd4ccc851e5ce to your computer and use it in GitHub Desktop.

Select an option

Save h4n2k/ccc3843c8d5122f914cfd4ccc851e5ce to your computer and use it in GitHub Desktop.
Cleaning the package cache & Removing unused packages (orphans) Arch Linux
Removing unused packages (orphans)
# sudo pacman -Rns $(pacman -Qtdq)
Cleaning the package cache
# sudo pacman -Sc
# journalctl --disk-usage
# sudo journalctl --vacuum-size=10M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment