rnd's website logoalpine linux package size list script

This script will list the sizes of all packages in your Alpine Linux install.


PACKAGES=`apk info -e -s \*`

a=`echo "$PACKAGES" | awk 'NR % 3 == 1' | cut -d ' ' -f 1`
a=`echo "$PACKAGES" | awk 'NR % 3 == 2'`

for i in ${!PKGNAMES[@]}; do
        echo -e "${PKGSIZES[$i]} - ${PKGNAMES[$i]}"

Run it with ./apksize.sh | sort -n | uniq to get a properly-sorted and deduplicated list.

Hosted by Neocities Follow me on Mastodon This page made with Vim SimpleJPC-16 Best viewed in Firefox Alpine Linux The Dreamcast Junkyard Dreamcast Live Blaseball F-Droid jan li lukin e lipu ni lon tenpo mute Jet Set Radio Live
Website created and updated by /dev/urandom. Source code available on the GitLab page.