hurl/bin/install_prerequisites_docker_fedora.sh

14 lines
431 B
Bash
Raw Normal View History

2022-12-14 11:28:25 +03:00
#!/bin/bash
set -Eeuo pipefail
# 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