Produces a JSON output form of the installed Debian packages list
- Python 3.4.3+
- An Ubuntu or Debian distribution of Linux (for
dpkg
)
pip install dpkg_list_json
dpkg_list_json > /path/to/output.json
dpkg_list_json > $(pwd)/example.json
See examples directory for sample output from a Raspberry Pi 3+