Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I am developing a offline installer for ubuntu all version. I need ubuntu's default installed packages list. We can get installed packages list by command in ubuntu

dpkg --get-selected

But is there any way to get this information from any server(web server). Any script to fetch any ubuntu version's default installed packages list.

I will give ubuntu version and script will fetch packages list.

Note: I need at least a server address. I can write script for this.

share|improve this question

1 Answer 1

up vote 14 down vote accepted

Going off a previous answer of mine, there are manifest files available that should list all the packages included on the CD.

The URLs of the files are fairly predictable but in constant flux (as new releases come out and old ones are killed off) so a good strategy is:

  1. To go http://cdimage.ubuntu.com/
  2. Pick your spin
  3. Pick releases
  4. Pick a version (eg 14.04)
  5. Pick release (if it has been released)
  6. Find the applicable .manifest file.

Note that not all these packages stay installed. On the CD images, you'll also find a file called /capsper/filesystem.manifest-remove which is a list of things to remove after installation. I can't find an online copy of these files on their own.

share|improve this answer
    
Predictable perhaps, but broken. –  Paul Draper Apr 17 at 12:13
    
@PaulDraper Not broken in so much as constantly changing. I've updated the answer with a DIY approach that should last the test of time. –  Oli Apr 17 at 12:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.