libexec/sh/linux: Function to list packages installed with apt