Sunday, May 5, 2024
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 2202  / 1 Year ago, sat, may 20, 2023, 12:14:23

I have the following sources enabled: main, universe, restricted and multiverse. On Ubuntu Software Center on 11.10 I see two packages for Emacs:





What is the difference between metapackage version and non-metapackage one?



By the way, this thread What differences are there between the various version of Emacs available? also explains the difference between two Emacs versions: Emacs and Emacs-snapshot, and interestingly I don't see these packages now on my Ubuntu Software Center.


More From » software-center

 Answers
1

You can see from the descriptions.



For emacs, the metapackage, we have




Description-en: The GNU Emacs editor (metapackage)
GNU Emacs is the extensible self-documenting text editor.
This is a metapackage which will always depend on the latest Emacs
release.



while for the other we have




Description-en: The GNU Emacs editor
GNU Emacs is the extensible self-documenting text editor.
This package contains a version of Emacs with a Lucid user interface.



So you should install the first, that should automatically bring in the current version of emacs as a dependency.



Update



A metapackage is a package that do not provides the files of an application per se, but it lives only because of its dependencies. When you install it, also dependencies get installed (a metapackage has also other characteristics, but it is enough here).



If you run apt-cache show emacs | grep Depends, you would get the following output:



Depends: emacs23 | emacs23-lucid | emacs23-nox


and it means that when you install emacs, it needs one of that three packages. How the package manager choose which one to install, I don't know.


[#41419] Monday, May 22, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lowovey

Total Points: 287
Total Questions: 98
Total Answers: 117

Location: Bosnia and Herzegovina
Member since Thu, Jan 14, 2021
3 Years ago
;