What are Linux meta-packages?

Linux package extensions

We have already talked about a multitude of packages and how to install on linux with a mega guide that was published on this blog a long time ago. Now is the time to talk about the meta-packages, which many users are unaware of or have heard of few. Metapackages allow us to group several programs together with their dependencies for installation at once. Something very interesting that can save time and effort.

Many distributions use them for system installation, to install desktop environments and their apps (see KDE and GNOME), to install software packages with the same purpose, such as installing all network utility packages from a distro with a single meta-package , etc. The applications are many and surely you can imagine many more.

But not only developers of large software packages or administrators can use them, you can also use and create them to install program packages that you use frequently and thus you will save yourself looking for them one by one after the installation of your distro or after a format. For example, for Debian (and derivatives) equivs is used, a tool to create this type of meta-packages. To start using it, install this package on your distro and then you will have "equivs-control" and "equivs-build", the two tools that will help you create them:

  • Create the configuration file with:
 

equivs-control nombre_del_fichero

  • We edit the file with our favorite editor, for example:
 

gedit nombre_del_fichero

  • We fill, according to our needs, at least the values:
    • Package: where you put the name of the package
    • Version: where you put the version.
    • Depends - Specifies a comma separated list of dependencies.
    • Architecture - The architecture for which the package is intended. Here you can specify "all" without quotes to select them all or a specific one.
    • File: you can add files if you want.
    • Others: if you want and have the knowledge, you can fill in the rest.
  • Create the meta package:
 

equivs-build nombre_del_fichero


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Jimmy olano said

    Interesting I did not know it existed.
    To know in depth - even the author was exhausted - and despite having been written in 2008, I recommend this link (remove spaces to go):

    http: / / ubuntuforums. org / showthread.php? t = 726317