1

What's the difference between apt install php and apt install php-defaults?

In a first glimpse I would theorize that php should include everything default for a (latest) php program.

I ask this as a follow up to this question.

  • Note that the referenced Q&A nowhere says to run apt install php-defaults. – JdeBP Mar 6 at 12:52
8

The difference is that

apt install php-defaults

doesn’t work, because php-defaults is a source package, not a binary package.

A source package contains the source code and packaging descriptors used to build one or more binary packages. Source packages aren’t directly installable.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.