Create a .deb package with only dependencies Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionHow 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
Check which numbers satisfy the condition [A*B*C = A! + B! + C!]
Why aren't air breathing engines used as small first stages
2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?
Using et al. for a last / senior author rather than for a first author
Single word antonym of "flightless"
How to deal with a team lead who never gives me credit?
Generate an RGB colour grid
What to do with chalk when deepwater soloing?
Why was the term "discrete" used in discrete logarithm?
Bete Noir -- no dairy
How can I make names more distinctive without making them longer?
3 doors, three guards, one stone
51k Euros annually for a family of 4 in Berlin: Is it enough?
Why light coming from distant stars is not discreet?
Is it true that "carbohydrates are of no use for the basal metabolic need"?
Why are Kinder Surprise Eggs illegal in the USA?
Identifying polygons that intersect with another layer using QGIS?
What does this icon in iOS Stardew Valley mean?
Using audio cues to encourage good posture
What LEGO pieces have "real-world" functionality?
Resolving to minmaj7
Why did the Falcon Heavy center core fall off the ASDS OCISLY barge?
What's the purpose of writing one's academic biography in the third person?
How does debian/ubuntu knows a package has a updated version
Create a .deb package with only dependencies
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionHow 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;
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
add a comment |
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
Probably unix.stackexchange.com/questions/30303/… might be helpful.
– phk
Oct 22 '16 at 7:48
add a comment |
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
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
debian apt
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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).
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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).
add a comment |
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).
add a comment |
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).
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).
edited Apr 12 at 18:17
answered Oct 22 '16 at 8:23
Stephen KittStephen Kitt
182k25415495
182k25415495
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Probably unix.stackexchange.com/questions/30303/… might be helpful.
– phk
Oct 22 '16 at 7:48