{"id":1644,"date":"2023-09-09T15:22:08","date_gmt":"2023-09-09T13:22:08","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=1644"},"modified":"2023-09-09T15:22:10","modified_gmt":"2023-09-09T13:22:10","slug":"dpkg-repack-installierte-software-in-deb-pakete-zurueck-packen","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/09\/dpkg-repack-installierte-software-in-deb-pakete-zurueck-packen\/","title":{"rendered":"dpkg-repack &#8211; installierte Software in DEB-Pakete zur\u00fcck packen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Die meiste Software unter Linux installiert man sich ja aus den Repositorys der jeweiligen Distribution. Hin und wieder l\u00e4dt man sich aber nat\u00fcrlich auch Pakete manuell aus dem Internet von Webseiten herunter.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Und genau dann kommt mir zeitweise wieder einmal die Frage auf &#8211; wo habe ich das Paket jetzt gefunden? Nun, egal &#8211; mit der Software dpkg-repack l\u00e4sst sich \u00fcber DEB-Pakete installierte Software wieder in ein DEB-Paket packen. Funktioniert ganz einfach.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">dpkg-repack installieren<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sie installieren diese Software unter auf Debian basierenden Linux-Distributionen ganz einfach \u00fcber die\u00a0Paket-Verwaltung\u00a0durch das Paket &#8222;<strong>dpkg-repack<\/strong>&#8222;.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">dpkg-repack nutzen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Ich nehme jetzt ganz einfach einmal das Paket &#8222;<strong>google-chrome-stable<\/strong>&#8222;, dieses ist \u00fcber die Paket-Verwaltung \u00fcber ein DEB-Paket installiert worden, das DEB-Paket habe ich jedoch gel\u00f6scht. Ich finde es im Internet nicht mehr und m\u00f6chte die Software als DEB-Paket auf einem anderen Rechner installieren. Jetzt l\u00e4sst sich die installierte Software ganz einfach wieder in ein DEB-Paket packen &#8211; als\u00a0root\u00a0am\u00a0Terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dpkg-repack google-chrome-stable<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Dies l\u00e4sst sich nat\u00fcrlich auch mit installierten Abh\u00e4ngigkeiten machen, als Erstes lassen wir uns die Abh\u00e4ngigkeiten anzeigen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt depends google-chrome-stable<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dpkg-repack-1024x576.jpg\" alt=\"\" class=\"wp-image-1645\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dpkg-repack-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dpkg-repack-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dpkg-repack-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dpkg-repack-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dpkg-repack.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Anschlie\u00dfend packt man die Abh\u00e4ngigkeiten in DEB-Pakete:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dpkg-repack paket paket paket ...<\/code><\/pre>\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=\"1644\" 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\">1    <\/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=\"1644\" 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\">1<\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Die meiste Software unter Linux installiert man sich ja aus den Repositorys der jeweiligen Distribution. Hin und wieder l\u00e4dt man sich aber nat\u00fcrlich auch Pakete manuell aus dem Internet von Webseiten herunter. Und genau dann kommt mir zeitweise wieder einmal die Frage auf &#8211; wo habe ich das Paket jetzt gefunden? Nun, egal &#8211; mit [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1645,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64,4],"tags":[12,7,65,6],"class_list":["post-1644","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-verwalten","category-terminal","tag-kommandozeile","tag-shell","tag-software-verwalten","tag-terminal"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/1644","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=1644"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/1644\/revisions"}],"predecessor-version":[{"id":1646,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/1644\/revisions\/1646"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/1645"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=1644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=1644"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=1644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}