apt: What's the difference between “apt install php” and “apt install php-defaults”?apt: Install...

How can I be pwned if I'm not registered on the compromised site?

What could trigger powerful quakes on icy world?

What is this waxed root vegetable?

circuitikz: How to add + , - in ammeter?

Where is the line between being obedient and getting bullied by a boss?

What are all the squawk codes?

How to kill a localhost:8080

"Lived a lion" or "there lived a lion"

What is a term for a function that when called repeatedly, has the same effect as calling once?

How to mitigate "bandwagon attacking" from players?

In which way proportional valves are controlled solely by current?

How to create an associative array from two arrays?

Movie: Scientists travel to the future to avoid nuclear war, last surviving one is used as fuel by future humans

I can't die. Who am I?

The need of reserving one's ability in job interviews

Rationale to prefer local variables over instance variables?

Four buttons on a table

Can we carry rice to Japan?

Reason why dimensional travelling would be restricted

Why can't we make a perpetual motion machine by using a magnet to pull up a piece of metal, then letting it fall back down?

How can neutral atoms have exactly zero electric field when there is a difference in the positions of the charges?

Strange artifacts on car LCD. Scratches?

Did Amazon pay $0 in taxes last year?

Highlight parts in a screenshot



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


apt: Install latest stable php and all its extensionsWhat is the difference between the “jessie” and “jessie-updates” distributions in /etc/apt/sources.list?Why does apt-get upgrade not install the latest PHP version?Doctrine OCI8 charset behavior between php-cli and php-fpmWhat's the difference between mtpfs and jmtpfs packages in Debian?How to tell apt to use the latest package by default?How to install the latest LAMP in Debian 8?Error installing PHP7.1 with apache2 on debian 9Debian 7.11 (wheezy) and PHP 7.0ftp passive mode and phpapt: Install latest stable php and all its extensions













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.










share|improve this question

























  • Note that the referenced Q&A nowhere says to run apt install php-defaults.

    – JdeBP
    2 hours ago
















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.










share|improve this question

























  • Note that the referenced Q&A nowhere says to run apt install php-defaults.

    – JdeBP
    2 hours ago














1












1








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.










share|improve this question
















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.







debian php defaults stability






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 3 hours ago









Jeff Schaller

42.9k1159137




42.9k1159137










asked 4 hours ago









JohnDoeaJohnDoea

4911136




4911136













  • Note that the referenced Q&A nowhere says to run apt install php-defaults.

    – JdeBP
    2 hours ago



















  • Note that the referenced Q&A nowhere says to run apt install php-defaults.

    – JdeBP
    2 hours ago

















Note that the referenced Q&A nowhere says to run apt install php-defaults.

– JdeBP
2 hours ago





Note that the referenced Q&A nowhere says to run apt install php-defaults.

– JdeBP
2 hours ago










3 Answers
3






active

oldest

votes


















5














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.






