dpkg-www(1)
π dpkg-www(1) β Debian Project edition π
okay bestie, sit down, hydrate, because today we're talking about dpkg-www β the program that remotely opens a WWW Debian package browser for you. No cap. β¨
π SYNOPSIS
dpkg-www [-s|--stdout] [-h|--host host] [query]
that's it. that's the whole vibe. π¦
π DESCRIPTION
So listen. dpkg-www exists to remotely control a web browser and open a dpkg URL on the localhost, straight from an interactive shell or a script. main character energy fr fr. π
If you run this command while you're chilling under the X Window System, the script will go looking for an installed X browser to open the URL you asked for. And if you're not under X? It tries a text browser instead. adaptive queen. π§
Now here's the cute part: if one of the known browsers is found and there's already an instance running, it politely asks that instance to open the dpkg URL on localhost with whatever optional query you handed it on the command line. And if there's no browser running yet? It just starts a brand new one automatically. self-sufficient. we love that. π«Ά
The functionality this program gives you is identical to running a web browser with the -remote openURL(http://localhost/cgi-bin/dpkg) argument, or to just opening that same URL from inside the browser. iykyk. β
Oh and real quick β dpkg-www-installer(8) is a helper application that can be configured in the WWW browser for web installation. It should never be invoked directly by the user. not ever. don't do it. that's a no for me. π
β¨ OPTIONS β¨
-s,--stdoutβ Redirects output to stdout. β οΈ Requires one of the text browsers (elinks,links2,linksorw3m) to be installed. no browser, no output, sorry bestie.-h,--hosthost β Sends the query to a remote host β and heads up,dpkg-wwwmust be installed over there too. πΈ- query β Specifies an optional package name, an absolute pathname, or a query argument which is passed to the dpkg cgi-bin. Want the deets on how the CGI works? See
dpkg-www(8). π
π FILES
/etc/dpkg-www.conf~/.dpkg-www
those are the configuration files for dpkg-www. π
and here's the relaxing part: it is not necessary for these files to exist! there are sensible defaults for everything. but if you do want to pick your preferred www browser, you can set it with the DPKG_WWW_BROWSER variable. for example:
DPKG_WWW_BROWSER=firefox
slay. set it and forget it. π¦
π₯ EXAMPLES
dpkg-wwwThis would open a dpkg URL onlocalhostlisting all the installed packages. the classic. πdpkg-www bashThis would open a dpkg URL asking info on thebashpackage. πdpkg-www -h pisolo bashThis would open a dpkg URL asking info on thebashpackage on hostpisolo. long distance relationship, but make it packages. π‘dpkg-www 'dpkg*'This would open a dpkg URL listing all packages matchingdpkg*. wildcard queen. β¨dpkg-www /bin/bashThis would open a dpkg URL asking info on the package(s) owning the file/bin/bash. who's your owner? π΅οΈdpkg-www depends=coreutilsThis would open a dpkg URL listing all packages depending oncoreutils. the dependents are coming out. π«Άdpkg-www --stdout depends=awk | grep ^iiThis would list on stdout all packages depending onawkand grep all lines of installed packages. pipe it, filter it, serve it. π
π SEE ALSO
and that's the whole page, bestie!! π this was written from version 2.66 of the manual, dated 2026-05-10, straight from the Debian Project themselves. periodt. π β¨π¦
π¦ where this page comes from
- ubuntu stonking: dpkg-www 2.66
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms