hurl/bin/install_prerequisites_docker_fedora.sh
2023-04-09 14:03:14 +02:00

12 lines
372 B
Bash
Executable File

#!/bin/bash
set -Eeuo pipefail
echo "----- install prerequisite packages -----"
yum install -y sudo python38 procps gcc libxml2-devel openssl-devel libcurl-devel nc squid
curl https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py
USER="$(whoami)"
export USER
python3 /tmp/get-pip.py
sudo squid -k shutdown || true
sudo rm -v /dev/shm/squid*.shm >/dev/null 2>&1 || true