본문 바로가기

728x90

PYTHON INSTALL

CentOS 7에서 Python 3.10을 업그레이드하는 방법 CentOS 7에서 Python 3.10을 업그레이드하는 방법 CentOS 7에서 Python 3.10을 업그레이드하려면 소스 코드를 다운로드하여 컴파일하거나, EPEL 저장소를 사용하여 설치하는 방법을 선택할 수 있습니다. 소스 코드로 설치 Python 공식 웹사이트에서 Python 3.10 소스 코드를 다운로드하고 직접 컴파일하여 설치하는 방법입니다. 필요한 패키지 설치 sudo yum groupinstall "Development Tools" sudo yum install openssl-devel bzip2-devel libffi-devel 소스 코드 다운로드 및 압축 해제 cd /usr/local/src wget https://www.python.org/ftp/python/3.10.0/Python.. 더보기
How to Install python 3.7 on CentOS 7 How to Install python 3.7 on CentOS 7 Step 1 — Install Prerequisites yum install gcc openssl-devel bzip2-devel libffi-devel Step 2 — Download Python 3.x cd /usr/local/src/ wget https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz tar xfz Python-3.7.2.tgz Step 3 — Install Python3.x cd Python-3.7.2 ./configure --enable-optimizations make altinstall Step 4 — Using Python 3.x ./python --version .. 더보기
Ubuntu 18.04 LTS에서 Python 3.9으로 업그레이드하는 방법 Ubuntu 18.04 LTS에서 Python 3.9으로 업그레이드하는 방법 테스트 환경 $ cat /etc/os-release NAME="Ubuntu" VERSION="18.04.6 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.6 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/pri.. 더보기

728x90