hurl/bin/install_prerequisites_docker_fedora.sh
2022-12-19 23:10:50 +01:00

14 lines
431 B
Bash
Executable File

#!/bin/bash
set -Eeuo pipefail
# Install packages
yum install -y python38 procps gcc libxml2-devel openssl-devel libcurl-devel nc
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