Create a .deb package with only dependencies The 2019 Stack Overflow Developer Survey Results...

Is an up-to-date browser secure on an out-of-date OS?

Can the Right Ascension and Argument of Perigee of a spacecraft's orbit keep varying by themselves with time?

How did the crowd guess the pentatonic scale in Bobby McFerrin's presentation?

Is every episode of "Where are my Pants?" identical?

Can we generate random numbers using irrational numbers like π and e?

My body leaves; my core can stay

What happens to a Warlock's expended Spell Slots when they gain a Level?

What force causes entropy to increase?

Homework question about an engine pulling a train

"... to apply for a visa" or "... and applied for a visa"?

Is this wall load bearing? Blueprints and photos attached

60's-70's movie: home appliances revolting against the owners

For what reasons would an animal species NOT cross a *horizontal* land bridge?

How did passengers keep warm on sail ships?

Why can I use a list index as an indexing variable in a for loop?

What can I do if neighbor is blocking my solar panels intentionally?

What does "spokes" mean in this context?

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Can the DM override racial traits?

Am I ethically obligated to go into work on an off day if the reason is sudden?

Sub-subscripts in strings cause different spacings than subscripts

How to determine omitted units in a publication

Define a list range inside a list

Single author papers against my advisor's will?



Create a .deb package with only dependencies



The 2019 Stack Overflow Developer Survey Results Are In
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
2019 Community Moderator Election ResultsHow to create a DEB file manually?Check if all listed packages are installed in bashIs there any “base” Debian metapackage?apt-get: install modified package with dependenciesDebian 7 apt is upgrading my custom backported package with the “official” identical version!Fix dependencies without updating package?How to install a deb file, by dpkg -i or by apt?Create a subset of debian repoDeb Package Templates File VariablesPackaging deb: how to handle potentially missing dependenciesHow to make apt ignore unfulfilled dependencies of installed package?Remove package and installed dependencies with apt-getProblem with deb package, need previous dependecy





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







7















I have a piece of software that comes as a deb package or as source. I would like to install it from source so I can install it in a non-standard directory, but would like to use apt for dependency management.



Is there software that I can use that will create a deb package from another that is just a dummy package with the dependencies for the package?



EDIT: To clarify, I want to satisfy the dependencies of the software, not use the software to satisfy dependencies.










share|improve this question

























  • Probably unix.stackexchange.com/questions/30303/… might be helpful.

    – phk
    Oct 22 '16 at 7:48


















7















I have a piece of software that comes as a deb package or as source. I would like to install it from source so I can install it in a non-standard directory, but would like to use apt for dependency management.



Is there software that I can use that will create a deb package from another that is just a dummy package with the dependencies for the package?



EDIT: To clarify, I want to satisfy the dependencies of the software, not use the software to satisfy dependencies.










share|improve this question

























  • Probably unix.stackexchange.com/questions/30303/… might be helpful.

    – phk
    Oct 22 '16 at 7:48














7












7








7


2






I have a piece of software that comes as a deb package or as source. I would like to install it from source so I can install it in a non-standard directory, but would like to use apt for dependency management.



Is there software that I can use that will create a deb package from another that is just a dummy package with the dependencies for the package?



EDIT: To clarify, I want to satisfy the dependencies of the software, not use the software to satisfy dependencies.










share|improve this question
















I have a piece of software that comes as a deb package or as source. I would like to install it from source so I can install it in a non-standard directory, but would like to use apt for dependency management.



Is there software that I can use that will create a deb package from another that is just a dummy package with the dependencies for the package?



EDIT: To clarify, I want to satisfy the dependencies of the software, not use the software to satisfy dependencies.







debian apt






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 22 '16 at 8:04







Zell Faze

















asked Oct 22 '16 at 7:40









Zell FazeZell Faze

1364




1364













  • Probably unix.stackexchange.com/questions/30303/… might be helpful.

    – phk
    Oct 22 '16 at 7:48



















  • Probably unix.stackexchange.com/questions/30303/… might be helpful.

    – phk
    Oct 22 '16 at 7:48

















Probably unix.stackexchange.com/questions/30303/… might be helpful.

– phk
Oct 22 '16 at 7:48





Probably unix.stackexchange.com/questions/30303/… might be helpful.

– phk
Oct 22 '16 at 7:48










1 Answer
1






active

oldest

votes


















7














You can use equivs for that. Install the equivs package, and run



equivs-control yourpackage.control


(replacing yourpackage with something appropriate for your situation).



This will create a template yourpackage.control file; edit it as appropriate:




  • to enforce dependencies, list them in the Depends: line;

  • to satisfy dependencies, list them in the Provides: line (adding it if necessary).


If you want to satisfy a single dependency, name your package accordingly, don’t Provide it.



You should also fill in the Version: line. Then run



equivs-build yourpackage.control


and install the resulting .deb package (which will enforce the dependencies).






share|improve this answer


























    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%2f318117%2fcreate-a-deb-package-with-only-dependencies%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    7














    You can use equivs for that. Install the equivs package, and run



    equivs-control yourpackage.control


    (replacing yourpackage with something appropriate for your situation).



    This will create a template yourpackage.control file; edit it as appropriate:




    • to enforce dependencies, list them in the Depends: line;

    • to satisfy dependencies, list them in the Provides: line (adding it if necessary).


    If you want to satisfy a single dependency, name your package accordingly, don’t Provide it.



    You should also fill in the Version: line. Then run



    equivs-build yourpackage.control


    and install the resulting .deb package (which will enforce the dependencies).






    share|improve this answer






























      7














      You can use equivs for that. Install the equivs package, and run



      equivs-control yourpackage.control


      (replacing yourpackage with something appropriate for your situation).



      This will create a template yourpackage.control file; edit it as appropriate:




      • to enforce dependencies, list them in the Depends: line;

      • to satisfy dependencies, list them in the Provides: line (adding it if necessary).


      If you want to satisfy a single dependency, name your package accordingly, don’t Provide it.



      You should also fill in the Version: line. Then run



      equivs-build yourpackage.control


      and install the resulting .deb package (which will enforce the dependencies).






      share|improve this answer




























        7












        7








        7







        You can use equivs for that. Install the equivs package, and run



        equivs-control yourpackage.control


        (replacing yourpackage with something appropriate for your situation).



        This will create a template yourpackage.control file; edit it as appropriate:




        • to enforce dependencies, list them in the Depends: line;

        • to satisfy dependencies, list them in the Provides: line (adding it if necessary).


        If you want to satisfy a single dependency, name your package accordingly, don’t Provide it.



        You should also fill in the Version: line. Then run



        equivs-build yourpackage.control


        and install the resulting .deb package (which will enforce the dependencies).






        share|improve this answer















        You can use equivs for that. Install the equivs package, and run



        equivs-control yourpackage.control


        (replacing yourpackage with something appropriate for your situation).



        This will create a template yourpackage.control file; edit it as appropriate:




        • to enforce dependencies, list them in the Depends: line;

        • to satisfy dependencies, list them in the Provides: line (adding it if necessary).


        If you want to satisfy a single dependency, name your package accordingly, don’t Provide it.



        You should also fill in the Version: line. Then run



        equivs-build yourpackage.control


        and install the resulting .deb package (which will enforce the dependencies).







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 5 hours ago

























        answered Oct 22 '16 at 8:23









        Stephen KittStephen Kitt

        181k25414493




        181k25414493






























            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%2f318117%2fcreate-a-deb-package-with-only-dependencies%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

            Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

            The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

            Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...