repo/python/build
2021-07-16 22:33:05 +02:00

12 lines
344 B
Text
Executable file

wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tar.xz
tar -xf Python-3.9.6.tar.xz
cd Python-3.9.6
CXX="/usr/bin/g++" \
./configure --prefix=/usr \
--enable-shared \
--with-system-expat \
--with-system-ffi \
--with-ensurepip=yes
make
make DESTDIR="$1" install