Results 1 to 4 of 4

Thread: meta-package creation

  1. #1
    Join Date
    Oct 2004
    Location
    Netherlands
    Beans
    2,983
    Distro
    Ubuntu 8.04 Hardy Heron

    meta-package creation

    How do you create a meta package (like ubuntu-desktop) yourself in an easy way ?

  2. #2
    Join Date
    Oct 2004
    Location
    Prague, Czechia
    Beans
    437
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: meta-package creation

    Quote Originally Posted by demon666_nl
    How do you create a meta package (like ubuntu-desktop) yourself in an easy way ?
    First install the package you need...
    Code:
    sudo apt-get install equivs
    ... run the following command to create ubuntu-desktop file...
    Code:
    equivs-control ubuntu-desktop
    ... edit it and tweak to fit your needs and finally build it...
    Code:
    equivs-build ubuntu-desktop
    This way I've created gaim-plugins metapackage on which depends all the plugins I have built.

    Maybe there's more elegant way...
    Last edited by p!=f; November 28th, 2004 at 11:45 PM.
    "Linux is like a wigwam. No Windows, no Gates and Apache inside!" - Unknown

    RFC 3092 - Etymology of "Foo"

  3. #3
    Join Date
    Nov 2006
    Beans
    4
    Distro
    Xubuntu 6.06 Dapper

    Re: meta-package creation

    And you can create a package, witch depends on all the packages installed on your system:
    1. Create a template configuration file:
      Code:
      equivs-control meta
    2. Create a list of all packages installed on your system
      Code:
      aptitude search -F %p ~i | sed 's/$/,/' > packages.list
    3. Open the file 'packages.list' in gedit or any other text editor and replace all space symbols (' ') to void strings and all '\n' symbols (new string) to ','. Save the file.
    4. In any text editor open the file 'meta' from 1, add to it the contents of the file "packages.list" after the word "Depends:". Also change package name, version and description to appropriate.
    5. Build the package
      Code:
      equivs-build meta
    6. The package can be installed by
      Code:
      dpkg -i package_name

  4. #4
    Join Date
    Jun 2007
    Beans
    49
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: meta-package creation

    Ok after you build the package then what?

    How do you turn that into an installation disk or Live CD?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •