Install packages on a standalone Linux environment without Internet

Transfer Linux packages from online to offline envs

Pre-requisites

  1. PC #1: Ubuntu machine with Internet access;

PC #1 (Online)

URLS=$(sudo apt-get install PACKAGE_NAME --print-uris -qq | sed -n "s/'\([^ ]\+\)' \([^ ]\+\) \([^ ]\+\) MD5Sum:\([^ ]\+\)/…