RockyLinux8 파이썬 설치

meenzoon·2023년 7월 16일
0

python 3.8 설치

# python 설치
dnf module -y install python38

# python 버전 확인
python3 -V

# python 
alternatives --config python3

anaconda 설치

podman(rockylinux8 기본 컨테이너 관리 도구) 삭제

dnf -y remove podman container-common

docker 설치

# docker repository 추가
dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

# docker 설치
dnf install docker-ce docker-ce-cli containerd.io

# docker 시작
systemctl start docker
# 시스템 시작 시 docker 자동 시작
systemctl enable docker

# 
usermod -aG docker ${username}

참조
https://www.server-world.info/en/note?os=Rocky_Linux_8&p=python&f=4
https://yongeekd01.tistory.com/35#google_vignette

1개의 댓글

comment-user-thumbnail
2025년 1월 16일

Setting up Python on Rocky Linux 8 was a bit frustrating at first, especially dealing with version conflicts and configuring alternatives. This article really helped me get through it—big thanks for the step-by-step instructions!

I also recently had to install Miniconda on Ubuntu 24.05, and I struggled a bit with dependency issues. Luckily, I found this really useful guide on how to install miniconda ubuntu, which made things way easier.

Appreciate the clear breakdown here—lifesaver!

답글 달기
Powered by GraphCDN, the GraphQL CDN