-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall_arch.bash
More file actions
31 lines (26 loc) · 938 Bytes
/
Copy pathinstall_arch.bash
File metadata and controls
31 lines (26 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
# Prüfen, ob das Skript als root/sudo ausgeführt wird
if [[ $EUID -ne 0 ]]; then
echo "Bitte starte das Skript mit sudo!"
read -p "Drücke Enter zum Schließen..."
exit 1
fi
read -p "Dises programm wird änderungen an deinem PC / system vornemehn ! Möchtest du fortfahren? (y/n): " choice
if [[ "$choice" != "y" && "$choice" != "Y" ]]; then
echo "Abgebrochen."
exit 1
fi
echo "Weiter geht's..."
echo "instaliere ollama und espeak-ng"
sudo pacman -S ollama --noconfirm
sudo pacman -S espeak-ng --noconfirm
echo "füge ollama zu autostart hinzu"
sudo systemctl enable --now ollama
echo "ollama läd jetzt llama 3.2"
ollama pull llama3.2:latest
echo "erstelle neues venv"
python3 -m venv .venv
source .venv/bin/activate
echo "starte installationen mit pip von ollama-python libery , rapidfutzz"
./.venv/bin/pip install ollama rapidfuzz
read -p "programm abgeschlossen. Drücke Enter zum Schließen..."