WebSpellChecker.net Wiki

Grammar support for Linux platform


The WebSpellChecker.net application provides three services by default. They are SpellCheck, Grammar and Thesaurus. Status check command 'cmd=status' returns statuses of the mentioned three services in a precise order.

For Windows setup correct status is ACTIVE,ACTIVE,ACTIVE but for Linux set up it differs and is ACTIVE,NOT ACTIVE,ACTIVE. Such behavior occurs due to the fact that Grammar service works on Windows platform only and doesn't support Linux operating system.

However the WebSpellChecker.net application can be launched on Linux box with Grammar service via the Wine. In order to setup such workflow please follow the next instructions:

Please use sudo further or execute commands from privileged user.
Further steps should be accomplished if wine --version command throwing error message only. Otherwise please skip Step 1.

1. The Wine.

Installation on RHEL\Centos


We've used x86 architecture of the Wine 1.9 version since it is more stable then x64 one.

1.1 Install x86 development libraries.

  • yum install -y glibc-devel.i686
  • yum install -y libstdc++-devel.i686

1.2 Install the Wine prerequisites.

  • yum clean all
  • yum -y update
  • yum groupinstall -y 'Development Tools'
  • yum install libjpeg-turbo-devel libtiff-devel freetype-devel -y
  • yum install glibc-devel.{i686,x86_64} libgcc.{i686,x86_64} libX11-devel.{i686,x86_64} freetype-devel.{i686,x86_64} gnutls-devel.{i686,x86_64} libxml2-devel.{i686,x86_64} -y

1.3 Compile the Wine from sources.

Installation on Ubuntu

  • apt-get update
  • apt-get install p11-kit-modules:i386
  • dpkg –add-architecture i386
  • apt-get install -y software-properties-common
  • add-apt-repository -y ppa:wine/wine-builds
  • apt-get update
  • apt-get install -y –install-recommends winehq-devel
  • wine –version

2. The WebSpellChecker.net application hybrid build.

Once the Wine is installed and verified you are ready to go and install hybrid build of the WebSpellChecker.net application. The build is based on regular Linux based x64 package shipped with AppServerX.exe and relevant dynamic-link libraries. The result is a combined solution with Grammar services support on Linux.

Installation process doesn't require any additional steps to be performed. It can be installed following default linux based installation manual.

The build can be provided on request. You can reach us at support@webspellchecker.net and we'll be glad to provide you the build and related assistance.

3. Verification.