20

I am developing an offline installer for all versions of Ubuntu, and I need Ubuntu's default installed packages list. Is there a 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 the Ubuntu version, and the script will fetch the packages list.

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

31

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. Go to http://releases.ubuntu.com/ (for currently supported versions) or http://cdimage.ubuntu.com/ (for other versions, server images, etc.)
  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.

  • 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 '16 at 13:41
  • 2
    @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 '16 at 3:42
  • 1
    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 '16 at 8:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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