System Management
리눅스 환경에서 OpenSSL 설치 후 Python 3.10 설치
kogun82
2022. 7. 5. 10:01
1. OpenSSL 다운로드
wget --no-check-certificate https://www.openssl.org/source/openssl-1.1.1g.tar.gz
2. OpenSSL 설치
./config --prefix=/BiO/programs/openssl/current --openssldir=/BiO/programs/openssl/current no-ssl2
make
make install
3. OpenSSL 환경 변수 적용
export PATH=/BiO/programs/openssl/current/bin:$PATH
export LD_LIBRARY_PATH=/BiO/programs/openssl/current/lib
export LC_ALL="en_US.UTF-8"
export LDFLAGS="-L /BiO/programs/openssl/current/lib -Wl,-rpath,/BiO/programs/openssl/current/lib"
4. Python 3.10 설치하기
./configure --prefix=/BiO/programs/python/current --with-system-ffi --with-computed-gotos --enable-loadable-sqlite-extensions --with-openssl=/BiO/programs/openssl/current --with-ssl
make
make install
반응형