Best way to compare installed packages and versions between two routers

I am trying to find a quick way to compare the installed packages and versions between two routers.

I have tried highlighting the table on the luci/admin/system/opkg# page but it does not copy and paste as a table.

Is there an better way to do this?

I would start with SSH console:
opkg list-installed

Do that in both routers, and either transfer the output as files to your PC, or use copy-paste, or ...

Then just use diff / winmerge / whatever to compare them.

 OpenWrt SNAPSHOT, r16153-fc5b101c06
 -----------------------------------------------------
root@router1:~# opkg list-installed
6in4 - 26
6rd - 10
6to4 - 13
adblock - 4.1.0-2
ath10k-board-qca9984 - 20201118-3
ath10k-firmware-qca9984-ct - 2020-11-08-1
banip - 0.7.3-1
base-files - 1411-r16153-fc5b101c06
bcp38 - 5-6
block-mount - 2021-03-05-3c38f0c8-2
busybox - 1.33.0-1
ca-bundle - 20210119-1
ca-certificates - 20210119-1
ccrypt - 1.11-2
cgi-io - 2020-10-27-ab4c3471-19
collectd - 5.12.0-7
collectd-mod-conntrack - 5.12.0-7
collectd-mod-cpu - 5.12.0-7
collectd-mod-cpufreq - 5.12.0-7
...

(LuCI just shows you the output of opkg list-installed formatted as table)

2 Likes

Thanks that helped