forked from PeterDevon/ThorLMH
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall-linux.sh
More file actions
28 lines (26 loc) · 970 Bytes
/
install-linux.sh
File metadata and controls
28 lines (26 loc) · 970 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
#!/bin/bash
# Detect package manager and install espeak/espeak-ng
if command -v apt &> /dev/null; then
echo "Detected Debian/Ubuntu. Installing espeak..."
sudo apt update
sudo apt install -y espeak
elif command -v dnf &> /dev/null; then
echo "Detected Fedora. Installing espeak-ng..."
sudo dnf install -y espeak-ng
elif command -v yum &> /dev/null; then
echo "Detected RHEL/CentOS. Installing espeak-ng..."
sudo yum install -y espeak-ng
elif command -v pacman &> /dev/null; then
echo "Detected Arch Linux. Installing espeak-ng..."
sudo pacman -Sy --noconfirm espeak-ng
elif command -v zypper &> /dev/null; then
echo "Detected openSUSE. Installing espeak-ng..."
sudo zypper install -y espeak-ng
else
echo "Unsupported Linux distribution. Please install espeak manually."
exit 1
fi
echo "✅ eSpeak installation complete!"
curl -fsSL https://ollama.com/install.sh | sh
pip3 install -r requirements.txt
python3 main.py