{"id":12334,"date":"2018-12-19T18:17:13","date_gmt":"2018-12-19T17:17:13","guid":{"rendered":"http:\/\/blog.wenzlaff.de\/?p=12334"},"modified":"2020-04-07T08:52:30","modified_gmt":"2020-04-07T06:52:30","slug":"debian-package-deb-auf-dem-raspberry-pi-mit-oder-ohne-abhaengigkeiten-zalenoci-installieren","status":"publish","type":"post","link":"http:\/\/blog.wenzlaff.de\/?p=12334","title":{"rendered":"Debian Package (*.deb) auf dem Raspberry Pi mit oder ohne Abh\u00e4ngigkeiten (zale\u017cno\u015bci) installieren"},"content":{"rendered":"\n<p>Will man *.deb Archive bzw. Programme auf dem Raspberry Pi installieren gibt es mind. zwei M\u00f6glichkeiten:<\/p>\n<p>1. Installation <strong>ohne<\/strong> Abh\u00e4ngigkeiten<br \/>\ndpkg l\u00f6st die Abh\u00e4ngigkeiten der zu installierenden Pakete nicht automatisch auf. Installiert man daher ein Paket, das von anderen abh\u00e4ngt, so kommt es zu Fehlermeldungen. Hier ein Beispiel mit dem twkaffee-0.0.1.deb, das f\u00fcr Testzwecke hier geladen werden kann.<\/p>\n<pre class=\"lang:default decode:true \">\u2029sudo dpkg -i twkaffee-0.0.1.deb<\/pre>\n<p>Das geht dann auch schneller als mit Abh\u00e4ngigkeiten <!--more--><\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-19-um-17.57.59.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12335\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-19-um-17.57.59.png\" alt=\"\" width=\"887\" height=\"127\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-19-um-17.57.59.png 887w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-19-um-17.57.59-300x43.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-19-um-17.57.59-768x110.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>2. Installation <strong>mit<\/strong> Abh\u00e4ngigkeiten<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-19-um-17.50.23.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12337\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-19-um-17.50.23.png\" alt=\"\" width=\"874\" height=\"404\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-19-um-17.50.23.png 874w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-19-um-17.50.23-300x139.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-19-um-17.50.23-768x355.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Mit apt werden alle n\u00f6tigen Abh\u00e4ngigkeiten mit installiert, das dauert dann evl. etwas l\u00e4nger.<\/p>\n<pre class=\"lang:default decode:true \">sudo apt install twkaffee-0.0.1.deb<\/pre>\n<p>Mit <strong>sudo dpkg -r twkaffee<\/strong> (ohne Versionsnummer) kann das Package dann wieder entfernt werden.<\/p>\n<p>Oder wenn man sich vorher den Inhalt anschauen will, geht das mit <strong>sudo dpkg-deb &#8211;contents twkaffee-0.0.1.deb<\/strong><\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-19-um-18.14.12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12346\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-19-um-18.14.12.png\" alt=\"\" width=\"1225\" height=\"250\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-19-um-18.14.12.png 1225w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-19-um-18.14.12-300x61.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-19-um-18.14.12-768x157.png 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-19-um-18.14.12-1024x209.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Kaffee.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12349\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Kaffee.png\" alt=\"\" width=\"2732\" height=\"2048\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Kaffee.png 2732w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Kaffee-300x225.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Kaffee-768x576.png 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Kaffee-1024x768.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Will man *.deb Archive bzw. Programme auf dem Raspberry Pi installieren gibt es mind. zwei M\u00f6glichkeiten: 1. Installation ohne Abh\u00e4ngigkeiten dpkg l\u00f6st die Abh\u00e4ngigkeiten der zu installierenden Pakete nicht automatisch auf. Installiert man daher ein Paket, das von anderen abh\u00e4ngt, so kommt es zu Fehlermeldungen. Hier ein Beispiel mit dem twkaffee-0.0.1.deb, das f\u00fcr Testzwecke hier &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/blog.wenzlaff.de\/?p=12334\" class=\"more-link\"><span class=\"screen-reader-text\">\u201eDebian Package (*.deb) auf dem Raspberry Pi mit oder ohne Abh\u00e4ngigkeiten (zale\u017cno\u015bci) installieren\u201c <\/span>weiterlesen<\/a><\/p>\n","protected":false},"author":2,"featured_media":12379,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[220,79,1023,2752],"tags":[1601,501,2101,1220,1253,137,230],"class_list":["post-12334","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-anleitung","category-programmierung","category-raspberry-pi","category-raspberry-pi-zero-w","tag-abhaengigkeiten","tag-apt","tag-archive","tag-deb","tag-debian","tag-installieren","tag-linux"],"_links":{"self":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/12334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12334"}],"version-history":[{"count":0,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/12334\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/media\/12379"}],"wp:attachment":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12334"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}