Site icon port135.com

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.

sudo apt-get --download-only openssh-server

sudo dpkg -i /home/name/Desktop/ssh.deb

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

Exit mobile version