3 ms·
You can just download the .deb files from https://download.docker.com/linux/ubuntu/dists/focal/pool/stable/amd64/ https://download.docker.com/linux/ubuntu/dists
by sp332 6y ago
You can just download the .deb files from https://download.docker.com/linux/ubuntu/dists/focal/pool/stable/amd64/ https://download.docker.com/linux/ubuntu/dists/focal/pool/st... and install them. No need to add another repo.
- pqb 6y agoErm, no. I think I haven't been clear in my first post. I am not asking about "how to install apt package", but how to provide a universal recipe to provide 3rd-party software as handy installation script. What you suggest is how to download and install few debs from a website. When I writing such script, I don't trust the host name "just like that" as you suggest. It can be malformed or point totally to different host that we would expect.