What parts of Debian base install requires python2, python3, perl, bluetooth?












1














I was looking to set up a small server installation and did the most minimal Debian 9.6 install the installer would let me do.



This install has stuff like Python2, Python3, Perl, bluetooth, Wi-Fi, curl, wget and more.



I'm not interested in debating whether these should be a part of a minimal install.



Rather, what parts of Debian's base install require the use of these? e.g. what requires Python2 in the base install? What requires Python3 in the base install? What requires bluetooth? How do I find these out?










share|improve this question






















  • I'm not fluent in debian, but wouldn't uninstalling, e.g., bluetooth tell you what it needs to uninstall because it has dependencies on it, and hopefully have a confirmation prompt?
    – Ulrich Schwarz
    6 hours ago










  • @UlrichSchwarz No, it doesn't. That assumes the dependencies are setup properly. If you try to remove perl, it just removes perl and says nothing about what depends on it.
    – Roxy
    6 hours ago
















1














I was looking to set up a small server installation and did the most minimal Debian 9.6 install the installer would let me do.



This install has stuff like Python2, Python3, Perl, bluetooth, Wi-Fi, curl, wget and more.



I'm not interested in debating whether these should be a part of a minimal install.



Rather, what parts of Debian's base install require the use of these? e.g. what requires Python2 in the base install? What requires Python3 in the base install? What requires bluetooth? How do I find these out?










share|improve this question






















  • I'm not fluent in debian, but wouldn't uninstalling, e.g., bluetooth tell you what it needs to uninstall because it has dependencies on it, and hopefully have a confirmation prompt?
    – Ulrich Schwarz
    6 hours ago










  • @UlrichSchwarz No, it doesn't. That assumes the dependencies are setup properly. If you try to remove perl, it just removes perl and says nothing about what depends on it.
    – Roxy
    6 hours ago














1












1








1


1





I was looking to set up a small server installation and did the most minimal Debian 9.6 install the installer would let me do.



This install has stuff like Python2, Python3, Perl, bluetooth, Wi-Fi, curl, wget and more.



I'm not interested in debating whether these should be a part of a minimal install.



Rather, what parts of Debian's base install require the use of these? e.g. what requires Python2 in the base install? What requires Python3 in the base install? What requires bluetooth? How do I find these out?










share|improve this question













I was looking to set up a small server installation and did the most minimal Debian 9.6 install the installer would let me do.



This install has stuff like Python2, Python3, Perl, bluetooth, Wi-Fi, curl, wget and more.



I'm not interested in debating whether these should be a part of a minimal install.



Rather, what parts of Debian's base install require the use of these? e.g. what requires Python2 in the base install? What requires Python3 in the base install? What requires bluetooth? How do I find these out?







debian






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 7 hours ago









Roxy

1985




1985












  • I'm not fluent in debian, but wouldn't uninstalling, e.g., bluetooth tell you what it needs to uninstall because it has dependencies on it, and hopefully have a confirmation prompt?
    – Ulrich Schwarz
    6 hours ago










  • @UlrichSchwarz No, it doesn't. That assumes the dependencies are setup properly. If you try to remove perl, it just removes perl and says nothing about what depends on it.
    – Roxy
    6 hours ago


















  • I'm not fluent in debian, but wouldn't uninstalling, e.g., bluetooth tell you what it needs to uninstall because it has dependencies on it, and hopefully have a confirmation prompt?
    – Ulrich Schwarz
    6 hours ago










  • @UlrichSchwarz No, it doesn't. That assumes the dependencies are setup properly. If you try to remove perl, it just removes perl and says nothing about what depends on it.
    – Roxy
    6 hours ago
















I'm not fluent in debian, but wouldn't uninstalling, e.g., bluetooth tell you what it needs to uninstall because it has dependencies on it, and hopefully have a confirmation prompt?
– Ulrich Schwarz
6 hours ago




I'm not fluent in debian, but wouldn't uninstalling, e.g., bluetooth tell you what it needs to uninstall because it has dependencies on it, and hopefully have a confirmation prompt?
– Ulrich Schwarz
6 hours ago












@UlrichSchwarz No, it doesn't. That assumes the dependencies are setup properly. If you try to remove perl, it just removes perl and says nothing about what depends on it.
– Roxy
6 hours ago




@UlrichSchwarz No, it doesn't. That assumes the dependencies are setup properly. If you try to remove perl, it just removes perl and says nothing about what depends on it.
– Roxy
6 hours ago










1 Answer
1






active

oldest

votes


















4














To find out what requires a given package, you should look at two pieces of information:




  • the list of packages which apt remove ${package} tells you it would remove;

  • the information shown by apt show ${package}, in particular the “Priority” field, and the “Essential” field if present.


Essential packages, such as perl-base, and packages whose “Priority” field is “required”, should always be present. Furthermore, other packages don’t need to declare dependencies on essential packages, which makes it difficult to determine what requires them. Removing an essential or required package will require further confirmation and is liable to break your system in ways which are difficult to recover from.



For other packages, apt remove will show you exactly what needs them. For example, on a standard installation of Debian, Python 3 (the python3 package) is needed by reportbug, apt-listchanges, and lsb-release; if you don’t need any of those, you can remove Python 3. Python 2 (the python package) isn’t needed by anything, but it’s installed by default because its priority is “standard”. Bluetooth shouldn’t be installed by default, unless perhaps on a laptop with the corresponding task. Perl (as provided by perl, i.e. the full Perl installation rather than the basic Perl essentials) is needed by rename.



See also Is there any "base" Debian metapackage? where you’ll find information about the contents of Debian’s default installation.






