# 使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 tinysparql

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

## 安装

```sh
sudo av install brew:tinysparql
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tinysparql
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add tinysparql
```

  证据: Alpine Linux edge package indexes: tinysparql from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install tinysparql
```

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

- dnf (92%):

```sh
sudo dnf install tinysparql
```

  证据: Fedora Rawhide package metadata: tinysparql from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#tinysparql
```

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

- pacman (92%):

```sh
sudo pacman -S tinysparql
```

  证据: Arch Linux sync databases: tinysparql from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install tinysparql
```

  证据: openSUSE Tumbleweed package metadata: tinysparql from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:tinysparql
- **软件包管理器:** Homebrew
- **版本:** 3.11.1
- **来源摘要:** Low-footprint RDF triple store with SPARQL 1.1 interface
- **主页:** <https://tinysparql.org/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tinysparql (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

TinySPARQL is GNOME's low-footprint RDF triple store and SPARQL 1.1 library, historically known through the Tracker SPARQL component. It is aimed at applications that need local RDF storage, local or remote SPARQL queries, and D-Bus or HTTP endpoints without deploying a heavyweight enterprise triple-store stack.

### 项目历史

The TinySPARQL name comes from a 2024 GNOME soft rename. GNOME developers renamed the Tracker SPARQL library to TinySPARQL and the Tracker Miners filesystem indexer to LocalSearch during the GNOME 47 cycle, after the database library and indexer had become distinct components. GNOME's announcement says the rename was intended both to avoid confusing terminology around 'Tracker' and 'Miner' and to make the standalone lightweight SPARQL/RDF implementation more visible.

The transition kept compatibility paths in place: GNOME documented a new libtinysparql/Tsparql API and tinysparql-3.0 pkg-config file while continuing to provide the older libtracker-sparql/Tracker API for existing applications. The command-line tools also split so the SPARQL side and LocalSearch side could each expose their own subcommands.

### 采用历史

TinySPARQL's adoption is mostly distribution and desktop-stack adoption rather than end-user CLI fame. The input package metadata lists it or its library ABI across apk, Homebrew, Debian, Fedora/DNF, Nix, Arch/pacman, and openSUSE/zypper ecosystems, often under compatibility names such as tracker-sparql or libtracker-sparql.

GNOME documentation frames TinySPARQL as a library-level dependency: applications create process-local stores, connect to remote HTTP SPARQL endpoints, or connect to D-Bus SPARQL services owned by another process. That makes it a package-nerd item because the user-facing package name, pkg-config name, GIR namespace, and old Tracker compatibility names do not always move at the same pace.

### 使用方式

Developers use TinySPARQL to store RDF triples, define ontologies, issue SPARQL queries and updates, expose endpoints, and connect to local desktop search data through D-Bus. The API documentation recommends prepared statements for query/update safety and batches for update performance.

On the command line, the rename split the old tracker3 utility into tinysparql and localsearch tools, which matters to scripts, Flatpak manifests, and distro packaging that previously depended on Tracker names.

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

TinySPARQL is significant in package-manager culture because it is the renamed core of a long-lived GNOME infrastructure component. Maintainers need to track the soft rename, compatibility packages, pkg-config aliases, GIR/Vala namespaces, and the separate LocalSearch package rather than treating it as a brand-new library.

### 时间线

- Around 2020: GNOME separated the SPARQL database engine from the filesystem indexer.
- 2024-07-14: GNOME announced the Tracker SPARQL library rename to TinySPARQL and Tracker Miners rename to LocalSearch.
- 2024: GNOME 47 cycle soft rename changed repository names and introduced libtinysparql/Tsparql compatibility paths.
- 2024: TinySPARQL 3.8 alpha tarballs were announced under the new project name.

### Related projects

- Tracker and tracker-miners are the predecessor names most relevant to older packages and documentation.
- LocalSearch is the renamed GNOME filesystem indexer that uses the SPARQL infrastructure but is packaged and described separately.
- SQLite is relevant operationally because TinySPARQL's local store and distribution bugs are often seen through SQLite-backed Tracker SPARQL behavior.

### 来源

- <https://blogs.gnome.org/carlosg/2024/07/14/goodbye-tracker-hello-tinysparql-and-localsearch/>
- <https://discourse.gnome.org/t/renaming-tracker-git-and-tracker-sparql-git-and-changing-default-branch/21461>
- <https://gnome.pages.gitlab.gnome.org/tinysparql/>
- <https://gnome.pages.gitlab.gnome.org/tinysparql/class.SparqlConnection.html>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Debian apt - gir1.2-tracker-3.0 - 3.8.2-7: normalized package name match | Debian stable package indexes: gir1.2-tracker-3.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GObject introspection data for Tracker | https://tracker.gnome.org/
- Debian apt - gir1.2-tsparql-3.0 - 3.8.2-7: normalized package name match | Debian stable package indexes: gir1.2-tsparql-3.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GObject introspection data for TSparql | https://tracker.gnome.org/
- Debian apt - libtinysparql-3.0-0 - 3.8.2-7: normalized package name match | Debian stable package indexes: libtinysparql-3.0-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | metadata database, indexer and search tool - library | https://tracker.gnome.org/
- Debian apt - libtinysparql-dev - 3.8.2-7: normalized package name match | Debian stable package indexes: libtinysparql-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | metadata database, indexer and search tool - development files | https://tracker.gnome.org/
- Debian apt - libtinysparql-doc - 3.8.2-7: normalized package name match | Debian stable package indexes: libtinysparql-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | metadata database, indexer and search tool - API documentation | https://tracker.gnome.org/
- Debian apt - libtracker-doc - 3.8.2-7: normalized package name match | Debian stable package indexes: libtracker-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | metadata database API documentation (transitional package) | https://tracker.gnome.org/
- Debian apt - libtracker-sparql-3.0-dev - 3.8.2-7: normalized package name match | Debian stable package indexes: libtracker-sparql-3.0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | metadata database, indexer and search tool - old dev files | https://tracker.gnome.org/
- Debian apt - tinysparql - 3.8.2-7: normalized package name match | Debian stable package indexes: tinysparql from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | metadata database, indexer and search tool | https://tracker.gnome.org/
- Debian apt - tracker - 3.8.2-7: normalized package name match | Debian stable package indexes: tracker from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | metadata database and indexer (transitional package) | https://tracker.gnome.org/
- Nix - tinysparql: normalized package name match | nixpkgs package indexes: pkgs/by-name/ti/tinysparql/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - libtinysparql - 3.11.1-r1: normalized package name match | Alpine Linux edge package indexes: libtinysparql from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Personal search tool and storage system (libraries) | https://tracker.gnome.org/
- apk - tinysparql - 3.11.1-r1: normalized package name match | Alpine Linux edge package indexes: tinysparql from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Personal search tool and storage system | https://tracker.gnome.org/
- apk - tinysparql-bash-completion - 3.11.1-r1: normalized package name match | Alpine Linux edge package indexes: tinysparql-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for tinysparql | https://tracker.gnome.org/
- apk - tinysparql-dbg - 3.11.1-r1: normalized package name match | Alpine Linux edge package indexes: tinysparql-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Personal search tool and storage system (debug symbols) | https://tracker.gnome.org/
- apk - tinysparql-dev - 3.11.1-r1: normalized package name match | Alpine Linux edge package indexes: tinysparql-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Personal search tool and storage system (development files) | https://tracker.gnome.org/
- apk - tinysparql-doc - 3.11.1-r1: normalized package name match | Alpine Linux edge package indexes: tinysparql-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Personal search tool and storage system (documentation) | https://tracker.gnome.org/


## Combined YAML source

View the package source record on GitHub. [combined/tinysparql.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tinysparql.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
