https://ostechnix.com/backup-installed-packages-and-restore-them-on-freshly-installed-ubuntu-system/
Backup Installed Packages And Restore Them On Freshly Installed Ubuntu Using Apt-clone