Utils
This commit is contained in:
+4
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user