Carry Latest Ubuntu Updates and Apps on your PenDrive

The most annoying thing about Ubuntu is that you have to install a lot of updates and applications after installing Ubuntu.If you are installing Ubuntu on many computers,then you can avoid downloading the updates on each and every computer.All you need is some portable storage medium,preferably a USB Pendrive (atleast 512MB).

Part 1:-Prepare your USB Pendrive

Install Ubuntu on a Computer ,preferably with a fast Internet connection and install all updates and the required applications.

Plug your USB Pendrive.Go To Places-Computer-Filesystem-var-cache-apt-archives

Press Ctrl+H to view Hidden Files.

Press Ctrl+A to select all the files.

Press Ctrl+C to Copy the Files.

Open your USB Pendrive.Create a folder aptcache and open it.Paste all the files into this folder by pressing Ctrl+V.

Now you have a Pendrive which contains all the updates and applications.

Carry this pendrive with you when you install Ubuntu on other Computers.

Part 2:Install Updates and Applications from your Pendrive

Install Ubuntu on the target Computer.

Now you need to copy the downloaded files from the pendrive to the Target Computer’s Apt Cache folder.

Plug in your USB drive and open the folder where you had copied the downloaded updates and applications.In this case the folder is aptcache.Select all files and press Ctrl+C to copy it.

Press Alt+F2 to open the Run Application Dialog.Type gksu nautilus and press enter.Enter your password if you get a password prompt.

Navigate to Filesystem-var-cache-apt-archives in the windows that has just opened.

Press Ctrl+V to paste all the copied files from your USB Pendrive.

Now run the Update Manager and install the applications.The computer will connect briefly to the Internet to update the Information on Available Updates and Applications. But it will not download the updates and application files as they already exist in the apt-cache folder.This saves a lot of precious bandwith and time.

If some new updates are released by the time you install Ubuntu on Target Computer,then these new updates will be downloaded from the internet on the Target Computer.These updates can also be added to the pendrive by following the instructions in Part 1 of this tutorial on the Target Computer.This ensures that your PenDrive contains the latest updates.




About the Author: Bharat Balegere

Bharat Balegere is a 27 year old blogger from Bengaluru. He is a technology enthusiast and loves tinkering with computers and usb drives.

3 Comments + Add Comment

  • I am going to try this on an Ubuntu 11.04 install. If this works you will be saving me 225 MB of downloads and more importantly the time wasted in multiple downloads.
    You have several time saving tips on your site….keep adding more. Thanks!!!

    • Thanks.
      Please let me know if it works on Ubuntu 11.04.

  • Great article. This will speed up our building of new Ubuntu 10.10 desktop machines.
    My question is this : Once Ubuntu stops supporting 10.10, will the method for performing the updates from the USB stick still work? We have tried installing version 11.10, and did not like it as much, even after changing it from Unity to Gnome.

    Will Update Manager still respond in the same way after the end-of-support date.

Leave a comment