OK I am not sure that is exactly what I want, the output looks like the package list in the qgis web site where the packages are stored. What I need is the version of each dependency which is actually on my computer now.
So example Package: libqgisgrass7-3.10.7 Depends: libc6 (>= 2.14), libexpat1 (>= 2.0.1), libgcc1 (>= 1:3.0), libgdal20 (>= 1.11), libgeos-c1v5 (>= 3.4.2), libproj13 (>= 4.8.0), libqca-qt5-2 (>= 2.0.2), libqgis-core3.10.7, libqgis-gui3.10.7, libqgis-native3.10.7, libqscintilla2-qt5-13 (>= 2.8.4), libqt5concurrent5 (>= 5.0.2), libqt5core5a (>= 5.11.0~rc1), libqt5dbus5 (>= 5.0.2), libqt5gui5 (>= 5.2.0), libqt5keychain1 (>= 0.7.0), libqt5network5 (>= 5.0.2), libqt5positioning5 (>= 5.6.0), libqt5printsupport5 (>= 5.0.2), libqt5qml5 (>= 5.0.2), libqt5quick5 (>= 5.0.2), libqt5quickwidgets5 (>= 5.3.0), libqt5serialport5 (>= 5.4.1), libqt5sql5 (>= 5.0.2), libqt5svg5 (>= 5.6.0~beta), libqt5webkit5 (>= 5.6.0~rc), libqt5widgets5 (>= 5.2.0~alpha1), libqt5xml5 (>= 5.0.2), libqwt-qt5-6 (>= 6.1.2), libspatialindex5 (>= 1.8.1), libspatialite7 (>= 2.4.0), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 5), libzip4 (>= 0.10), ocl-icd-libopencl1 | libopencl1 Tells me what should be in my system but not actually what is in my system. On Thu, 23 Jul 2020 at 23:39, Sebastiaan Couwenberg <sebas...@xs4all.nl> wrote: > On 7/23/20 1:18 PM, Patrick Dunford wrote: > > Is there some kind of script I could run that would print out a list of > > all the Qgis library dependencies and their version numbers. > > This oneliner should help: > > for pkg_version in $(dpkg -l | grep qgis | grep ^ii | awk '{print > $2"="$3}'); do apt-cache show $pkg_version | egrep > "Package|Depends|Recommends" && echo; done > > Kind Regards, > > Bas > > -- > GPG Key ID: 4096R/6750F10AE88D4AF1 > Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 > _______________________________________________ > QGIS-Developer mailing list > QGIS-Developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer