installcjkdict — Install dictionaries¶
installcjkdict downloads and installs a dictionary.
Examples¶
Download and install CEDICT to $HOME/cjklib/
(Windows), $HOME/.cjklib/
(Unix) or $HOME/Library/Application Support/
(Mac OS X):
$ installcjkdict --local CEDICT
Download CFDICT:
$ installcjkdict --download CFDICT
Getting download page http://www.chinaboard.de/cfdict.php?mode=dl... done
Found version 2009-11-30
Downloading http://www.chinaboard.de/cfdict/cfdict-20091130.tar.bz2...
100% |###############################################| Time: 00:00:00 193.85 B/s
Saved as cfdict-20091130.tar.bz2
Options¶
-
--version
¶
show program’s version number and exit
-
-h
,
--help
¶
show this help message and exit
-
-f
,
--forceUpdate
¶
install dictionary even if the version is older or equal
-
--prefix
=PREFIX
¶ installation prefix
-
--local
¶
install to user directory
-
--download
¶
download only
-
--targetName
=TARGETNAME
¶ target name of downloaded file (only with –download)
-
--targetPath
=TARGETPATH
¶ target directory of downloaded file (only with –download)
-
-q
,
--quiet
¶
don’t print anything on stdout
-
--database
=URL
¶ database url
-
--attach
=URL
¶ attachable databases
-
--registerUnicode
=BOOL
¶ register own Unicode functions if no ICU support available