Offline Install or Update Ubuntu Packages (Without Internet)

So you have a machine without Internet or the Internet is very slow and you want to update or install Ubuntu and packages.

There is a simple way to install packages and softwares in machine that doesn't have Internet with it.

First go to the machine that doesn't have Internet, i.e. the machine you want to install packages.

  1. Open Synaptic Package Manager from System-Administration Menu.

  2. Select the packages you want to install.
  3. Go to File and select Generate Package Download Script

  4. Save the file and bring it to the computer that has Internet.
  5. Run that file.
  6. It will download all the packages and its dependencies.
  7. Put them in a removable drive.
  8. Bring the drive back to the old machine.
  9. Open Synaptic Package Manger again.
  10. From File menu choose Add Downloaded Packages.
You're done. That's 10 easy steps to install software and add packages to Ubuntu box which doesn't have Internet.

To update your system follow the same above procedures but instead of 'step 2' Go to Edit and Mark all Upgrades.


  1. For Additional Repos:
    Yes this is helpful unless of course, you wish to add repositories. If you wish to add repos and still want to update and install Ubuntu from new repos, follow instructions in or visit

  2. It just doesn't work, it produces an almost empty file with only "#!/bin/sh" is on the top.

  3. do you see only #!/bin/sh or a line with wget?

  4. @Tsviki

    I think you forgot to select any packages.

  5. well, this is my assumption, that TO UPDATE packages installed in my system, it somewhere has to connect to update-server, and fetch the list of package versions to be updated.

    U said 'To update your system follow the same above procedures but instead of 'step 2' Go to Edit and Mark all Upgrades', but how a system(which is not connected to internet) be able to know what packages to be updated?

  6. @athevil, that is a good point. If you have slow internet you can get the update list and download the big packages somewhere else. Otherwise there are ways to download the package list from remote computer as well.

  7. installing packages is fine.. How to update??????????????????????

  8. Try using something like Keryx ( instead if you want something cross platform that includes updates and everything works same as if your computer were online.

  9. ive used this method and it is indeed right.

    now my problem is how to apply this to the files generated in update manager(not in synaptic) due to i want to update several ubuntu workstations in offline mode... please help.. my email is

  10. To apply this generated files in ur offline pc you need to log in as root then copy your ".deb" files into "var/cache/apt/archives/" directory,then right click into archives directory to open it with terminal...,
    Now in the terminal window type "dpkg -i *.deb"
    I use this for many years now..
    By Nicky..

  11. Well that sounds good, hope the new synaptics also have that option.

  12. This comment has been removed by a blog administrator.


Post a Comment

Comments are moderated. No spam please.

Popular posts from this blog

Adobe Stand Alone Flash Player for Linux

Squid Access.log Meaning Explained

[Solved] invalid partition table on /dev/sda -- wrong signature 0.