Skip to content

Commit

Permalink
updating script
Browse files Browse the repository at this point in the history
  • Loading branch information
hilmifaturahman authored Sep 16, 2023
1 parent 1781cd3 commit b4a4bd0
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -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}"

0 comments on commit b4a4bd0

Please # to comment.