for debian systems. Ubuntu 18.04
1. Download The packages
On an internet connected system, download the packages you need.
1 |
apt-get install --download-only <package-name> |
If you already have the package installed locally, you will need to add the –reinstall flag
1 |
apt-get install --download-only <package-name> --reinstall |
2. Copy to the target system
The download-only options, puts the package and dependencies into
1 |
>/var/cache/apt/archives |
Download the deb files and copy to your target system.
3. Install the packages
1 |
> dpkg -i <package-name> |