APT-SHOW-SOURCE(1p)
π apt-show-source β the manual page, but make it make sense π
okay bestie, so this is a perl manpage from the User Contributed Perl Documentation collection, and it's about a lil script called apt-show-source. it's giving "underrated utility that deserves main character energy". let's get into it π«Ά
β¨ NAME β¨
apt-show-source β literally just lists source-packages. that's the whole job. no cap. π
πΈ DESCRIPTION πΈ
okay so here's the tea. this program parses the APT lists for source packages and the dpkg status file, and then it lists every package with a higher version number than the one installed. that's it. that's the vibe. π¦
and like⦠it may prove very useful if the "deb" entries in your APT sources.list point to stable and the "deb-src" entries point to unstable. because then you're living in two timelines at once and you need a girl who can keep track. with this program you are easily able to find out if there is a newer version of eg. Program XXXX in unstable. ⨠iconic behaviour, honestly.
π COMMAND LINE PARAMETERS π
so the optional command line parameters are:
- the DPKG Status file to use
- the path to APT's list files
- a package name
and there are also options to display: all source-packages, verbose messages, version-only, and command-line help. we love a flexible queen π
π OPTIONS π
π -stf FILE, --status-file=FILE
Reads installed packages from FILE instead of /var/lib/dpkg/status. so if your status file is living somewhere else, now you can tell her where. π
π -ld DIRECTORY, --list-dir=DIRECTORY
DIRECTORY specifies the path to APT's list files, defaults to /var/lib/apt/lists/. she has a default, but she's not gonna be weird about it if you wanna change it. π
π -p PACKAGE, --package=PACKAGE
Prints out the installed-package/source-package version Information for PACKAGE. capital-I Information, because it's that serious. π
π --version-only
Prints version only if used together with --package. it's a package deal, bestie β no --package, no version. that's the rule. π
π -a, --all
Prints out all available source-packages with version. all of them. every single one. go off. π₯
π -v, --verbose
Prints out verbose messages. she will tell you everything. she will not be quiet. and honestly? we respect it. π
π -h, --help
Prints out command-line help. when in doubt, ask for help β that's not a flaw, that's self-care. πΈ
π«Ά AUTHOR π«Ά
Dennis Schoen, dennis@debian.org β ty for your service, king. β¨
π SEE ALSO π
apt(1)dpkg(1)
go read those too, iykyk. π¦
reminder bestie: every option, every default, every path above is exactly as written β i did not touch a single character of the technical stuff. vibe check passed. π
and that's the page!! this was perl v5.32.0, dated 2021-01-03, from the APT-SHOW-SOURCE(1p) manual. mwah. periodt. π
β¨π
π¦ where this page comes from
- debian bookworm: apt-show-source 0.11+nmu1
- debian trixie: apt-show-source 0.11+nmu1
- ubuntu jammy: apt-show-source 0.11+nmu1
- ubuntu noble: apt-show-source 0.11+nmu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms