this post was submitted on 06 Dec 2025
10 points (85.7% liked)

Linux

14243 readers
58 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

Hello o/

I have been trying to understand the .deb package format and here is what I have learned about it so far.

first layer is the most simple it's just a basic ar archive and we can extract is using ar x filename.deb command. you will see the following files:

control.tar.xz
data.tar.xz
debian-binary
  • debian-binary file specifies the .deb file version which will be 2.0 in most cases.
  • control.tar.xz file contains all the the metadata about the package like the dependencies etc.
  • data.tar.xz file is the file that actually contains all the provided files by the packages.

source:

you are viewing a single comment's thread
view the rest of the comments
[–] hendrik@palaver.p3x.de 8 points 2 days ago