# 使用 Homebrew, apt 安装 btllib

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

## 安装

```sh
sudo av install brew:btllib
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install btllib
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install btllib-tools
```

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

## 软件包事实

- **软件包键:** brew:btllib
- **软件包管理器:** Homebrew
- **版本:** 1.7.8
- **来源摘要:** Bioinformatics Technology Lab common code library
- **主页:** <https://github.com/BirolLab/btllib>
- **仓库:** <https://github.com/BirolLab/btllib>
- **最后更新:** 2026-07-10T16:33:06-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- indexlr (别名)
- mi_bf_generate (别名)
- randseq (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

btllib is the Bioinformatics Technology Lab common code library, implemented in C++ with Python wrappers for genomic sequence processing. It packages reusable sequence I/O, hashing, Bloom-filter, and related components used by BTL/Birol Lab bioinformatics tools.

### 项目历史

The public git history starts in July 2019 with licensing, CI, and sequence-code commits. By 2020 the project had v1.0.0 tags, and it continued active releases through at least v1.7.8 in 2026.

The README presents btllib as a C++ library with Python wrappers, Linux and macOS support, Meson/Ninja builds, generated wrappers, Doxygen documentation, and generated executables installed under the package prefix.

### 采用历史

The README recommends Conda/Bioconda for users, while Homebrew, Debian, and Ubuntu packaging in the input show that btllib also entered general system package collections. Its JOSS publication in 2022 gave the project a citable software record for research use.

btllib is less a user-facing CLI than a packaged scientific dependency: package managers make its headers, static library, Python wrappers, and helper executables available to bioinformatics pipelines.

### 使用方式

Developers link C++ code against libbtllib, include btllib headers, or import the generated Python wrappers. Runtime workflows can rely on external tools such as SAMtools and compression utilities, and btllib-generated executables are installed under the package prefix's bin directory.

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

btllib matters in package history because it is research infrastructure: a shared lab library that crossed from source builds into Bioconda, Homebrew, Debian, and Ubuntu, while carrying a formal software citation through JOSS.

### 时间线

- 2019: Public repository history starts with license, CI, and sequence-code setup.
- 2020: v1.0.0 appears in git history.
- 2022: JOSS publishes the btllib software paper.
- 2026: v1.7.8 appears in git history.

### Related projects

- The README credits ntHash, MIBloomFilter, aaHash, cpptoml, and sdsl-lite components or dependencies.
- The README documents SAMtools and compression tools as runtime dependencies for particular file formats and workflows.
- Bioconda is the recommended user installation channel in the README.

### 来源

- JOSS page records the 2022 paper 'btllib: A C++ library with Python interface for efficient genomic sequence processing': https://joss.theoj.org/papers/10.21105/joss.04720
- Local git history from https://github.com/bcgsc/btllib shows first commits in 2019, v1.0.0 in 2020, and v1.7.8 in 2026.
- Official README describes btllib as a Bioinformatics Technology Lab common code library in C++ with Python wrappers: https://raw.githubusercontent.com/bcgsc/btllib/master/README.md
- Official README documents Conda/Bioconda installation, C++ linking, Python wrappers, executables, developer commands, credits, and citation instructions: https://raw.githubusercontent.com/bcgsc/btllib/master/README.md
- Package-manager adoption from source_facts.package-manager.


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 其他软件包管理器记录

- Debian apt - btllib-tools - 1.7.5+dfsg-2: normalized package name match | Debian stable package indexes: btllib-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Bioinformatics Technology Lab common code library tools | https://github.com/bcgsc/btllib
- Debian apt - libbtllib-dev - 1.7.5+dfsg-2: normalized package name match | Debian stable package indexes: libbtllib-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Bioinformatics Technology Lab common code library | https://github.com/bcgsc/btllib
- Ubuntu apt - btllib-tools - 1.4.10+dfsg-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: btllib-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Bioinformatics Technology Lab common code library tools | https://github.com/bcgsc/btllib
- Ubuntu apt - libbtllib-dev - 1.4.10+dfsg-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libbtllib-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Bioinformatics Technology Lab common code library | https://github.com/bcgsc/btllib


## Combined YAML source

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


## 来源

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