There is a special tool for that: apt-offline, available at: https://github.com/rickysarraf/apt-offline
There is a special tool for that: apt-offline, available at: https://github.com/rickysarraf/apt-offline