Python3 install from source code
- π Python page
- openssl v.1.1.1 μ΄μ
1
2
3
4
5
6
7
8
9
wget https://www.python.org/ftp/python/3.12.0/Python-3.12.0.tgz
tar -xvzf Python-3.12.0.tgz
cd Python-3.12.0
./configure --with-openssl=/source/openssl --enable-optimizations --enable-shared --prefix=/source/Python-3.12.0
make -j 10 && make install
# pip path μ€μ
PATH=/source/Python-3.12.0:$PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/source/Python-3.12.0/lib
λ!
This post is licensed under CC BY 4.0 by the author.