Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Arch Linux: List packages installed without a dependency sorted by size
#!/bin/bash
pacman -Qi | awk '/^Name/{name=$3} /^Required By/{req=$4} /^Installed Size/{print $4$5, name, req}' | grep None | sort -h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment