Alien:...s::Dpkg(3pm)

πŸ“¦ version 0.003, in fedora 43

πŸ’– Alien::Packages::Dpkg β€” the perl manual page, but make it cute πŸ’–

okay bestie, so this is the page for Alien::Packages::Dpkg from the User Contributed Perl Documentation collection, and honestly? it's giving "tiny module, big job." it gets information from Debian's package database via dpkg-query. that's the whole vibe. let's go πŸ¦‹


🌸 NAME 🌸

Alien::Packages::Dpkg β€” get's information from Debian's package database via dpkg-query

(yes, that apostrophe in "get's" is canon, we do not touch the sacred text πŸ’…)


🌈 ISA 🌈

lowkey the family tree moment. it's built on top of:

  • Alien::Packages::Rpm
  • Alien::Packages::Base

so like, Alien::Packages::Rpm is the parent, and Alien::Packages::Base is the grandparent energy. iconic lineage fr fr πŸ‘‘


✨ SUBROUTINES/METHODS ✨

here's where the actual slay happens. three methods, no filler.

πŸŽ€ usable

Returns true when the dpkg-query command could be found in the path.

that's it. that's the check. it's basically the vibe check for "do you even have dpkg-query on this machine?" β€” true if yes, and if not… well, not true. πŸ’€

πŸŽ€ list_packages

Returns the list of installed dpkg packages.

all of them. the whole roster. main character energy from every single package on the system. πŸ“¦βœ¨

πŸŽ€ list_fileowners

Returns the dpkg packages which are associated to requested file(s).

so you hand it file(s), and it tells you which dpkg packages own them. like a "who's your owner" for files. obsessed with the utility here ngl 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Jens Rehsack, <rehsack at cpan.org>

shoutout to the author, absolute legend for writing this πŸ«‘πŸ’œ


Copyright 2010 Jens Rehsack.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

so basically: free software, pick your license, go wild, just be cool about it 🌸


and that's the whole page bestie!! this one's from perl v5.42.0, dated 2025-07-25, and it's the Alien:...s::Dpkg(3pm) manual under User Contributed Perl Documentation. periodt. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from