Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 18 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 '15 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 '15 at 12:58
1  
There don't seem to be manifest files anymore.. – Seth Apr 15 at 13:41
    
@Seth For Ubuntu, the .manifest files are available for any supported releases at releases.ubuntu.com and other flavours continue to have the files at the cdimage server. – clearkimura Apr 22 at 3:42
    
This answer used to point to releases.ubuntu.com but the practical problem is it only lists supported releases. I took the view that the question is more about the original install (which may now well be an unsupported release). I'll edit it back in. – Oli Apr 22 at 8:36

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.