Alien:...s::Dpkg(3pm)
π 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::RpmAlien::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 π«‘π
π LICENSE AND COPYRIGHT π
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
- fedora 43: perl-Alien-Packages 0.003-30.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms