이 사이트를 이용함으로써, 당신은 다음에 동의합니다 개인 정보 보호 정책.
수용하다
엔터인IT엔터인IT엔터인IT
  • 집
  • IT 프로
  • 기술
  • 마이크로 소프트
    • 하늘빛
    • 구성 관리자/SCCM
    • DPM
    • 오케스트레이터
    • Hyper-V
    • 마이크로소프트 엣지 인사이더
    • MSI
    • 사무실 365
    • 사무실 내부자
    • 파워 BI
    • 스카이프
    • SQL 서버
    • 팀
  • 창
    • Windows 관리 센터
    • 윈도우 클라이언트
    • 윈도우 서버
  • SCCM 쿼리 컬렉션 목록
독서: Install Python 3.8 on CentOS 7 CentOS 8
글꼴 크기 조정기아아
엔터인IT엔터인IT
글꼴 크기 조정기아아
  • 집
  • IT 프로
  • 기술
  • 마이크로 소프트
  • 창
  • SCCM 쿼리 컬렉션 목록
찾다
  • 집
  • IT 프로
  • 기술
  • 마이크로 소프트
    • 하늘빛
    • 구성 관리자/SCCM
    • DPM
    • 오케스트레이터
    • Hyper-V
    • 마이크로소프트 엣지 인사이더
    • MSI
    • 사무실 365
    • 사무실 내부자
    • 파워 BI
    • 스카이프
    • SQL 서버
    • 팀
  • 창
    • Windows 관리 센터
    • 윈도우 클라이언트
    • 윈도우 서버
  • SCCM 쿼리 컬렉션 목록
Python

Install Python 3.8 on CentOS 7 CentOS 8

게시: 2월 18, 2024
2 최소 읽기
공유하다

Install Python 3.8 on CentOS 7 CentOS 8

내용물
Step 1: Install Python DependenciesStep 2: Download the latest Python 3.8 ArchiveStep 3: Install Python 3.8 on CentOS 7 / CentOS 8Step 4: Check Python 3.8 on CentOS 8 / CentOS 7.

Python works on Windows, 스코틀랜드 사람, 리눅스, Raspberry Pi, BS, and many other systems. As of this article update, the latest release of Python is version Python 3.8.12. This is the version of Python that we’ll install in this guide.

Step 1: Install Python Dependencies

As we’ll install Python from the source, let’s install the packages required for Python installation.

sudo yum -y install epel-release
sudo yum -y update

Install build dependencies:

sudo yum -y groupinstall "Development Tools"
sudo yum -y install openssl-devel bzip2-devel libffi-devel xz-devel

Confirm gcc is available:

$ gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Step 2: Download the latest Python 3.8 Archive

Now download the latest archive of the Python 3.8 풀어 주다.

sudo yum -y install wget
wget https://www.python.org/ftp/python/3.8.12/Python-3.8.12.tgz

Extract the package.

tar xvf Python-3.8.12.tgz

Change the created directory:

cd Python-3.8*/

Step 3: Install Python 3.8 on CentOS 7 / CentOS 8

Setup installation by running the configure script.

./configure --enable-optimizations

Initiate compilation of Python 3.8.

sudo make altinstall

If this was successful, you should get a message like below:

.....
Looking in links: /tmp/tmpy9yqf1bp
Collecting setuptools
Collecting pip
Installing collected packages: setuptools, pip
Successfully installed pip-19.2.3 setuptools-41.2.0

Step 4: Check Python 3.8 on CentOS 8 / CentOS 7.

Confirm that the installation of Python 3.8 on CentOS 8 / CentOS 7 was successful.

$ python3.8 --version
Python 3.8.12

Pip is also installed.

$ pip3.8 --version
pip 19.2.3 from /usr/local/lib/python3.8/site-packages/pip (python 3.8)
태그됨:CentOSPythonYUM
이전 기사 Disable weak SSH encryption algorithms
다음 기사 AssertionError: database connection isn’t set to UTC
코멘트를 남겨주세요 코멘트를 남겨주세요

답장을 남겨주세요 답장 취소

귀하의 이메일 주소는 공개되지 않습니다. 필수 입력란이 표시되어 있습니다 *

이 사이트는 스팸을 줄이기 위해 Akismet을 사용합니다.. 댓글 데이터가 처리되는 방법 알아보기.

번역

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
~에 의해 Transposh - translation plugin for wordpress

인기 게시물

Windows Server의 시스템 요구 사항 2016
윈도우 서버
구성 관리자 쿼리 컬렉션 목록
구성 관리자 쿼리 컬렉션 목록
configmgr
클래식 팀 사이트의 최신 페이지에서 구조적/관리형 탐색 활성화
기술
SCCM이 DP 위치를 MP에서 예상 버전으로 가져오지 못했습니다.
configmgr

최근 게시물

Actions with VM in Hyper-V Windows 10: A Guide to Managing Virtual Machines
Hyper-V
창 10 Hyper-V VM 설정
Hyper-V
Windows에서 Hyper-V 구성을위한 초보자 안내서 10
Hyper-V
구성 관리자 쿼리 컬렉션 목록
SCCM 현재 지점 업데이트 1610
configmgr

© 2023 엔터인IT

모바일 버전으로 이동하십시오
돌아온 것을 환영합니다!

귀하의 계정에 로그인하세요

사용자 이름 또는 이메일 주소
비밀번호

비밀번호를 잃어버렸습니다?