Dist::...hordebs(3pm)

πŸ“¦
version 1.01 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

Dist::Zilla::App::Command::authordebs β€” the little dzil subcommand that lists (or installs!) all the Debian packages a Dist::Zilla author needs. It's literally your authoring deps, translated into apt-speak.

ABSTRACT: List or install Dist::Zilla authors dependencies as Debian packages. πŸŽ€

This page lives in the Perl manual under Dist::...hordebs(3pm) β€” yeah the header is being dramatic, but bestie, it's the same page. πŸ¦‹


✨ SYNOPSIS ✨

Two ways to use it, both iconic:

dzil authordebs --install

apt install $( dzil authordebs )

🌸 DESCRIPTION 🌸

Okay so here's the tea: dzil authordebs calls up Dist::Zilla::Util::AuthorDeps, which scans the Perl module you need to build a Perl module with Dist::Zilla, and then hands you back the Debian packages that correspond to all that. Basically it's the translator between "my Perl deps" and "what do I type into apt". πŸ’…

No cap, it's giving convenience.


πŸ‘‘ OPTIONS πŸ‘‘

  • --missing β€” only the modules you're actually missing get listed. No clutter, just the gaps. ✨
  • --install β€” goes ahead and installs the required packages with sudo apt-get install. So yeah, your sudo has to be configured properly, otherwise it's gonna be a whole thing. πŸ™ˆ
  • --update-control or --uc β€” updates the Build-Depends field inside your debian/control file with the required packages. Same flag, two names, pick your fighter. πŸ’–

πŸ’€ EXIT CODE πŸ’€

This command exits 1 if some of the required dependencies are not available as Debian packages. So if it bails with a 1, that's the vibe check failing β€” some dep just doesn't exist in Debian-land. 😭


Fr fr, remember: --install runs sudo apt-get install for real. Make sure sudo is set up properly before you let it cook. πŸ”₯

Written up from the Perl documentation, perl v5.36.0, dated 2023-12-15 β€” that's the whole page, bestie. Slay, go build something. πŸ’œπŸ«Ά