# 使用 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 libtinysparql
```

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

- Debian apt (92%):

```sh
sudo apt install gir1.2-tracker-3.0
```

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

- dnf (92%):

```sh
sudo dnf install libtinysparql
```

  证据: Fedora Rawhide package metadata: libtinysparql from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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 libtracker-sparql-3_0-0
```

  证据: openSUSE Tumbleweed package metadata: libtracker-sparql-3_0-0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:tinysparql
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tinysparql>
- **版本:** 3.11.1
- **来源摘要:** Low-footprint RDF triple store with SPARQL 1.1 interface
- **主页:** <https://tinysparql.org/>
- **仓库:** <https://gitlab.gnome.org/GNOME/tinysparql>
- **上游文档:** <https://gnome.pages.gitlab.gnome.org/tinysparql>
- **许可证:** LGPL-2.1-or-later AND GPL-2.0-or-later
- **源码归档:** <https://download.gnome.org/sources/tinysparql/3.11/tinysparql-3.11.1.tar.xz>
- **最后更新:** 2026-04-15T10:41:30Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- tinysparql (cli)
- tinysparql (别名)

## 依赖

- dbus
- gettext
- glib
- icu4c@78
- json-glib
- libsoup
- sqlite

## 构建依赖

- gettext
- gobject-introspection
- meson
- ninja
- pkgconf
- vala

## macOS 提供的库

- libxml2

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 3.11.1
- 管理器更新时间: 2026-04-15
- 本地数据: OK
- 上游仓库: https://tinysparql.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

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

## 源数据库详情

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

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

- 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-r0: 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-r0: 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-r0: 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-r0: 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-r0: 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-r0: 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/


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/zh-hans/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [dbus](https://www.automicvault.com/zh-hans/pkg/brew/dbus/) - Runtime dependency declared by Homebrew.
- [gettext](https://www.automicvault.com/zh-hans/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/zh-hans/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [json-glib](https://www.automicvault.com/zh-hans/pkg/brew/json-glib/) - Runtime dependency declared by Homebrew.
- [sqlite](https://www.automicvault.com/zh-hans/pkg/brew/sqlite/) - Runtime dependency declared by Homebrew.
- [gobject-introspection](https://www.automicvault.com/zh-hans/pkg/brew/gobject-introspection/) - Build dependency declared by Homebrew.
- [meson](https://www.automicvault.com/zh-hans/pkg/brew/meson/) - Build dependency declared by Homebrew.
- [ninja](https://www.automicvault.com/zh-hans/pkg/brew/ninja/) - Build dependency declared by Homebrew.
- [redstore](https://www.automicvault.com/zh-hans/pkg/brew/redstore/) - Shares av.db curated category or tags: cli, data, database, rdf, sparql.
- [rasqal](https://www.automicvault.com/zh-hans/pkg/brew/rasqal/) - Shares av.db curated category or tags: cli, data, rdf, sparql.
- [virtuoso](https://www.automicvault.com/zh-hans/pkg/brew/virtuoso/) - Shares av.db curated category or tags: cli, data, database, sparql.
- [automysqlbackup](https://www.automicvault.com/zh-hans/pkg/brew/automysqlbackup/) - Shares av.db curated category or tags: cli, data, database.
- [basex](https://www.automicvault.com/zh-hans/pkg/brew/basex/) - Shares av.db curated category or tags: cli, data, database.
- [berkeley-db](https://www.automicvault.com/zh-hans/pkg/brew/berkeley-db/) - Shares av.db curated category or tags: cli, data, database.
- [cayley](https://www.automicvault.com/zh-hans/pkg/brew/cayley/) - Shares av.db curated category or tags: cli, data, database, rdf.
- [couchdb](https://www.automicvault.com/zh-hans/pkg/brew/couchdb/) - Shares av.db curated category or tags: cli, data, database.
- [fourstore](https://www.automicvault.com/zh-hans/pkg/brew/fourstore/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, database, dbus, gettext.
- [postgis](https://www.automicvault.com/zh-hans/pkg/brew/postgis/) - Both packages work with overlapping file formats or content types. Shared terms: cli, data, database, gettext, icu4c.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
