Linux-ubuntu/Linux-ubuntu__python

python3 설치

말하는감자 2020. 12. 31. 16:31
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get -y install build-essential python-dev python-setuptools python-pip python-smbus
sudo apt-get -y install libncursesw5-dev libgdbm-dev libc6-dev
sudo apt-get -y install zlib1g-dev libsqlite3-dev tk0dev
sudo apt-get -y install zlib1g-dev libsqlite3-dev tk-dev
sudo apt-get -y install libssl-dev openssl
sudo apt-get -y install libffi-dev
cd ~
wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz
tar xvfz Python-3.7.4.tgz
cd Python-3.7.4/
./configure
make
sudo make install
python3 -V

'Linux-ubuntu > Linux-ubuntu__python' 카테고리의 다른 글

python3 설치  (0) 2020.12.31
1