---
title: 'Full Setup: htb-toolkit on Parrot OS (Source Build)'
url: 'https://blog.ro011110ot.de/de/linux/htb-toolkit-on-parrot-os-source-build'
markdown: 'https://blog.ro011110ot.de/de/linux/htb-toolkit-on-parrot-os-source-build.md'
lang: de
date: '2026-10-05'
description: 'Full Setup: htb-toolkit on Parrot OS (Source Build) [!info] Warum dieser Weg? Da Parrot OS eine ältere glibc nutzt als Athena OS, bauen wir das Tool direkt aus dem Quellcode. Dieser Befehl installiert alle nötigen System-Tools, Schriftarten und das Toolkit selbst. 1. Kombinierter Installations-Be…'
---

# Full Setup: htb-toolkit on Parrot OS (Source Build)

> \[!info\] Warum dieser Weg? Da Parrot OS eine ältere `glibc` nutzt als Athena OS, bauen wir das Tool direkt aus dem Quellcode. Dieser Befehl installiert alle nötigen System-Tools, Schriftarten und das Toolkit selbst.

## 1. Kombinierter Installations-Befehl

Kopiere diesen Block komplett in dein Terminal:

```Bash
# 1. System-Pakete & Build-Dependencies installieren
sudo apt update && sudo apt install -y \
  coreutils gnome-keyring gzip libsecret-1-dev libsecret-tools \
  fonts-noto-color-emoji openssl openvpn libssl-dev pkg-config \
  build-essential git wget unzip

# 2. Nerd Fonts (Symbols) installieren
mkdir -p ~/.fonts
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/NerdFontsSymbolsOnly.zip
unzip -o NerdFontsSymbolsOnly.zip -d ~/.fonts
fc-cache -fv
rm NerdFontsSymbolsOnly.zip

# 3. Rust installieren (Bestätigung automatisch mit -y)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env

# 4. htb-toolkit aus Source kompilieren
cargo install --git https://github.com/D3vil0p3r/htb-toolkit.git
```

---

## 2. Permanente Konfiguration (.zshrc)

Damit die Symbole richtig angezeigt werden, der Keyring funktioniert und du den Befehl `htb-toolkit` überall nutzen kannst, füge dies am Ende deiner `~/.zshrc` hinzu:

```Bash
# In ~/.zshrc einfügen:
export PATH="$HOME/.cargo/bin:$PATH"

# Gnome-Keyring starten
if [ -n "$DESKTOP_SESSION" ]; then
    eval $(gnome-keyring-daemon --start --components=secrets 2>/dev/null)
    export SSH_AUTH_SOCK
fi
```

> \[!tip\] Aktivieren Führe nach dem Speichern `source ~/.zshrc` aus.

---

### Was dieser Befehl genau macht:

- **System-Deps:** Installiert `libsecret-1-dev` und `pkg-config`, damit Rust die Verbindung zum Passwort-Speicher (Gnome Keyring) herstellen kann.
- **Nerd-Fonts:** Lädt die Symbole, damit das Terminal-UI des Toolkits keine kryptischen Kästchen zeigt.
- **Cargo Build:** Kompiliert das Programm exakt für deine Parrot-Version. Damit ist der Fehler `GLIBC_2.39 not found` endgültig Geschichte.

---

## Navigation

- Next: [Jetbrains Aktivierung](https://blog.ro011110ot.de/de/linux/jetbrains-aktivierung.md)
