From b4a4bd0bcd567e34005b0c4b6264acc6f4693efd Mon Sep 17 00:00:00 2001 From: hilmifaturahman <54925228+hilmifaturahman@users.noreply.github.com> Date: Sat, 16 Sep 2023 15:23:34 +0700 Subject: [PATCH] updating script --- install.sh | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..5e15862 --- /dev/null +++ b/install.sh @@ -0,0 +1,52 @@ +#!/bin/bash + +green="\e[1;32m" +endcolor="\e[0m" +folder="$HOME/storage" + +clear +if [ -d "${folder}" ] +then + echo -e "${green}[✓]STORAGE HAS BEEN SUCCESSFUL AUTHORIZED${endcolor}" +else + termux-setup-storage + echo -e "${green}[✓]SUCCESSFUL STORAGE AUTHORIZED${endcolor}" +fi + +echo -e "${green}[*]UPDATING PACKAGES...${endcolor}" +pkg update -y +echo -e "${green}[✓]PACKAGES UPDATED${endcolor}" + +echo +echo -e "${green}[*]INSTALLING DEPENDENCIES...${endcolor}" +echo +echo +echo -e "${green}[*]INSTALL PYTHON...${endcolor}" +pkg install python -y +echo -e "${green}[✓]PYTHON INSTALLED${endcolor}" +echo +echo -e "${green}[* ]INSTALL CLANG...${endcolor}" +pkg install clang -y +echo -e "${green}[✓]CLANG INSTALLED${endcolor}" +echo +echo -e "${green}[*]INSTALL LIBZMQ...${endcolor}" +pkg install libzmq -y +echo -e "${green}[✓]LIBZMQ INSTALLED${endcolor}" +echo +echo -e "${green}[*]INSTALL RUST...${endcolor}" +pkg install rust +echo -e "${green}[✓]RUST INSTALLED${endcolor}" +echo +echo -e "${green}[*]INSTALL BINUTILS...${endcolor}" +pkg install binutils -y +echo -e "${green}[✓]BINUTILS INSTALLED${endcolor}" +echo +echo -e "${green}[*]INSTALL MATURIN...${endcolor}" +pip install maturin +echo -e "${green}[✓]MATURIN INSTALLED${endcolor}" +echo -e "${green}[✓]ALL DEPENDENCIES SUCCESSFULLY INSTALLED${endcolor}" +echo + +echo -e "${green}[*]INSTALL JUPYTER${endcolor}" +pip install jupyter +echo -e "${green}[✓]JUPYTER INSTALLED${endcolor}"