Can I inspect the installed versions of system packages?

List binaries in profile:

find /run/current-system/sw/bin/ -type l -exec readlink {} \; | sed -E 's|[^-]+-([^/]+)/.*|\1|g' | sort -u

Output format:

gnugrep-3.3
gnumake-4.2.1
gnupg-2.2.17
…

Remove the bin/ suffix in the above command to list all drv outputs used in the profile.

2 Likes