afc5db8d76
- pacman .db Remote funktioniert nicht mit Gitea - makepkg -si als primäre Installationsmethode - Release-Download als Fallback - Dokumentation aktualisiert
85 lines
2.0 KiB
Markdown
85 lines
2.0 KiB
Markdown
# 📦 Installation Guide
|
|
|
|
## Schnellstart
|
|
|
|
```bash
|
|
# Als AUR-Paket installieren (empfohlen)
|
|
makepkg -si PKGBUILD
|
|
|
|
# Oder systemweit nach /usr/local/bin
|
|
sudo cp target/release/aegisaur /usr/local/bin/
|
|
sudo chmod +x /usr/local/bin/aegisaur
|
|
|
|
# Oder symbolischer Link
|
|
sudo ln -s $(pwd)/target/release/aegisaur /usr/local/bin/aegisaur
|
|
```
|
|
|
|
## Eigenes AUR-Repository
|
|
|
|
### Pfad auf Gitea
|
|
```
|
|
https://gitea.die-heimatlosen.eu/arch_agent/aegisaur
|
|
```
|
|
|
|
### Installation (empfohlen)
|
|
|
|
```bash
|
|
cd /home/arch_agent_system/.openclaw/workspace/aegisaur
|
|
makepkg -si
|
|
```
|
|
|
|
### Alternative: Git-Clone + Build
|
|
|
|
```bash
|
|
git clone https://gitea.die-heimatlosen.eu/arch_agent/aegisaur.git
|
|
cd aegisaur
|
|
cargo build --release
|
|
sudo cp target/release/aegisaur /usr/local/bin/
|
|
sudo aegisaur install-hook
|
|
```
|
|
|
|
### ⚠️ Pacman-Repo Hinweis
|
|
|
|
> Ein pacman-Remote (`[aegisaur]` in pacman.conf) braucht eine `.db` Datei, die Gitea nicht automatisch bereitstellt. Nutze stattdessen `makepkg` oder den Release-Download.
|
|
|
|
### Release-Download (Fallback)
|
|
|
|
```bash
|
|
curl -LO https://gitea.die-heimatlosen.eu/arch_agent/aegisaur/releases/download/v0.1.0/aegisaur-0.1.0-x86_64.tar.gz
|
|
tar xzf aegisaur-0.1.0-x86_64.tar.gz
|
|
sudo install -Dm755 aegisaur /usr/bin/aegisaur
|
|
```
|
|
|
|
## ALPM-Hook (systemweit)
|
|
|
|
```bash
|
|
# Installiert Hook nach /usr/share/libalpm/hooks/
|
|
sudo aegisaur install-hook
|
|
|
|
# Deinstalliert Hook
|
|
sudo aegisaur remove-hook
|
|
```
|
|
|
|
## Konfiguration
|
|
|
|
```bash
|
|
# Erstellt ~/.config/aegisaur/config.toml
|
|
aegisaur config
|
|
|
|
# Beispiel-Config kopieren
|
|
cp /usr/share/aegisaur/config.example.toml ~/.config/aegisaur/config.toml
|
|
```
|
|
|
|
## Pfad-Übersicht
|
|
|
|
| Komponente | Pfad |
|
|
|------------|------|
|
|
| Binary | `/usr/bin/aegisaur` |
|
|
| ALPM-Hook | `/usr/share/libalpm/hooks/99-aegisaur.hook` |
|
|
| Hook-Script | `/usr/share/libalpm/hooks/aegisaur-check.sh` |
|
|
| Dokumentation | `/usr/share/doc/aegisaur/` |
|
|
| Config | `~/.config/aegisaur/config.toml` |
|
|
| Cache | `~/.cache/aegisaur/` |
|
|
| Quellcode | `/home/arch_agent_system/.openclaw/workspace/aegisaur/` |
|
|
| Gitea-Repo | `https://gitea.die-heimatlosen.eu/arch_agent/aegisaur` |
|