nobiot / Zero-to-Emacs-and-Org-roam

Step by step guide from zero to installing and setting up Emacs and Org-roam on Windows 10

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hunspell binary install via choco

rnwolf opened this issue · comments

It seems you can use chocolatey to install hunspell easily.

PS C:\Windows\system32> choco search hunspell
Chocolatey v0.10.15
hunspell.portable 1.7.0 [Approved] Downloads cached for licensed users
1 packages found.
PS C:\Windows\system32> choco install hunspell.portable
Chocolatey v0.10.15
Installing the following packages:
hunspell.portable
By installing you accept licenses for the packages.
Progress: Downloading hunspell.portable 1.7.0... 100%

hunspell.portable v1.7.0 [Approved]
hunspell.portable package files install completed. Performing other installation steps.
The package hunspell.portable wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): Y

Downloading hunspell.portable
  from 'https://github.com/mlt/hunspell/releases/download/appveyor_v1.7.0/hunspell-msvc-Release-x64.zip'
Progress: 100% - Completed download of C:\Users\rnwol\AppData\Local\Temp\chocolatey\hunspell.portable\1.7.0\hunspell-msvc-Release-x64.zip (4.33 MB).
Download of hunspell-msvc-Release-x64.zip (4.33 MB) completed.
Extracting C:\Users\rnwol\AppData\Local\Temp\chocolatey\hunspell.portable\1.7.0\hunspell-msvc-Release-x64.zip to C:\ProgramData\chocolatey\lib\hunspell.portable\tools...
C:\ProgramData\chocolatey\lib\hunspell.portable\tools
 ShimGen has successfully created a shim for hunspell.exe
 ShimGen has successfully created a shim for testparser.exe
 The install of hunspell.portable was successful.
  Software installed to 'C:\ProgramData\chocolatey\lib\hunspell.portable\tools'

Chocolatey installed 1/1 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

This will add hunspell.exe to the path.

PS C:\Windows\system32> C:\ProgramData\chocolatey\bin\hunspell.exe --version
@(#) International Ispell Version 3.2.06 (but really Hunspell 1.7.0)


Copyright (C) 2002-2014 László Németh. License: MPL/GPL/LGPL.

Based on OpenOffice.org's Myspell library.
Myspell's copyright (C) Kevin Hendricks, 2001-2002, License: BSD.

This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.

Thank you. Good info for those who use chocolatey!

Not sure how I can incorporate it in the guide. Maybe in a footnote...