-
Notifications
You must be signed in to change notification settings - Fork 55
/
oci-debian.sh
27 lines (27 loc) · 1.31 KB
/
oci-debian.sh
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
#!/bin/sh
echo ">>>[biniou oci 🧠 ]: biniou one-click installer for Debian based-distributions"
echo ">>>[biniou oci 🧠 ]: Installing prerequisites"
if [ "$(lsb_release -si|grep Debian)" != "" ]
then
su root -c "apt -y install git pip python3 python3-venv gcc perl make ffmpeg openssl libtcmalloc-minimal4"
elif [ "$(cat /etc/os-release|grep VERSION_CODENAME|grep noble)" != "" ] || [ "$(cat /etc/os-release|grep UBUNTU_CODENAME|grep noble)" != "" ]
then
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt update
sudo apt -y install git pip python3.11 python3.11-venv python3.11-dev gcc perl make ffmpeg openssl libtcmalloc-minimal4
else
sudo apt -y install git pip python3 python3-venv gcc perl make ffmpeg openssl libtcmalloc-minimal4
fi
echo ">>>[biniou oci 🧠 ]: Cloning repository"
git clone --branch main https://github.com/Woolverine94/biniou.git
echo ">>>[biniou oci 🧠 ]: Installing Virtual environment"
cd ./biniou
if [ "$(cat /etc/os-release|grep VERSION_CODENAME|grep noble)" != "" ] || [ "$(cat /etc/os-release|grep UBUNTU_CODENAME|grep noble)" != "" ]
then
ENV_BINIOU_PYTHON_VER="python3.11" ./install.sh
else
./install.sh
fi
echo ">>>[biniou oci 🧠 ]: Installation finished. Use cd biniou && ./webui.sh to launch biniou. Press enter to exit"
read dummy
exit 0