Is it possible to simply download a deb file using curl or get it without having to dig for the URLs from the ppa file or use apt? Mainly to simple download the file from other non debian Linux distros or even Macs and windows?
Context...I am trying to package the. nginx deb file for an application in cloudfoundry using the apt-buildpack. https://github.com/cloudfoundry/apt-buildpack#cloud-foundry-experimental-apt-buildpack which can take a local deb file and install them. (Probably deb's of dependencies as well maybe).
The environment will not have access to external repo so everything needs to be packaged and pushed including the deb file. Also, I don't want to use the nginx buildpack.
I saw an approach of using wget (by getting the URL from apt). But is there any other way to get the URL without apt?
wget
to download them, but I don't see the point to your question... grabbing the deb is the easy part – guiverc Jul 12 '23 at 22:39