# 使用 Homebrew, apt, Nix 安装 apache-drill

查看 apache-drill 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:apache-drill
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install apache-drill
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install sqlline
```

  证据: Debian stable package indexes: sqlline from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#sqlline
```

  证据: nixpkgs package indexes: pkgs/by-name/sq/sqlline/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:apache-drill
- **软件包管理器:** Homebrew
- **版本:** 1.22.0
- **来源摘要:** Schema-free SQL Query Engine for Hadoop, NoSQL and Cloud Storage
- **主页:** <https://drill.apache.org>
- **最后更新:** 2026-06-28T00:38:43-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- auto-setup.sh (别名)
- drill-am.sh (别名)
- drill-conf (别名)
- drill-config.sh (别名)
- drill-embedded (别名)
- drill-localhost (别名)
- drill-on-yarn.sh (别名)
- drillbit.sh (别名)
- runbit (别名)
- sqlline (别名)
- submit_plan (别名)
- yarn-drillbit.sh (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.22.0
## 项目历史与用法

Apache Drill is a distributed SQL query engine for self-describing data, aimed at interactive analysis over Hadoop, NoSQL systems, cloud object stores, files, and other semi-structured sources without forcing users to predefine schemas.

### 项目历史

Drill was created in the Apache ecosystem as an implementation inspired by Google's Dremel paper and entered the Apache Incubator in 2012. The project graduated as an Apache top-level project in November 2014, with ASF materials emphasizing both the Dremel lineage and the goal of letting analysts query large, changing datasets directly.

The 1.0 release followed in May 2015. By then Drill was positioned as a self-service SQL layer for Hadoop, HBase, NoSQL, and files, with ordinary SQL clients, JDBC/ODBC tooling, and the bundled sqlline shell acting as the day-to-day interface.

### 采用历史

ASF's top-level project announcement described a community with contributors from MapR, Hortonworks, Pentaho, Cisco, and others. Its adoption pitch was less about replacing a warehouse and more about shortening the path from raw data to exploratory SQL, especially where schemas were late-binding or data lived outside a single database.

Drill's package-manager appeal comes from that same shape: install a JVM-based query layer, point storage plugins at local files, HDFS, S3, MongoDB, HBase, Hive, Kafka, and similar systems, then query them from a shell or BI client without running a separate ingestion pipeline first.

### 使用方式

The Homebrew package exposes Drill launch and helper scripts such as drill-embedded, drill-localhost, drillbit.sh, and sqlline. In practice, package users tend to start with embedded or localhost mode for local file and object-store exploration, then move configuration into drill-override.conf for distributed or secured deployments.

Drill configuration is split between the HOCON-style drill-override.conf and environment overrides such as drill-env.sh. Apache's docs state that Drill loads these from /etc/drill/conf when present, otherwise from $DRILL_HOME/conf, which matches the Unix paths useful to package maintainers.

### 为什么软件包爱好者会关心

Drill is interesting to package nerds because it ships as a large Java data system but still offers a concrete CLI workflow: install it, run sqlline or drill-embedded, and query local JSON, Parquet, CSV, or remote systems through storage plugins. The package boundary matters because Java version, config directory, launch scripts, and optional native clients can all affect the first five minutes.

It also represents the Hadoop-era style of packaging: a tarball-style distribution with $DRILL_HOME, conf files, shell wrappers, and cluster-oriented defaults, wrapped by Homebrew into something developers can run locally.

### 时间线

- 2012: Drill enters the Apache Incubator.
- 2014: Drill graduates as an Apache top-level project.
- 2015: Apache Drill 1.0 is announced.
- 2025: Apache Drill 1.22.0 appears in the official release notes index.

### Related projects

- Google Dremel is the research system that inspired Drill's interactive, nested-data SQL direction.
- Apache Calcite, Hadoop, Hive, HBase, Parquet, Kafka, MongoDB, and cloud object stores are common neighboring technologies in Drill deployments.

### 来源

- <https://drill.apache.org/blog/2015/05/19/the-apache-software-foundation-announces-apache-drill-1.0/>
- <https://drill.apache.org/docs/start-up-options/>
- <https://incubator.apache.org/projects/drill.html>
- <https://news.apache.org/foundation/entry/the_apache_software_foundation_announces66>


## 安全说明

broad file, network, media, or database tool signal. infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- infrastructure mutation or orchestration signal


## 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: /etc/drill/conf/drill-override.conf, /etc/drill/conf/drill-env.sh, $DRILL_HOME/conf/drill-override.conf, $DRILL_HOME/conf/drill-env.sh
## 其他软件包管理器记录

- Debian apt - sqlline - 1.0.2-9: installed executable or alias match | Debian stable package indexes: sqlline from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | JDBC command-line utility for issuing SQL | https://sqlline.sourceforge.net
- Nix - sqlline: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/sq/sqlline/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - sqlline - 1.0.2-8: installed executable or alias match | Ubuntu 24.04 LTS package indexes: sqlline from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | JDBC command-line utility for issuing SQL | http://sqlline.sourceforge.net


## Combined YAML source

View the package source record on GitHub. [combined/apache-drill.yml](https://github.com/mxcl/pkgdb/blob/main/combined/apache-drill.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
