Install Debian Packages Offline

03 May

This is a simple trick to install .deb packages in any Debian based distributions.Even though you can install packages offline, but you need Internet to download packages.Download packages from your friend’s computer or any other browsing center.

  • Open Administration->Synaptic manager.


Download package via synaptic because, it will download all dependencies.It makes our work easier

  • Mark packages that you want to install,in this case download.
  • After marking all the packages.Open File->Generate script.This will generate script and save it.
  • Open Applications->Terminal.Go to the location where you saved the script.Execute the following command.
sudo sh script name
  • All packages will be downloaded.Copy all the packages in your thumb drive.
  • Plug the thumb drive into your system.Copy all the contents to your home folder.
  • Open Terminal,go to to the place where you pasted the packages and execute the following command.
sudo dpkg  --force-depends -i *.deb

–force-depends option will install packages  without checking dependencies

  • This will install all packages.That’s it.

Tags: , , , ,

2 responses to “Install Debian Packages Offline

  1. manoj1987

    July 18, 2010 at 2:21 PM

    need a more detailed post on this topic Blakcaps!

    • Srivats

      July 26, 2010 at 5:08 PM

      Which details are missing


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: