{"id":2222,"date":"2025-01-22T08:00:00","date_gmt":"2025-01-22T07:00:00","guid":{"rendered":"https:\/\/www.fuhselab.de\/?p=2222"},"modified":"2024-12-18T08:20:41","modified_gmt":"2024-12-18T07:20:41","slug":"paketverwaltung-debian","status":"publish","type":"post","link":"https:\/\/www.fuhselab.de\/index.php\/2025\/01\/22\/paketverwaltung-debian\/","title":{"rendered":"Paketverwaltung &#8211; Debian"},"content":{"rendered":"\n<p><br>Paketverwaltung mit Debian-Werkzeugen ist jetzt angesagt. Dieser Artikel betrachtet den dpkg-Befehl und den apt-Befehl etwas genauer\u2026<\/p>\n\n\n\n<!--more-->\n\n\n\n<p><strong>Installation von Paketen per dpkg:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>dpkg \u2013 -install Paket_x.deb<\/li>\n<\/ul>\n\n\n\n<p>Wenn f\u00fcr ein Programm eine deb-Datei vorliegt, kann diese also auch mit dem dpkg-Befehl installiert werden\u2026<\/p>\n\n\n\n<p><strong>Pakete l\u00f6schen:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>dpkg \u2013 -remove PAKET<\/li>\n\n\n\n<li>dpkg \u2013 -purge PAKET<\/li>\n<\/ul>\n\n\n\n<p>Die Variante mit \u201cremove\u201c entfernt nur das Paket. Die Variante mit \u201cpurge\u201c entfernt das Paket und die zugeh\u00f6rige Konfigurationsdatei.<\/p>\n\n\n\n<p><strong>Informationen \u00fcber Pakete:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>dpkg \u2013 -list<\/li>\n<\/ul>\n\n\n\n<p>Dieser Befehl listet die installierten Pakete auf. Bei mir aber leider nicht alle, denn die Liste beginnt erst bei \u201clibqpdf21:amd64\u201c\u2026 &#8230;es braucht also ein besseres Praxisbeispiel\u2026:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>dpkg \u2013 -list firefox<\/li>\n<\/ul>\n\n\n\n<p>Nun erhalten wir eine saubere Information \u00fcber den beliebten Mozilla Webbrowser. F\u00fcr Status-Informationen kann folgender Befehl genutzt werden:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>dpkg \u2013 -status firefox<\/li>\n<\/ul>\n\n\n\n<p><strong>Checksummen pr\u00fcfen:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>debsums firefox<\/li>\n<\/ul>\n\n\n\n<p>Der Befehl stand an meinem System noch nicht zur Verf\u00fcgung und musste installiert werden\u2026:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>sudo apt install debsums<\/li>\n<\/ul>\n\n\n\n<p><strong>Installation von Paketen per <\/strong><strong>apt<\/strong><strong>:<\/strong><\/p>\n\n\n\n<p>Sollen Updates oder Upgrades installiert werden, k\u00f6nnen folgende Befehle genutzt werden:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>sudo apt update<\/li>\n\n\n\n<li>sudo apt upgrade<\/li>\n<\/ul>\n\n\n\n<p>Auch die Installation und Deinstallation von Software kann per apt-Befehl erfolgen:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>sudo apt install SOFTWARE<\/li>\n\n\n\n<li>sudo apt remove SOFTWARE<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Paketverwaltung mit Debian-Werkzeugen ist jetzt angesagt. Dieser Artikel betrachtet den dpkg-Befehl und den apt-Befehl etwas genauer\u2026<\/p>\n","protected":false},"author":1,"featured_media":791,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[21],"class_list":["post-2222","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux-gruppe-peine"],"_links":{"self":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/2222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/comments?post=2222"}],"version-history":[{"count":1,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/2222\/revisions"}],"predecessor-version":[{"id":2223,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/posts\/2222\/revisions\/2223"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/media\/791"}],"wp:attachment":[{"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/media?parent=2222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/categories?post=2222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fuhselab.de\/index.php\/wp-json\/wp\/v2\/tags?post=2222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}