Latin-English dictionary for console
Tested on Ubuntu 18.04 LTS x64.
#!/usr/bin/env bash
# Install a Latin-English dictionary pair for console.
roll() {
packman=apt
sudo $packman install -y sdcv
wget -c http://download.huzheng.org/freedict.de/stardict-freedict-eng-lat-2.4.2.tar.bz2
wget -c https://netcologne.dl.sourceforge.net/project/xdxf/dicts-stardict-form-xdxf/002c/stardict-comn_sdict05_latin-english-2.4.2.tar.bz2
sudo mkdir -p /usr/share/stardict/dic
sudo tar -xvjf stardict-freedict-eng-lat-2.4.2.tar.bz2 -C /usr/share/stardict/dic
sudo tar -xvjf stardict-comn_sdict05_latin-english-2.4.2.tar.bz2 -C /usr/share/stardict/dic
}
demo() {
sdcv -u Latin-English\ dictionary libero
}
roll
demo