# 2. Install

This section describes how to install Groonga on each environment. There are packages for major platforms. It’s recommended that you use package instead of building Groonga by yourself. But don’t warry. There is a document about building Groonga from source.

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.

- 2.1. Windows
  - 2.1.1. zip
  - 2.1.2. Build from source
- 2.2. macOS
  - 2.2.1. MacPorts
  - 2.2.2. Homebrew
  - 2.2.3. Build from source
- 2.3. Debian GNU/Linux
  - 2.3.1. bullseye
  - 2.3.2. Build from source
- 2.4. Ubuntu
  - 2.4.1. PPA (Personal Package Archive)
  - 2.4.2. Build from source
- 2.5. CentOS
  - 2.5.1. CentOS 7
  - 2.5.2. Build from source
- 2.6. AlmaLinux
  - 2.6.1. AlmaLinux 8
  - 2.6.2. Build from source
- 2.7. Amazon Linux
  - 2.7.1. Amazon Linux 2
  - 2.7.2. Build from source
- 2.8. Fedora
  - 2.8.1. Fedora 21
  - 2.8.2. Build from source
- 2.9. Oracle Solaris
  - 2.9.1. Oracle Solaris 11
- 2.10. Docker
  - 2.10.1. Pulling image
  - 2.10.2. With docker-compose
- 2.11. Others
  - 2.11.1. Dependencies
    - 2.11.1.1. Tools
    - 2.11.1.2. Libraries
  - 2.11.2. Build from source
    - 2.11.2.1. `configure`
      - 2.11.2.1.1. `--prefix=PATH`
      - 2.11.2.1.2. `--localstatedir=PATH`
      - 2.11.2.1.3. `--with-log-path=PATH`
      - 2.11.2.1.4. `--with-default-encoding=ENCODING`
      - 2.11.2.1.5. `--with-match-escalation-threshold=NUMBER`
      - 2.11.2.1.6. `--with-zlib`
      - 2.11.2.1.7. `--with-lz4`
      - 2.11.2.1.8. `--with-message-pack=MESSAGE_PACK_INSTALL_PREFIX`
      - 2.11.2.1.9. `--with-munin-plugins`
      - 2.11.2.1.10. `--with-package-platform=PLATFORM`
      - 2.11.2.1.11. `--help`
    - 2.11.2.2. `make`
    - 2.11.2.3. `make install`