{"id":1846,"date":"2023-09-09T18:18:29","date_gmt":"2023-09-09T16:18:29","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=1846"},"modified":"2023-09-09T18:18:31","modified_gmt":"2023-09-09T16:18:31","slug":"debtree-abhaengigkeiten-von-debian-paketen-grafisch-anzeigen","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/09\/debtree-abhaengigkeiten-von-debian-paketen-grafisch-anzeigen\/","title":{"rendered":"debtree &#8211; Abh\u00e4ngigkeiten von Debian-Paketen grafisch anzeigen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Dies geh\u00f6rt zum Wissen unter Linux, das man nicht unbedingt behalten muss, aber interessant ist es f\u00fcr manche dann eben doch. Mit der Software &#8222;<strong>debtree<\/strong>&#8220; lassen sich die Abh\u00e4ngigkeiten von Debian-Software-Paketen grafisch ausgeben.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">debtree installieren<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Diese Software ist nat\u00fcrlich nur unter auf Debian basierenden Linux-Distributionen zu finden, Sie installieren diese ganz einfach \u00fcber die\u00a0Paket-Verwaltung\u00a0&#8211; am einfachsten \u00fcber Synaptic durch das Paket &#8222;<strong>debtree<\/strong>&#8222;. Am Terminal als Administrator:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install debtree<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">debtree nutzen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Diese Software wird am Terminal genutzt, die Syntax lautet:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>debtree Paket-Name | dot -Tpng &gt; Dateiname.png<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nach dem eigentlichen Befehl &#8222;<strong><code>debtree<\/code><\/strong>&#8220; folgt der Name des Paketes &#8222;<strong><code>Paket-Name<\/code><\/strong>&#8222;, nun kommt nach der Pipe &#8222;<strong><code>|<\/code><\/strong>&#8220; der Befehl &#8222;<strong><code>dot -Tpng<\/code><\/strong>&#8220; &#8211; hiermit wird das Grafik-Format festgelegt. \u00dcber die Pipe &#8222;<strong><code>><\/code><\/strong>&#8220; wird die Ausgabe in die zu erstellende Datei &#8222;<strong><code>Dateiname.png<\/code><\/strong>&#8220; geschrieben. Ein kurzes Beispiel mit dem Paket &#8222;<strong>apt<\/strong>&#8222;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>debtree apt | dot -Tpng &gt; apt.png<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Und die Ausgabe f\u00fcr dieses Paket:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"828\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/apt-1024x828.png\" alt=\"\" class=\"wp-image-1847\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/apt-1024x828.png 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/apt-300x243.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/apt-768x621.png 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/apt-1536x1242.png 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/apt.png 1962w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"1846\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"1846\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Dies geh\u00f6rt zum Wissen unter Linux, das man nicht unbedingt behalten muss, aber interessant ist es f\u00fcr manche dann eben doch. Mit der Software &#8222;debtree&#8220; lassen sich die Abh\u00e4ngigkeiten von Debian-Software-Paketen grafisch ausgeben. debtree installieren Diese Software ist nat\u00fcrlich nur unter auf Debian basierenden Linux-Distributionen zu finden, Sie installieren diese ganz einfach \u00fcber die\u00a0Paket-Verwaltung\u00a0&#8211; am [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1847,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64,17],"tags":[65,15],"class_list":["post-1846","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-verwalten","category-system","tag-software-verwalten","tag-system"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/1846","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=1846"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/1846\/revisions"}],"predecessor-version":[{"id":1848,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/1846\/revisions\/1848"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/1847"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=1846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=1846"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=1846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}