It could be done uding dpkg to rebuild an installed package into a .deb package then using apt-get (from the other system) to nstall the package.
But it would be far easier just to apt-get install the package onto the HD system in the normal manner from on line.