share|improve this answer























  • The piece I was missing was the required priority. Thanks.
    – Roxy
    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%2f491634%2fwhat-parts-of-debian-base-install-requires-python2-python3-perl-bluetooth%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









4














To find out what requires a given package, you should look at two pieces of information:




  • the list of packages which apt remove ${package} tells you it would remove;

  • the information shown by apt show ${package}, in particular the “Priority” field, and the “Essential” field if present.


Essential packages, such as perl-base, and packages whose “Priority” field is “required”, should always be present. Furthermore, other packages don’t need to declare dependencies on essential packages, which makes it difficult to determine what requires them. Removing an essential or required package will require further confirmation and is liable to break your system in ways which are difficult to recover from.



For other packages, apt remove will show you exactly what needs them. For example, on a standard installation of Debian, Python 3 (the python3 package) is needed by reportbug, apt-listchanges, and lsb-release; if you don’t need any of those, you can remove Python 3. Python 2 (the python package) isn’t needed by anything, but it’s installed by default because its priority is “standard”. Bluetooth shouldn’t be installed by default, unless perhaps on a laptop with the corresponding task. Perl (as provided by perl, i.e. the full Perl installation rather than the basic Perl essentials) is needed by rename.



See also Is there any "base" Debian metapackage? where you’ll find information about the contents of Debian’s default installation.






share|improve this answer























  • The piece I was missing was the required priority. Thanks.
    – Roxy
    1 hour ago
















4














To find out what requires a given package, you should look at two pieces of information:




  • the list of packages which apt remove ${package} tells you it would remove;

  • the information shown by apt show ${package}, in particular the “Priority” field, and the “Essential” field if present.


Essential packages, such as perl-base, and packages whose “Priority” field is “required”, should always be present. Furthermore, other packages don’t need to declare dependencies on essential packages, which makes it difficult to determine what requires them. Removing an essential or required package will require further confirmation and is liable to break your system in ways which are difficult to recover from.



For other packages, apt remove will show you exactly what needs them. For example, on a standard installation of Debian, Python 3 (the python3 package) is needed by reportbug, apt-listchanges, and lsb-release; if you don’t need any of those, you can remove Python 3. Python 2 (the python package) isn’t needed by anything, but it’s installed by default because its priority is “standard”. Bluetooth shouldn’t be installed by default, unless perhaps on a laptop with the corresponding task. Perl (as provided by perl, i.e. the full Perl installation rather than the basic Perl essentials) is needed by rename.



See also Is there any "base" Debian metapackage? where you’ll find information about the contents of Debian’s default installation.






share|improve this answer























  • The piece I was missing was the required priority. Thanks.
    – Roxy
    1 hour ago














4












4








4






To find out what requires a given package, you should look at two pieces of information:




  • the list of packages which apt remove ${package} tells you it would remove;

  • the information shown by apt show ${package}, in particular the “Priority” field, and the “Essential” field if present.


Essential packages, such as perl-base, and packages whose “Priority” field is “required”, should always be present. Furthermore, other packages don’t need to declare dependencies on essential packages, which makes it difficult to determine what requires them. Removing an essential or required package will require further confirmation and is liable to break your system in ways which are difficult to recover from.



For other packages, apt remove will show you exactly what needs them. For example, on a standard installation of Debian, Python 3 (the python3 package) is needed by reportbug, apt-listchanges, and lsb-release; if you don’t need any of those, you can remove Python 3. Python 2 (the python package) isn’t needed by anything, but it’s installed by default because its priority is “standard”. Bluetooth shouldn’t be installed by default, unless perhaps on a laptop with the corresponding task. Perl (as provided by perl, i.e. the full Perl installation rather than the basic Perl essentials) is needed by rename.



See also Is there any "base" Debian metapackage? where you’ll find information about the contents of Debian’s default installation.






share|improve this answer














To find out what requires a given package, you should look at two pieces of information:




  • the list of packages which apt remove ${package} tells you it would remove;

  • the information shown by apt show ${package}, in particular the “Priority” field, and the “Essential” field if present.


Essential packages, such as perl-base, and packages whose “Priority” field is “required”, should always be present. Furthermore, other packages don’t need to declare dependencies on essential packages, which makes it difficult to determine what requires them. Removing an essential or required package will require further confirmation and is liable to break your system in ways which are difficult to recover from.



For other packages, apt remove will show you exactly what needs them. For example, on a standard installation of Debian, Python 3 (the python3 package) is needed by reportbug, apt-listchanges, and lsb-release; if you don’t need any of those, you can remove Python 3. Python 2 (the python package) isn’t needed by anything, but it’s installed by default because its priority is “standard”. Bluetooth shouldn’t be installed by default, unless perhaps on a laptop with the corresponding task. Perl (as provided by perl, i.e. the full Perl installation rather than the basic Perl essentials) is needed by rename.



See also Is there any "base" Debian metapackage? where you’ll find information about the contents of Debian’s default installation.







share|improve this answer














share|improve this answer



share|improve this answer








edited 5 hours ago

























answered 5 hours ago









Stephen Kitt

164k24365444




164k24365444












  • The piece I was missing was the required priority. Thanks.
    – Roxy
    1 hour ago


















  • The piece I was missing was the required priority. Thanks.
    – Roxy
    1 hour ago
















The piece I was missing was the required priority. Thanks.
– Roxy
1 hour ago




The piece I was missing was the required priority. Thanks.
– Roxy
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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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%2f491634%2fwhat-parts-of-debian-base-install-requires-python2-python3-perl-bluetooth%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

Morgemoulin

Scott Moir

Souastre