Sunday, April 28, 2024
29
rated 0 times [  29] [ 0]  / answers: 1 / hits: 31441  / 2 Years ago, mon, may 23, 2022, 4:31:32

I've heard some packages being classified as a meta-package. So now I am left wondering what is the difference between a meta-package and a package?


More From » package-management

 Answers
4

From https://help.ubuntu.com/community/MetaPackages:



These packages do not contain actual software, they simply depend on other packages to be installed.



It is important to note that removing a meta package does NOT remove the packages it installed:



[...] when a metapackage is automatically removed by the removal or purging of any one, or more, of its underlying dependencies, all of the other packages that were in the metapackage's depends list are still installed on the system.



You can look at the structure of a typical meta-package by pulling (for example) ubuntu-desktop:


apt-get source ubuntu-desktop

Looking at the structure, you'll find the list of packages each meta-package recommends, as well as the structure of putting it all together in debian/rules.


References:



[#43027] Monday, May 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
otatorm

Total Points: 218
Total Questions: 113
Total Answers: 124

Location: British Indian Ocean Territory
Member since Tue, Feb 22, 2022
2 Years ago
;