CS3700-project2/scripts/setup.sh

12 lines
299 B
Bash
Raw Normal View History

2020-01-30 23:33:11 +00:00
#!/bin/bash
2020-01-30 23:35:07 +00:00
apt install -y curl build-essential zlib1g-dev
2020-01-30 23:33:11 +00:00
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