Tutorial Install Python3 in Ubuntu Linux

Опубликовано: 15 Декабрь 2019
на канале: RADAS
123
6

Please subscribe to my channel. Thank you so much.
Đăng ký kênh ủng hộ mình nhé.
Tutorial Install Python3 in Ubuntu Linux
#Step to do:
#Check current Python3 version
python3 --version
Install requirements
sudo apt-get install liblzma-dev
sudo apt-get install -y build-essential
sudo apt-get install -y checkinstall
sudo apt-get install -y libreadline-gplv2-dev
sudo apt-get install -y libncursesw5-dev
sudo apt-get install -y libssl-dev
sudo apt-get install -y libsqlite3-dev
sudo apt-get install -y tk-dev
sudo apt-get install -y libgdbm-dev
sudo apt-get install -y libc6-dev
sudo apt-get install -y libbz2-dev
sudo apt-get install -y zlib1g-dev
sudo apt-get install -y openssl
sudo apt-get install -y libffi-dev
sudo apt-get install -y python3-dev
sudo apt-get install -y python3-setuptools
sudo apt-get install -y wget
Prepare to build
cd ~/Downloads/
Pull down Python 3.8, build, and install
wget https://www.python.org/ftp/python/3.8...
tar -xvf Python-3.8.0.tar.xz
cd ./Python-3.8.0
./configure
sudo make
sudo make install
#Check current Python3 version
#Open new terminal
cd ~
python3 --version
#Check current pip3 version
pip3 --version
#Install a package for Python3 use PIP3
sudo pip3 install pandas

Please send feedback to my email: [email protected] if you have any problem about links.
Good lucky!
Thank you so much.