mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
27 lines
294 B
Bash
27 lines
294 B
Bash
#!/bin/bash
|
|
|
|
cd /sources
|
|
tar xf Python-3.10.6.tar.xz
|
|
cd Python-3.10.6
|
|
|
|
./configure --prefix=/usr \
|
|
--enable-shared \
|
|
--without-ensurepip
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make -j5
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make install
|
|
|
|
cd $LFS/sources
|
|
rm -rf Python-3.10.6
|
|
|