CS3700-project2/scripts/setup.sh

12 lines
299 B
Bash
Executable File

#!/bin/bash
apt install -y curl build-essential zlib1g-dev
curl -O https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz
tar xf Python-3.6.8.tar.xz
cd Python-3.6.8
export MAKEFLAGS=-j8
echo "export LD_LIBRARY_PATH=/usr/local/lib" >> ~/.bashrc
./configure --enable-shared
make
make altinstall