My question applies to Debian/Ubuntu:
Prior to updating/upgrading my Linux environment I want to implement best-practice procedures by taking a snapshot of my components' versions through a simple script that records into a text file version numbers for OS, mySQL, PHP and so on.
However I can't find anywhere how to reliably obtain version number for phpMyAdmin via command line.
If there is no better way I'm happy to grep files such as
/usr/share/phpmyadmin/Config.php
or /usr/share/phpmyadmin/package.json
.
Am I missing something?
I know how to check version number via phpMyAdmin's web interface but that is not helpful for what I need.