# Install solr with Homebrew, chocolatey, pacman

Enterprise search platform from the Apache Lucene project. Version 10.0.0 via Homebrew; verified 2026-06-11.

## Install

```sh
sudo av install brew:solr
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install solr
```

  Evidence: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S solr
```

  Evidence: Arch Linux sync databases: solr from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Chocolatey (92%):

```sh
choco install Solr
```

  Evidence: Chocolatey community package catalog: Solr from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','shotcut'

## Package facts

- **Package key:** brew:solr
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/solr>
- **Version:** 10.0.0
- **Source summary:** Enterprise search platform from the Apache Lucene project
- **Homepage:** <https://solr.apache.org/>
- **Repository:** <https://github.com/apache/solr>
- **Upstream docs:** <https://solr.apache.org/guide/solr/latest/index.html>
- **License:** Apache-2.0
- **Source archive:** <https://www.apache.org/dyn/closer.lua?path=solr/solr/10.0.0/solr-10.0.0.tgz>
- **Last updated:** 2026-06-11T20:41:04-04:00
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- solr (cli)
- solr (alias)

## Dependencies

- openjdk@21

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 10.0.0
- Package-manager updated: 2026-06-11
- Local data: ok
- Upstream repository: https://solr.apache.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Apache Solr is a long-running open source search server built on Apache Lucene. In package-manager culture it is both a Java server and a command-line tool: installing the package gives operators the `solr` command used to start examples, create collections, post documents, and run local development search nodes.

### Project history

The Solr project was established in 2006 as a subproject of Apache Lucene and became a separate Apache top-level project in 2021. Apache release notes show the public 1.x line in 2006-2009, the 3.1 release in 2011, and Solr 4.0 in 2012 with SolrCloud work prominent in the change log.

Modern Solr releases continued to emphasize distributed indexing and search, rich document handling, analytics, geospatial search, and later vector search. Apache's 2026 Solr 10.0.0 announcement describes the current project as a multi-modal search platform built on Lucene with REST APIs, parallel SQL, Kubernetes/Docker integration, and security changes.

### Adoption history

Apache's own release announcements repeatedly describe Solr as powering search and navigation at many large organizations. Homebrew's formula metadata shows Solr packaged as a stable bottled formula for local macOS and Linux use, with hundreds of installs over the trailing year in the formula analytics.

### How it is used

Typical package-manager usage starts with the `solr` executable: `bin/solr start`, example modes such as `cloud`, `techproducts`, and `schemaless`, and indexing through APIs or the bundled post tool. Operators care about the package because Solr's config files, Java runtime assumptions, service wrappers, and version-specific upgrade notes directly affect local development and production search clusters.

### Why package nerds care

Solr is a classic package-manager stress test: a CLI launcher around a large Java server, mutable per-core configuration, long-lived version pins, and compatibility-sensitive data/index formats. Formulae such as `solr` and `solr@8.11` matter because developers often need a specific Solr line to match production clusters or application test suites.

### Timeline

- 2006: Apache Solr established as a subproject of Apache Lucene.
- 2006: Solr 1.1.0 released.
- 2011: Solr 3.1.0 released from the shared Lucene/Solr line.
- 2012: Solr 4.0.0 released with SolrCloud changes prominent in the release notes.
- 2021: Apache Solr established as a separate top-level project.
- 2026: Apache Solr 10.0.0 released.

### Related projects

- Apache Lucene provides Solr's search library foundation.
- Apache ZooKeeper is central to SolrCloud coordination.
- Apache Tika, Apache ManifoldCF, Apache Spark, Apache Nutch, Apache Zeppelin, and Apache OpenNLP are listed by Solr as related projects.

### Sources

- <https://archive.apache.org/dist/lucene/solr/4.5.1/changes/Changes.html>
- <https://formulae.brew.sh/api/formula/solr.json>
- <https://github.com/apache/solr>
- <https://solr.apache.org/news.html>
- <https://solr.apache.org/whoweare.html>


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $SOLR_HOME/solr.xml, <core-or-collection>/conf/solrconfig.xml, <core-or-collection>/conf/managed-schema.xml, <core-or-collection>/conf/schema.xml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** solr
- **Aliases:** solr@10.0
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- pacman - solr - 10.0.0-1: normalized package name match | Arch Linux sync databases: solr from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Open source enterprise search platform built on Apache Lucene | https://lucene.apache.org/solr/
- Chocolatey - Solr: normalized package name match | Chocolatey community package catalog: Solr from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','shotcut'


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openjdk@21](https://www.automicvault.com/pkg/brew/openjdk-21/) - Runtime dependency declared by Homebrew.
- [solr@8.11](https://www.automicvault.com/pkg/brew/solr-8-11/) - Package name indicates the same formula family.
- [sonic](https://www.automicvault.com/pkg/brew/sonic/) - Shares av.db curated category or tags: cli, data, indexing, search, server.
- [opensearch-dashboards](https://www.automicvault.com/pkg/brew/opensearch-dashboards/) - Shares av.db curated category or tags: analytics, cli, data, search.
- [carrot2](https://www.automicvault.com/pkg/brew/carrot2/) - Shares av.db curated category or tags: cli, data, search.
- [groonga](https://www.automicvault.com/pkg/brew/groonga/) - Shares av.db curated category or tags: cli, data, indexing, search.
- [hyperestraier](https://www.automicvault.com/pkg/brew/hyperestraier/) - Shares av.db curated category or tags: cli, data, indexing, search.
- [manticoresearch](https://www.automicvault.com/pkg/brew/manticoresearch/) - Shares av.db curated category or tags: cli, data, indexing, search.
- [meilisearch](https://www.automicvault.com/pkg/brew/meilisearch/) - Shares av.db curated category or tags: cli, data, search.
- [ngt](https://www.automicvault.com/pkg/brew/ngt/) - Shares av.db curated category or tags: cli, data, indexing, search.
- [pinot](https://www.automicvault.com/pkg/brew/pinot/) - Local package facts share a topical domain. Shared terms: analytics, apache, cli, data, openjdk.

## Combined YAML source

View the package source record on GitHub. [combined/solr.yml](https://github.com/automic-vault/db/blob/main/combined/solr.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
