# Installer hdt avec Homebrew, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de hdt pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:hdt
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install hdt
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#hdt
```

  Preuve: nixpkgs package indexes: pkgs/by-name/hd/hdt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:hdt
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/hdt>
- **Version:** 1.3.3
- **Résumé source:** Header Dictionary Triples (HDT) is a compression format for RDF data
- **Page d'accueil:** <https://github.com/rdfhdt/hdt-cpp>
- **Dépôt:** <https://github.com/rdfhdt/hdt-cpp>
- **Docs amont:** <https://www.rdfhdt.org/manual-of-the-c-hdt-library>
- **Licence:** LGPL-2.1-or-later
- **Archive source:** <https://github.com/rdfhdt/hdt-cpp/archive/refs/tags/v1.3.3.tar.gz>
- **Généré:** 2026-07-08T07:18:31+00:00

## exécutables

- hdt2rdf (cli)
- hdtInfo (cli)
- hdtSearch (cli)
- modifyHeader (cli)
- rdf2hdt (cli)
- replaceHeader (cli)
- searchHeader (cli)
- hdt2rdf (alias)
- hdtInfo (alias)
- hdtSearch (alias)
- modifyHeader (alias)
- rdf2hdt (alias)
- replaceHeader (alias)
- searchHeader (alias)

## Dépendances

- serd

## Dépendances de compilation

- autoconf
- automake
- libtool
- pkgconf

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-07-08
- version du gestionnaire: 1.3.3
- données locales: OK
- dépôt amont: https://github.com/rdfhdt/hdt-cpp
- dernière version détectée: v1.3.3 (à jour)
- info: No package-manager update timestamp was available.
## Historique du projet et usages

HDT, short for Header, Dictionary, Triples, is a compact binary representation for RDF datasets. The Homebrew package builds the C++ library and command-line tools that create, inspect, query, and convert HDT files.

### Historique du projet

HDT emerged from Semantic Web research on publishing and exchanging very large RDF graphs without the verbosity of textual RDF serializations. The W3C Member Submission dated 30 March 2011 describes HDT as a binary RDF format organized around a header, a dictionary of terms, and compressed triples.

The RDF HDT project presents the format as both a data structure and serialization: the dictionary replaces repeated RDF terms with identifiers, the triples component stores graph structure compactly, and the header carries metadata about the dataset. The format was later described in publications from ISWC 2010, WWW 2012, ESWC 2012, and a 2013 Web Semantics journal article listed by the project.

The hdt-cpp repository is the C++ implementation and tool suite. Its README describes tools such as rdf2hdt for creating HDT from RDF, hdt2rdf for exporting RDF, hdtSearch for triple-pattern queries, hdtInfo for headers, and replaceHeader for metadata maintenance. GitHub release history shows a post-Google-Code release in 2015, which reflects a migration from earlier hosting into the GitHub-centered packaging era.

### Historique d'adoption

HDT adoption grew around Linked Data distribution, where the pain point is not just storing RDF but moving and querying huge dumps. The RDF HDT site lists use cases such as sharing RDF data on the Web, mirroring SPARQL endpoints, data analysis, visualization, embedded devices, and federated querying.

The project's datasets page shows HDT used to distribute large public knowledge graphs, including DBpedia, Freebase, YAGO, WordNet, DBLP, and multiple Wikidata dumps. That page also notes collections with billions of triples, including LOD-a-lot, demonstrating HDT's role as an interchange format for people who need local, compressed, indexed RDF snapshots.

The implementation family includes C++ tools, Java libraries, Jena integration, a GUI, an online conversion service, and HDT-backed dataset publishing. The Homebrew `hdt` formula packages the Unix CLI side of that ecosystem for local conversion and inspection.

### Modes d'utilisation

Typical command-line usage starts with converting an RDF serialization to an HDT file using rdf2hdt. A user can then query it interactively with hdtSearch, export it back with hdt2rdf, inspect metadata with hdtInfo, or replace header information without rebuilding the whole dataset.

HDT is read-optimized. Its project site emphasizes that an HDT file is already indexed and can be searched or browsed without prior decompression, which is why it is attractive for large dumps that would otherwise require a database import before the first useful query.

### Pourquoi les passionnés de paquets s'y intéressent

For package maintainers, hdt is a classic data-tool package: a research format turned into a practical CLI. It pulls in native C/C++ build tooling, RDF parser dependencies such as Serd, and compression support, then exposes a small set of executables that slot into data-publishing pipelines.

The package matters because RDF dump users often want repeatable local workflows rather than a bespoke triplestore setup. Installing hdt gives them the compact-file workflow directly: convert, inspect, query, and ship a single indexed artifact.

### Chronologie

- 2010: HDT was presented in ISWC slide material on compact representation of large RDF datasets.
- 2011-03: W3C published the HDT Member Submission.
- 2012: HDT work appeared at ESWC and WWW venues on exchanging and consuming huge RDF data.
- 2013: The project lists the Web Semantics article Binary RDF Representation for Publication and Exchange (HDT).
- 2014-04: The hdt-cpp GitHub repository was created.
- 2015-12: hdt-cpp v1.1.1 was published as a post-Google-Code release.
- 2017-09: hdt-cpp v1.2.0 was released.
- 2019-01: hdt-cpp v1.3.3 added bug fixes and 64-bit support.

### Related projects

- hdt-java provides Java libraries around the same HDT format.
- Jena integration and Fuseki support connect HDT files to SPARQL tooling.
- LOD-a-lot and LOD Laundromat are related large-scale Linked Open Data distribution efforts that make HDT attractive.
- DBpedia, Wikidata, YAGO, Freebase, WordNet, and DBLP appear as datasets distributed or mirrored in HDT form.

### Sources

- <https://api.github.com/repos/rdfhdt/hdt-cpp>
- <https://api.github.com/repos/rdfhdt/hdt-cpp/releases?per_page=100>
- <https://github.com/rdfhdt/hdt-cpp>
- <https://raw.githubusercontent.com/rdfhdt/hdt-cpp/master/README.md>
- <https://www.rdfhdt.org/datasets/>
- <https://www.rdfhdt.org/publications/>
- <https://www.rdfhdt.org/what-is-hdt/>
- <https://www.w3.org/submissions/2011/SUBM-HDT-20110330/>


## Notes de sécurité

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Risque Geiger:** yellow / moyen
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** hdt
- **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

## Autres enregistrements de gestionnaires de paquets

- Nix - hdt: normalized package name match | nixpkgs package indexes: pkgs/by-name/hd/hdt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Liens liés

- [Source-control packages](https://www.automicvault.com/fr/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/fr/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/fr/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [serd](https://www.automicvault.com/fr/pkg/brew/serd/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/fr/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/fr/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/fr/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/fr/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [jena](https://www.automicvault.com/fr/pkg/brew/jena/) - Shares av.db curated category or tags: cli, data, linked-data, rdf, semantic-web.
- [bzip2](https://www.automicvault.com/fr/pkg/brew/bzip2/) - Shares av.db curated category or tags: cli, compression, data.
- [bzip3](https://www.automicvault.com/fr/pkg/brew/bzip3/) - Shares av.db curated category or tags: cli, compression, data.
- [cmix](https://www.automicvault.com/fr/pkg/brew/cmix/) - Shares av.db curated category or tags: cli, compression, data.
- [fuseki](https://www.automicvault.com/fr/pkg/brew/fuseki/) - Shares av.db curated category or tags: cli, data, rdf, semantic-web.
- [heatshrink](https://www.automicvault.com/fr/pkg/brew/heatshrink/) - Shares av.db curated category or tags: cli, compression, data.
- [liblzf](https://www.automicvault.com/fr/pkg/brew/liblzf/) - Shares av.db curated category or tags: cli, compression, data.
- [precomp](https://www.automicvault.com/fr/pkg/brew/precomp/) - Shares av.db curated category or tags: cli, compression, data.

## Combined YAML source

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


## Sources

- 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
