This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# change to root and install packages | |
su -c "apk add sudo openrc curl python3 python3-dev nload htop" | |
# if your user doesn't exists then remove sudo passwords | |
USERNAME=$(whoami) | |
su -c "grep -qxF '${USERNAME} ALL=(ALL) NOPASSWD: ALL' /etc/sudoers || echo '${USERNAME} ALL=(ALL) NOPASSWD: ALL' | tee -a /etc/sudoers" | |
# install compilers | |
sudo apk add build-base | |
# install pip3 | |
sudo apk add py3-pip | |
# upgrade pip3 |