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:
- Get the package somehow
- 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
- 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!