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.
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.
I know that this is an old question, but I stumbled upon it and it came very close to solving my problem on Ubuntu 14.04.
I thought I would post some additional instructions to add to the answer that was given above by yossile. I had to make a few minor modifications to their instructions for complete success.
Download the openssh-server package (this grabs the .deb file):
Download the dependencies for openssh-server:
PATHFORDEPS
is where you want the downloaded dependencies to be saved.the
--reinstall
option has been removed. It was throwing an error in 14.04, but the remainder of the command works as it should without it.Download additional dependencies (the above command didn't grab these):
Install OpenSSH Server (be sure all .deb files are in the same folder):
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.Steps:
In order to get offline installation file, follow this command:
Install it by using “deb” file: