Download all the dependent debs in Ubuntu given your required package name
Prerequisite:
- Docker Engine (how to install)
Usage:
bash download.sh <ubuntu_version> <package_name> [in_china]
Example:
bash download.sh 16.04 libopenblas-dev in_china
After this script finished running, you will get an file named libopenblas-dev.tar.gz in your current folder. Unzip it and use dpkg -i to install those debs.