Bash script to get installed Debian packages