Creating your own meta-package with equivs

No Gravatar

Behold the first post in the new domain!

This mini guide can be useful for someone like me, enjoys doing a little packets of 'all (the customization of desktop themes, until the recent release of some programs) or who want to manage their own repository (locally and not ..).

What is a meta-package?

A meta-package is just a package. Deb "void" (to stay well on the way) that depends on other packages.

Why is it useful?

By installing a meta-package, we can avoid any time to select all the packages it depends, and bringing together the information on a collection of packages useful to us in a single point of centralization.

How to proceed:

First install equivs

$ Sudo apt-get install equivs

and then we give the following command

$ Equivs-control nome_file_control

The second command creates a file (named nome_file_control) which opened with any text editor assomiglerà something like this:

? View Code BASH
 Description: long description and info . second paragraph # # # Commented entries have reasonable defaults. # # # Uncomment to edit them. Section: misc Priority: optional Standards-Version: 3.6.2 Package: # Version: # Maintainer: Your Name # Pre-Depends: # Depends: # Recommends : # Suggests: # Provides: # Replaces: # Architecture: all # Copyright: # Changelog: # readme: # Extra Files: Description: long description and info. second paragraph 

The items to modify our use are then "Package", "Description" and especially "Depends".
The others are not critical but if the change does not hurt :)

How to modify an option, remove the gate that says the line I recommend.

There remains to create the package with a simple

$ Equivs-build nome_file_control

That's it now we have our very useful meta-package!

Popularity: 16% [?]

Tags:


leave a response , or trackback from your own site. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

This website uses IntenseDebate comments, but they are not currently loaded Because either your browser does not support JavaScript, or they did not load fast enough.

Leave a Reply