Thursday, April 2, 2020

apt-get install to a folder of your choice

sudo apt-get install --download-only 'required-library' -o Dir::Cache::archives='path to your folder'

example path = '/home/ubuntu/test/'
example required library =  numpy