Use EPWing Dictionaries with eblook and lookup in Emacs

AuthorCreatedModifiedFormat
Xin Li[2022-08-08 Mon 23:25:21][2022-10-03 Mon 23:05:16]org-mode

Table of Contents

  1. Installation of dependencies
  2. Install through apt
  3. Install from source
  4. Download
  5. Verify
  6. Decompression
  7. Installation
  8. Configuration of Emacs
  9. Footnotes

Installation of dependencies

Install through apt

This method is more convenient, but the version may be old and does not support audio and video playback in the dictionary.

apt install eblook
apt install lookup-el
Bash

Install from source

Download

  • eblook1

  • eb

  • lookup2

wget http://ikazuhiro.s206.xrea.com/filemgmt_data/files/eblook-1.6.1%2Bmedia-20220426.tar.gz
wget ftp://ftp.sra.co.jp/pub/misc/eb/eb-4.4.2.tar.bz2
wget http://green.ribbon.to/~ikazuhiro/lookup/files/lookup-1.4+media-20220424.tar.gz
# or wget http://ikazuhiro.s206.xrea.com/filemgmt_data/files/lookup-1.4%2Bmedia-20220424.tar.gz
Bash

Verify

sha256sum *.tar.*
# e83c9521239ee046d37efa7b4cca356c1a3eac4e35a3153c90d6dd24c1cb0c0f  eblook-1.6.1+media-20220426.tar.gz
# 3abb92211e0c04640973a93ece1914da0895486fe784a7dac2ced091c64500d6  eb-4.4.2.tar.bz2
# 794a93e9bd99b42324b381d11d393930d6126fffb9ef36162aa9fbd50430e091  lookup-1.4+media-20220424.tar.gz
Bash

Decompression

find . -name "*.tar.*" -exec tar xvf {} \;
Bash

Installation3

cd eb-4.4.2
./configure --prefix=$HOME/.local
make
make install
cd ..

cd eblook-1.6.1+media-20220426
./configure --prefix=$HOME/.local
make
make install
cd ..

cd lookup-1.4+media-20220424
./configure --prefix=$HOME/.local --with-lispdir=$HOME/.config/emacs/site-packages
make
make install
Bash

Configuration of Emacs

You can refer to my Emacs configuration.

Footnotes

Backlinks