What is the difference between similar installed PHP packages?

David

For instance, on Ubuntu Xenial, I need to install the mbstring PHP extension. I issue the command sudo apt-get install php-mbstring to do so.

With dpkg, I can see two packages related to the module: php-mbstring and php7.0-mbstring.

Did they get installed together? And if they're similar packages, how can I know which one is being used (or which one to use)?

user535733

When Debian changes to another version of PHP (8.0), php-mbstring will pull in the correct package automatically.

php#.#-mbstring has the code.

php-mbstring has no code, and simply depends upon the correct package with code. This is called a transitional package or dummy package or metapackage.

The same method of a generically-named metapackge to manage automatic upgrades is used to upgrade your kernel.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

What is the difference between php and php7.2 packages?

From Dev

Difference between various similar packages 14.04 repo

From Dev

What are Snap packages and what are the difference between Click packages and Snap packages?

From Dev

What is the difference between all these similar delete commands?

From Dev

What is the difference between these apparently similar JS codes?

From Dev

What is the difference between "||" and "or" in PHP?

From Dev

what is the difference between `/` and `\` in php

From Dev

PHP what is the difference between { } and {{ }}

From Dev

what is the difference between `/` and `\` in php

From Dev

PHP what is the difference between { } and {{ }}

From Dev

What's the difference between KDE packages?

From Dev

What is the difference between Recommended and Suggested packages (Ubuntu)

From Dev

What's the difference between KDE packages?

From Dev

What's the difference between ssh and openssh packages?

From Dev

How are packages suggested and what is the difference between extra and new packages?

From Dev

How are packages suggested and what is the difference between extra and new packages?

From Dev

What is the difference between self and $this in php?

From Dev

Meteor.js 1.0: what is the difference between the packages and versions file?

From Dev

What's the difference between path & path.filepath packages in Go

From Dev

What is the difference between Unity and Unity.WebApi packages

From Dev

What is the difference between packages qemu and qemu-native in Yocto?

From Dev

What's the difference between Chocolatey's Git packages?

From Dev

What's the difference between Spark ML and MLLIB packages

From Dev

What is the difference between GitHub Container Registry and Github Packages for Docker?

From Dev

What's the difference between the 'ubuntu-gnome-desktop' and 'gnome' packages?

From Dev

Meteor.js 1.0: what is the difference between the packages and versions file?

From Dev

What is the difference between 'contrib' and 'non-free' packages repositories?

From Dev

What's the difference between mtpfs and jmtpfs packages in Debian?

From Dev

What is the difference between git-man and git-doc packages?

Related Related

  1. 1

    What is the difference between php and php7.2 packages?

  2. 2

    Difference between various similar packages 14.04 repo

  3. 3

    What are Snap packages and what are the difference between Click packages and Snap packages?

  4. 4

    What is the difference between all these similar delete commands?

  5. 5

    What is the difference between these apparently similar JS codes?

  6. 6

    What is the difference between "||" and "or" in PHP?

  7. 7

    what is the difference between `/` and `\` in php

  8. 8

    PHP what is the difference between { } and {{ }}

  9. 9

    what is the difference between `/` and `\` in php

  10. 10

    PHP what is the difference between { } and {{ }}

  11. 11

    What's the difference between KDE packages?

  12. 12

    What is the difference between Recommended and Suggested packages (Ubuntu)

  13. 13

    What's the difference between KDE packages?

  14. 14

    What's the difference between ssh and openssh packages?

  15. 15

    How are packages suggested and what is the difference between extra and new packages?

  16. 16

    How are packages suggested and what is the difference between extra and new packages?

  17. 17

    What is the difference between self and $this in php?

  18. 18

    Meteor.js 1.0: what is the difference between the packages and versions file?

  19. 19

    What's the difference between path & path.filepath packages in Go

  20. 20

    What is the difference between Unity and Unity.WebApi packages

  21. 21

    What is the difference between packages qemu and qemu-native in Yocto?

  22. 22

    What's the difference between Chocolatey's Git packages?

  23. 23

    What's the difference between Spark ML and MLLIB packages

  24. 24

    What is the difference between GitHub Container Registry and Github Packages for Docker?

  25. 25

    What's the difference between the 'ubuntu-gnome-desktop' and 'gnome' packages?

  26. 26

    Meteor.js 1.0: what is the difference between the packages and versions file?

  27. 27

    What is the difference between 'contrib' and 'non-free' packages repositories?

  28. 28

    What's the difference between mtpfs and jmtpfs packages in Debian?

  29. 29

    What is the difference between git-man and git-doc packages?

HotTag

Archive