share|improve this answer

































    0














    Yes, package php is PHP7.0, while php-defaults acts as a kind of meta-package for common php modules and php itself. Note that php is already included in php-defaults.






    share|improve this answer
























    • In what way is php-defaults a metapackage?

      – Stephen Kitt
      3 hours ago











    • @StephenKitt In the sense that package php-default installs a set of related php packages by selecting only one package. You know that real meta packages don't provide any packages themselves, but only define dependencies. That's why is said "kind of".

      – Freddy
      2 hours ago













    • I just ran the command. This answer is wrong. M. Kitt's answer is right. The command really does not install anything.

      – JdeBP
      2 hours ago



















    -1














    diff -y <(apt show php) <(apt show php-defaults)





    share|improve this answer



















    • 2





      ... which you obviously haven’t tried.

      – Stephen Kitt
      1 hour ago











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f504678%2fapt-whats-the-difference-between-apt-install-php-and-apt-install-php-defaul%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    5














    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.






    share|improve this answer






























      5














      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.






      share|improve this answer




























        5












        5








        5







        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.






        share|improve this answer















        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.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 2 hours ago

























        answered 3 hours ago









        Stephen KittStephen Kitt

        174k24399476




        174k24399476

























            0














            Yes, package php is PHP7.0, while php-defaults acts as a kind of meta-package for common php modules and php itself. Note that php is already included in php-defaults.






            share|improve this answer
























            • In what way is php-defaults a metapackage?

              – Stephen Kitt
              3 hours ago











            • @StephenKitt In the sense that package php-default installs a set of related php packages by selecting only one package. You know that real meta packages don't provide any packages themselves, but only define dependencies. That's why is said "kind of".

              – Freddy
              2 hours ago













            • I just ran the command. This answer is wrong. M. Kitt's answer is right. The command really does not install anything.

              – JdeBP
              2 hours ago
















            0














            Yes, package php is PHP7.0, while php-defaults acts as a kind of meta-package for common php modules and php itself. Note that php is already included in php-defaults.






            share|improve this answer
























            • In what way is php-defaults a metapackage?

              – Stephen Kitt
              3 hours ago











            • @StephenKitt In the sense that package php-default installs a set of related php packages by selecting only one package. You know that real meta packages don't provide any packages themselves, but only define dependencies. That's why is said "kind of".

              – Freddy
              2 hours ago













            • I just ran the command. This answer is wrong. M. Kitt's answer is right. The command really does not install anything.

              – JdeBP
              2 hours ago














            0












            0








            0







            Yes, package php is PHP7.0, while php-defaults acts as a kind of meta-package for common php modules and php itself. Note that php is already included in php-defaults.






            share|improve this answer













            Yes, package php is PHP7.0, while php-defaults acts as a kind of meta-package for common php modules and php itself. Note that php is already included in php-defaults.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 4 hours ago









            FreddyFreddy

            1,2729




            1,2729













            • In what way is php-defaults a metapackage?

              – Stephen Kitt
              3 hours ago











            • @StephenKitt In the sense that package php-default installs a set of related php packages by selecting only one package. You know that real meta packages don't provide any packages themselves, but only define dependencies. That's why is said "kind of".

              – Freddy
              2 hours ago













            • I just ran the command. This answer is wrong. M. Kitt's answer is right. The command really does not install anything.

              – JdeBP
              2 hours ago



















            • In what way is php-defaults a metapackage?

              – Stephen Kitt
              3 hours ago











            • @StephenKitt In the sense that package php-default installs a set of related php packages by selecting only one package. You know that real meta packages don't provide any packages themselves, but only define dependencies. That's why is said "kind of".

              – Freddy
              2 hours ago













            • I just ran the command. This answer is wrong. M. Kitt's answer is right. The command really does not install anything.

              – JdeBP
              2 hours ago

















            In what way is php-defaults a metapackage?

            – Stephen Kitt
            3 hours ago





            In what way is php-defaults a metapackage?

            – Stephen Kitt
            3 hours ago













            @StephenKitt In the sense that package php-default installs a set of related php packages by selecting only one package. You know that real meta packages don't provide any packages themselves, but only define dependencies. That's why is said "kind of".

            – Freddy
            2 hours ago







            @StephenKitt In the sense that package php-default installs a set of related php packages by selecting only one package. You know that real meta packages don't provide any packages themselves, but only define dependencies. That's why is said "kind of".

            – Freddy
            2 hours ago















            I just ran the command. This answer is wrong. M. Kitt's answer is right. The command really does not install anything.

            – JdeBP
            2 hours ago





            I just ran the command. This answer is wrong. M. Kitt's answer is right. The command really does not install anything.

            – JdeBP
            2 hours ago











            -1














            diff -y <(apt show php) <(apt show php-defaults)





            share|improve this answer



















            • 2





              ... which you obviously haven’t tried.

              – Stephen Kitt
              1 hour ago
















            -1














            diff -y <(apt show php) <(apt show php-defaults)





            share|improve this answer



















            • 2





              ... which you obviously haven’t tried.

              – Stephen Kitt
              1 hour ago














            -1












            -1








            -1







            diff -y <(apt show php) <(apt show php-defaults)





            share|improve this answer













            diff -y <(apt show php) <(apt show php-defaults)






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 2 hours ago









            user1133275user1133275

            3,569823




            3,569823








            • 2





              ... which you obviously haven’t tried.

              – Stephen Kitt
              1 hour ago














            • 2





              ... which you obviously haven’t tried.

              – Stephen Kitt
              1 hour ago








            2




            2





            ... which you obviously haven’t tried.

            – Stephen Kitt
            1 hour ago





            ... which you obviously haven’t tried.

            – Stephen Kitt
            1 hour ago


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f504678%2fapt-whats-the-difference-between-apt-install-php-and-apt-install-php-defaul%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Фонтен-ла-Гаярд Зміст Демографія | Економіка | Посилання |...

            Список ссавців Італії Природоохоронні статуси | Список |...

            Маріан Котлеба Зміст Життєпис | Політичні погляди |...