Before switching off your old ubuntu machine for good, run
which will output all the stuff you’ve installed using the package manager to a flat file (Packages.lst). Copy this file to your new machine.
will then set all those packages ready for install on your new machine.
and then when you are feeling brave
will install them for you…hopefully!
oh and watch out for things you don’t want to install on the new machine, like gfx drivers. You can remove them from Packages.lst