User Tools

Site Tools


debian:apt

This is an old revision of the document!


deb-Paket nur herunterladen

Ohne abhängige Pakete

apt-get download <Paket_Name>

Mit abhängen Paketen

apt-get install --download-only <Paket_Name>

deb-Paket auspacken

dpkg -x <packet.deb> <Directory>
dpkg -x packet.deb /tmp/out/
dpkg -x packet.deb .

Inhalt eines Pakets (Files)

Nötige Pakete

apt-get install apt-file
apt-file update

alle Pakete auflisten

apt-file list <Paket_Name>

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 <Paket_Name>

Infos zu Paketen

apt show <Paket_Name>

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
...
debian/apt.1678444624.txt.gz · Last modified: 2023/03/10 11:37 by ms

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki