Tuesday, May 7, 2024
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 33162  / 2 Years ago, fri, september 30, 2022, 2:15:08

I want to download a complete off line openssh-server package installer. I need the offline package to setup for my school project but I don't have the internet facility in the lab.


More From » package-management

 Answers
4

If you will execute sudo apt-get download openssh-server you will get a .deb file that can be installed offline.



However, as there are several dependencies packages that are required by openssh-server you will probably want to download all of them too.

To do it execute this instead: sudo apt-get build-dep --download-only --reinstall -o dir::cache=<path_to_save> openssh-server. where <path_to_save> is where you want the downloaded dependencies to be saved.


[#39794] Saturday, October 1, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
doredtness

Total Points: 153
Total Questions: 113
Total Answers: 106

Location: South Georgia
Member since Fri, Nov 13, 2020
4 Years ago
;