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
- CentOS
- docker
- RHEL
- rsyslog
- Shell
- 빅데이터
- yum
- 크롬
- K8S
- audit
- Linux
- centos 7.5
- JSON
- bash
- GNOME
- syslog
- Kubernetes
- PostgreSQL
- 디렉토리
- Elk
- zabbix
- 파이썬
- Audit Log
- GPU
- Python
- Chrome
- log
- Elasticsearch
- 서울시민카드
- C
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