This commit is contained in:
2022-09-05 13:24:36 +03:00
parent 363e625c32
commit ab7b662756
+4 -1
View File
@@ -46,10 +46,13 @@ done
# Functions
install() {
echo -e "${C_LGn}Rust installation...${RES}"
echo -e "${C_LGn}Update & Upgrade your system ...${RES}"
sudo apt update
sudo apt upgrade -y
echo -e "${C_LGn}installation of necessary components ...${RES}"
sudo apt install curl build-essential pkg-config libssl-dev libudev-dev clang make -y
echo -e "${C_LGn}Rust installation...${RES}"
curl --proto '=https' -sSf https://sh.rustup.rs | sh -s -- -y
echo -e "${C_R}^ X Don't do that X ^${RES}\n"
. $HOME/.cargo/env