Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- syslog
- Chrome
- centos 7.5
- JSON
- C
- docker
- Python
- rsyslog
- Linux
- RHEL
- K8S
- GNOME
- PostgreSQL
- 디렉토리
- GPU
- Elk
- 파이썬
- yum
- audit
- CentOS
- 크롬
- 빅데이터
- Shell
- log
- 서울시민카드
- Kubernetes
- zabbix
- Elasticsearch
- Audit Log
- bash
Archives
- Today
- Total
Sysops Notepad
[Linux] Centos python 3.9.x 버전 설치 본문
728x90
설치 환경 :
- Centos 7
- Centos 8
# yum groupinstall 'development tools' -y
# yum install wget openssl-devel bzip2-devel libffi-devel xz-devel -y
# wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz
# tar xvf Python-3.9.6.tgz
# cd Python-3.9.6 && ./configure --enable-optimizations
# make altinstall
# alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.9 1
# alternatives --set python3 /usr/local/bin/python3.9 && echo "2" | alternatives --config python
# /usr/local/bin/python3.9 -m pip install --upgrade pip
# alternatives --install /usr/bin/pip pip /usr/local/bin/pip3.9 1 && alternatives --set pip /usr/local/bin/pip3.9
# python -V && pip -V
728x90
'업무 > etc' 카테고리의 다른 글
[Linux] bzip2 설치하기 (0) | 2021.11.24 |
---|---|
[Linux] git 설치 (0) | 2021.11.15 |
[Linux] Streamlit 설치 (0) | 2021.11.15 |
[Linux] PostgreSQL 13 설치 (0) | 2021.11.15 |
[Linux] 서버 호스트명(hostname) 확인 및 변경 (0) | 2021.11.15 |
Comments