==== deb-Paket nur herunterladen ==== === Ohne abhängige Pakete === apt-get download === Mit abhängen Paketen === apt-get install --download-only ==== deb-Paket auspacken ==== dpkg -x dpkg -x packet.deb /tmp/out/ dpkg -x packet.deb . ar x ar t # Inhalt des Archiv's ==== Inhalt eines Pakets (Files) ==== === Nötige Pakete === apt-get install apt-file apt-file update === alle Pakete auflisten === apt-file list === Files in Paketen suchen === apt-file search libasound.so.2 libasound2: /usr/lib/x86_64-linux-gnu/libasound.so.2 libasound2: /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0 ==== deb-Paket Abhängigkeiten anzeigen ==== apt-cache show ==== Infos zu Paketen ==== apt show ==== Alle Pakete in einem Repository auflisten ==== cd /var/lib/apt/lists ls -l ... -rw-r--r-- 1 root root 43340 10. Mär 09:50 download.docker.com_linux_debian_dists_bullseye_InRelease -rw-r--r-- 1 root root 118938 9. Mär 23:46 download.docker.com_linux_debian_dists_bullseye_stable_binary-amd64_Packages -rw-r--r-- 1 root root 231878 10. Sep 11:45 ftp.de.debian.org_debian_dists_bullseye_contrib_binary-amd64_Packages -rw-r--r-- 1 root root 192685 9. Jul 2022 ftp.de.debian.org_debian_dists_bullseye_contrib_i18n_Translation-en -rw-r--r-- 1 root root 178776 10. Sep 11:45 ftp.de.debian.org_debian_dists_bullseye_contrib_source_Sources -rw-r--r-- 1 root root 116054 17. Dez 11:24 ftp.de.debian.org_debian_dists_bullseye_InRelease -rw-r--r-- 1 root root 45534962 10. Mär 10:24 ftp.de.debian.org_debian_dists_bullseye_main_binary-amd64_Packages -rw-r--r-- 1 root root 30246698 17. Dez 10:48 ftp.de.debian.org_debian_dists_bullseye_main_i18n_Translation-en -rw-r--r-- 1 root root 44655922 17. Dez 10:48 ftp.de.debian.org_debian_dists_bullseye_main_source_Sources ... egrep 'Package|Version' download.docker.com_linux_debian_dists_bullseye_stable_binary-amd64_Packages | sed 'N;s/\n/ /' Package: containerd.io Version: 1.4.10-1 Package: containerd.io Version: 1.4.11-1 Package: containerd.io Version: 1.4.12-1 Package: containerd.io Version: 1.4.13-1 Package: containerd.io Version: 1.4.4-1 ... ==== Nicht mehr benötigte Pakete löschen ==== Wie z. B. alte Kernel + initramrd apt --purge autoremove