datnguyentien204
commited on
Upload 2 files
Browse files- install_docker.sh +5 -0
- install_py3.8.sh +10 -0
install_docker.sh
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apt-get update -y
|
2 |
+
apt-get install libxtst6 libxrender1 libxi6 libxext6 -y
|
3 |
+
apt-get install x11-xserver-utils -y
|
4 |
+
apt install openjdk-11-jdk -y #pytorch
|
5 |
+
#apt-get install xorg openbox
|
install_py3.8.sh
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apt update
|
2 |
+
apt upgrade
|
3 |
+
apt install liblzma-dev
|
4 |
+
apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev
|
5 |
+
wget https://www.python.org/ftp/python/3.7.11/Python-3.7.11.tgz
|
6 |
+
tar -xf Python-3.7.11.tgz
|
7 |
+
cd Python-3.7.11
|
8 |
+
./configure --enable-optimizations
|
9 |
+
make -j 8
|
10 |
+
make altinstall
|