<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>2.1. Windows — groonga v3.0.5 documentation</title> <link rel="stylesheet" href="../_static/groonga.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '3.0.5', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <link rel="shortcut icon" href="../_static/favicon.ico"/> <link rel="top" title="groonga v3.0.5 documentation" href="../index.html" /> <link rel="up" title="2. Install" href="../install.html" /> <link rel="next" title="2.2. Mac OS X" href="mac_os_x.html" /> <link rel="prev" title="2. Install" href="../install.html" /> </head> <body> <div class="header"> <h1 class="title"> <a id="top-link" href="../index.html"> <span class="project">groonga</span> <span class="separator">-</span> <span class="description">An open-source fulltext search engine and column store.</span> </a> </h1> <div class="other-language-links"> <ul> <li><a href="../../../ja/html/install/windows.html"><img src="../_static/jp.png" alt="日本語">日本語版はこちら</a></li> </ul> </div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="mac_os_x.html" title="2.2. Mac OS X" accesskey="N">next</a> |</li> <li class="right" > <a href="../install.html" title="2. Install" accesskey="P">previous</a> |</li> <li><a href="../index.html">groonga v3.0.5 documentation</a> »</li> <li><a href="../install.html" accesskey="U">2. Install</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="windows"> <h1>2.1. Windows<a class="headerlink" href="#windows" title="Permalink to this headline">¶</a></h1> <p>This section describes how to install groonga on Windows. You can install groogna by extracting a zip package or running an installer.</p> <p>We distribute both 32-bit and 64-bit packages but we strongly recommend a 64-bit package for server. You should use a 32-bit package just only for tests or development. You will encounter an out of memory error with a 32-bit package even if you just process medium size data.</p> <div class="section" id="installer"> <h2>2.1.1. Installer<a class="headerlink" href="#installer" title="Permalink to this headline">¶</a></h2> <p>For 32-bit environment, download x86 executable binary from packages.groonga.org.</p> <p>You can download such a binary by command line operation.</p> <p>Start command prompt <tt class="docutils literal"><span class="pre">cmd.exe</span></tt> and download x86 executable binary by default browser:</p> <div class="highlight-none"><div class="highlight"><pre>> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.5-x86.exe </pre></div> </div> <p>Then run it.</p> <p>For 64-bit environment, download x64 executable binary from packages.groonga.org.</p> <p>Start command prompt <tt class="docutils literal"><span class="pre">cmd.exe</span></tt> and download x64 executable binary by default browser:</p> <div class="highlight-none"><div class="highlight"><pre>> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.5-x64.exe </pre></div> </div> <p>Then run it.</p> <p>Use command prompt for <a class="reference internal" href="../reference/executables/groonga.html"><em>groonga command</em></a> installed in start menu.</p> </div> <div class="section" id="zip"> <h2>2.1.2. zip<a class="headerlink" href="#zip" title="Permalink to this headline">¶</a></h2> <p>For 32-bit environment, download x86 zip archive from packages.groonga.org.</p> <p>You can download such a binary by command line operation.</p> <p>Start command prompt <tt class="docutils literal"><span class="pre">cmd.exe</span></tt> and download x86 zip archive by default browser:</p> <div class="highlight-none"><div class="highlight"><pre>> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.5-x86.zip </pre></div> </div> <p>Then extract it.</p> <p>For 64-bit environment, download x64 zip archive from packages.groonga.org.</p> <p>Start command prompt <tt class="docutils literal"><span class="pre">cmd.exe</span></tt> and download x64 zip archive by default browser:</p> <div class="highlight-none"><div class="highlight"><pre>> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.5-x64.zip </pre></div> </div> <p>Then extract it.</p> <p><a class="reference internal" href="../reference/executables/groonga.html"><em>groonga command</em></a> is in <tt class="docutils literal"><span class="pre">bin</span></tt> folder.</p> </div> <div class="section" id="build-from-source"> <h2>2.1.3. Build from source<a class="headerlink" href="#build-from-source" title="Permalink to this headline">¶</a></h2> <p>First, you need to install required tools for building groonga on Windows. Here are required tools:</p> <blockquote> <div><ul class="simple"> <li><a class="reference external" href="http://www.microsoft.com/japan/msdn/vstudio/express/">Microsoft Visual Studio 2010 Express</a></li> <li><a class="reference external" href="http://www.cmake.org/">CMake</a></li> </ul> </div></blockquote> <p>Download zipped source from packages.groonga.org.</p> <p>You can download such a zipped source file by command line operation.</p> <p>Start <tt class="docutils literal"><span class="pre">Visual</span> <span class="pre">Studio</span> <span class="pre">Command</span> <span class="pre">Prompt</span> <span class="pre">(2010)</span></tt> installed by Microsoft Visual Studio 2010 Express and download it by default browser:</p> <div class="highlight-none"><div class="highlight"><pre>> cd c:\Users\%USERNAME%\Downloads > "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/source/groonga/groonga-3.0.5.zip </pre></div> </div> <p>Then extract it.</p> <p>Move to the groonga's source folder:</p> <div class="highlight-none"><div class="highlight"><pre>> cd c:\Users\%USERNAME%\Downloads\groonga-3.0.5 </pre></div> </div> <p>Configure by <tt class="docutils literal"><span class="pre">cmake</span></tt>. The following commnad line is for 64-bit version. To build 32-bit version, use <tt class="docutils literal"><span class="pre">-G</span> <span class="pre">"Visual</span> <span class="pre">Studio</span> <span class="pre">10"</span></tt> parameter instead:</p> <div class="highlight-none"><div class="highlight"><pre>groonga-3.0.5> cmake . -G "Visual Studio 10 Win64" -DCMAKE_INSTALL_PREFIX=C:\groonga </pre></div> </div> <p>Build:</p> <div class="highlight-none"><div class="highlight"><pre>groonga-3.0.5> cmake --build . --config Release </pre></div> </div> <p>Install:</p> <div class="highlight-none"><div class="highlight"><pre>groonga-3.0.5> cmake --build . --config Release --target Install </pre></div> </div> <p>After the above steps, <a class="reference internal" href="../reference/executables/groonga.html"><em>groonga command</em></a> is found in <tt class="docutils literal"><span class="pre">c:\groonga\bin\groonga.exe</span></tt>.</p> </div> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h3><a href="../index.html">Table Of Contents</a></h3> <ul> <li><a class="reference internal" href="#">2.1. Windows</a><ul> <li><a class="reference internal" href="#installer">2.1.1. Installer</a></li> <li><a class="reference internal" href="#zip">2.1.2. zip</a></li> <li><a class="reference internal" href="#build-from-source">2.1.3. Build from source</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="../install.html" title="previous chapter">2. Install</a></p> <h4>Next topic</h4> <p class="topless"><a href="mac_os_x.html" title="next chapter">2.2. Mac OS X</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/install/windows.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="../search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="mac_os_x.html" title="2.2. Mac OS X" >next</a> |</li> <li class="right" > <a href="../install.html" title="2. Install" >previous</a> |</li> <li><a href="../index.html">groonga v3.0.5 documentation</a> »</li> <li><a href="../install.html" >2. Install</a> »</li> </ul> </div> <div class="footer"> © Copyright 2009-2013, Brazil, Inc. </div> </body> </html>