On Mon, 2022-01-31 at 07:52 -0500, The Wanderer wrote: > On 2022-01-30 at 23:49, Russell L. Harris wrote: > > > On Sun, Jan 30, 2022 at 10:36:57PM -0500, The Wanderer wrote: > > > > I discovered dictfmt and dictunformat, which seem to be applicable. > > > > But I do not know where in Debian (Debian 9) to look for the > > moby-thesaurus file. > > If you still have access to a repository that contains it (that is, if > 'apt-cache policy dict-moby-thesaurus' reports a remote location, not > just /var/lib/dpkg/status), then you can download the source package > with the command: > > apt-get source dict-moby-thesaurus > > (although you'll want to make sure you're in an appropriate empty > directory before running the command, just to keep things clean). > > Note also that a brief examination of the binary package doesn't seem to > show any indication of a Python connection at all, much less > specifically a Python 2 one, so I'm not sure what it is that will need > to be changed here.
The source package description [1] says: Build-Depends-Indep: python (>= 2.4.3), python-dictdlib (>= 2.0.4), so it looks like it uses Python to make the binary package. The description includes... "This is formatted for use by the dictionary server in the dictd package" So I'd guess that if you had dict/disctd installed you could use just intsal dict-moby-thesaurus from Debian 10 and it would work. No python2 needed. [1] https://snapshot.debian.org/archive/debian/20170902T215249Z/pool/main/d/dict-moby-thesaurus/dict-moby-thesaurus_1.0-6.4.dsc -- Tixy