How to install gtkspell spell-check on Ubuntu 16.04?
Solution 1
apt-cache search gtkspell
finds the package python-gtkspellcheck
which sounds exactly like what you want.
You can also find it in the list of recommended packages of zim
:
$ apt-cache show zim | grep '^Recommends:'
Recommends: python-gtkspell
You can display and install recommended packages through Synaptic via the context menu or through Apt (with the --install-recommends
option in case you disabled the default APT::Install-Recommends
configuration setting):
sudo apt-get install --install-recommends zim
Solution 2
As far as I can see, there is no need to install both packages. From Zim wiki:
Dependencies: This plugin requires either of two libraries: "gtkspell" or "gtkspellcheck", if both are installed, the later is used.
You can then select the plugin and configure the language.
Solution 3
Try via pip, it worked for me.
Related videos on Youtube
orschiro
Updated on September 18, 2022Comments
-
orschiro over 1 year
What package do I need to install to meet the
gtkspell
spell-check dependency in Zim Wiki?orschiro@x230:~$ dpkg -l | grep gtkspell # grep deb package ii libgtkspell-dev 2.0.16-1.1ubuntu1 amd64 Development files for GtkSpell ii libgtkspell0 2.0.16-1.1ubuntu1 amd64 a spell-checking addon for GTK's TextView widget ii libgtkspell3-3-0:amd64 3.0.7-2 amd64 spell-checking addon for GTK+'s TextView widget ii python-gtkspell 2.25.3-13 amd64 Python bindings for the GtkSpell library ii python-gtkspellcheck 3.0-1.1 all spellchecking library written in Python for Gtk based on Enchant
Screenshot:
-
Ludenticus over 7 yearsThere is no python-gtkspell, only python-gtkspellcheck; that's why gtkspell check failed
-
David Foerster over 7 years@Ludenticus: Ah, I see now. The
zim
package suggests the installation of a packagepython-gtkspell
that doesn't exist in Xenial (see packages.ubuntu.com/xenial/zim). So that dependency is unsatisfiable with just the repositories. Zim seems to have foundgtkspellcheck
instead though. Is that enough to get spell checking to work? Considering your answer below it does, but I'd rather read your confirmation before I delete mine. -
Ludenticus over 7 yearsYes, Zim needs only one package to work (either gtkspell or gtkspellcheck). I was looking for a way to install both (when I posted my comment) until I realised that this had no reason. So, your answer is formally correct. I added mine to clarify this point.