[Slackbuilds-users] Repair a corrupted .pdf [RESOLVED]

B. Watson urchlay at slackware.uk
Wed Oct 9 19:29:19 UTC 2024



On Wed, 9 Oct 2024, Rich Shepard wrote:

> Now I wonder what else is part of mupdf that I've not known existed.

The contents of packages are stored in /var/log/package, in files
named after the package name, version, arch, tag... on my system
I have /var/log/packages/mupdf-1.24.9-x86_64-1_SBo

This is just a text file, with the description and list of files in
the packages. So I can read it in 'less', and see what files are in
the package (including the contents of /bin/ or /usr/bin/), or I can
find out what commands are in it, by doing this:

$ grep bin/. /var/log/packages/mupdf-1.24.9-x86_64-1_SBo 
usr/bin/mupdf-gl
usr/bin/mupdf-x11
usr/bin/mupdf-x11-curl
usr/bin/muraster
usr/bin/mutool

(The paths in the package file are stored without the leading /, so
/usr/bin becomes usr/bin)

Note the mupdf command itself doesn't show up there. That's because
it's actually a symlink:

$ ls -l /usr/bin/mupdf
lrwxrwxrwx 1 root root 9 Sep 25 16:06 /usr/bin/mupdf -> mupdf-x11*

These are basic things that you should learn to do. The information is
all there on your system, you just have to go look at it.


More information about the SlackBuilds-users mailing list