User Tools

Site Tools


debian:apt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
debian:apt [2021/03/17 18:50] msdebian:apt [2024/09/14 08:24] (current) ms
Line 15: Line 15:
 dpkg -x packet.deb /tmp/out/ dpkg -x packet.deb /tmp/out/
 dpkg -x packet.deb . dpkg -x packet.deb .
 +
 +ar x <packet.deb>
 +ar t <packet.deb>   # Inhalt des Archiv's
 </code> </code>
  
-==== Inhalt eines Pakets (Files) auflisten ====+==== Inhalt eines Pakets (Files) ====
 === Nötige Pakete === === Nötige Pakete ===
 <code> <code>
 apt-get install apt-file apt-get install apt-file
 +apt-file update
 </code> </code>
 +=== alle Pakete auflisten ===
 <code> <code>
 apt-file list <Paket_Name> apt-file list <Paket_Name>
 +</code>
 +=== Files in Paketen suchen ===
 +<code>
 +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
 </code> </code>
  
Line 31: Line 42:
 </code> </code>
  
-==== Files in Paketen suchen ====+==== Infos zu Paketen ====
 <code> <code>
-apt-get install apt-file +apt show <Paket_Name> 
-apt-file update+</code>
  
-apt-file search libasound.so.2 +==== Alle Pakete in einem Repository auflisten ==== 
-libasound2/usr/lib/x86_64-linux-gnu/libasound.so.2 +<code> 
-libasound2: /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0+cd /var/lib/apt/lists 
 +ls -
 +... 
 +-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  9Mä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-
 +Package: containerd.io Version: 1.4.11-
 +Package: containerd.io Version: 1.4.12-1 
 +Package: containerd.io Version: 1.4.13-1 
 +Package: containerd.io Version: 1.4.4-1 
 +...
 </code> </code>
 +
 +==== Nicht mehr benötigte Pakete löschen ====
 +Wie z. B. alte Kernel + initramrd
 +<code>
 +apt --purge autoremove
 +</code>
 +
debian/apt.1616003443.txt.gz · Last modified: 2023/01/11 20:30 (external edit)

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