How to install gtkspell spell-check on Ubuntu 16.04?

7,472

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.

Zim gtkspell

Solution 3

Try via pip, it worked for me.

Share:
7,472

Related videos on Youtube

orschiro
Author by

orschiro

Updated on September 18, 2022

Comments

  • orschiro
    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:

    enter image description here

  • Ludenticus
    Ludenticus over 7 years
    There is no python-gtkspell, only python-gtkspellcheck; that's why gtkspell check failed
  • David Foerster
    David Foerster over 7 years
    @Ludenticus: Ah, I see now. The zim package suggests the installation of a package python-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 found gtkspellcheck 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
    Ludenticus over 7 years
    Yes, 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.