How to install any package on a Linux without internet? (offline installation)

It is kind a tricky situation. If you want to install a package on your Linux, you might use Software Center or command prompt. It fetches and install the package via internet for you. What if you don’t have the internet?

Steps are simple:

  1. Get the package somehow 
  2. Give the command by pointing offline package file

This is an example of installing SSH on Ubuntu 12.10 offline.

  • In order to have offline installation file, follow this command:
sudo apt-get --download-only openssh-server


Who Unfriended me on Facebook?
  • Install it by using deb file:
sudo dpkg -i /home/name/Desktop/ssh.deb


You can use the similar steps for almost any kind of packages!

Spread the word!

Leave a Reply

Your email address will not be published. Required fields are marked *