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
    Dec 30 '18 at 19:00











  • @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
    Dec 30 '18 at 19:09
















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
    Dec 30 '18 at 19:00











  • @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
    Dec 30 '18 at 19:09














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 Dec 30 '18 at 18:41









RoxyRoxy

2356




2356













  • 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
    Dec 30 '18 at 19:00











  • @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
    Dec 30 '18 at 19:09



















  • 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
    Dec 30 '18 at 19:00











  • @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
    Dec 30 '18 at 19:09

















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
Dec 30 '18 at 19:00





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
Dec 30 '18 at 19:00













@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
Dec 30 '18 at 19:09





@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
Dec 30 '18 at 19:09










1 Answer
1






active

oldest

votes


















5














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.



When installing, if you uncheck all the entries, including “standard system utilities”, in the package selection step, you’ll end up with a minimal installation, with only perl-base, no Python etc.



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
    Dec 31 '18 at 0:43











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









5














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.



When installing, if you uncheck all the entries, including “standard system utilities”, in the package selection step, you’ll end up with a minimal installation, with only perl-base, no Python etc.



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
    Dec 31 '18 at 0:43
















5














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.



When installing, if you uncheck all the entries, including “standard system utilities”, in the package selection step, you’ll end up with a minimal installation, with only perl-base, no Python etc.



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
    Dec 31 '18 at 0:43














5












5








5







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.



When installing, if you uncheck all the entries, including “standard system utilities”, in the package selection step, you’ll end up with a minimal installation, with only perl-base, no Python etc.



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.



When installing, if you uncheck all the entries, including “standard system utilities”, in the package selection step, you’ll end up with a minimal installation, with only perl-base, no Python etc.



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 Dec 31 '18 at 10:12

























answered Dec 30 '18 at 19:49









Stephen KittStephen Kitt

173k24397472




173k24397472













  • The piece I was missing was the required priority. Thanks.

    – Roxy
    Dec 31 '18 at 0:43



















  • The piece I was missing was the required priority. Thanks.

    – Roxy
    Dec 31 '18 at 0:43

















The piece I was missing was the required priority. Thanks.

– Roxy
Dec 31 '18 at 0:43





The piece I was missing was the required priority. Thanks.

– Roxy
Dec 31 '18 at 0:43


















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%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

Bressuire

Cabo Verde

Gyllenstierna