2022-12-14 11:28:25 +03:00
|
|
|
#!/bin/bash
|
2022-12-14 11:28:25 +03:00
|
|
|
set -Eeuo pipefail
|
2022-10-06 14:51:57 +03:00
|
|
|
|
|
|
|
# Install packages
|
2022-12-16 12:51:33 +03:00
|
|
|
yum install -y python38 procps gcc libxml2-devel openssl-devel libcurl-devel nc
|
2022-12-15 17:25:21 +03:00
|
|
|
alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 0
|
|
|
|
alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
|
|
|
|
alternatives --set python3 /usr/bin/python3.8
|
|
|
|
curl https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py
|
|
|
|
USER="$(whoami)"
|
|
|
|
export USER
|
|
|
|
python3 /tmp/get-pip.py
|
2022-12-14 11:28:25 +03:00
|
|
|
|