How to Install Python on Ubuntu 18.04

7 Views
Published
In this video, we describe how to Install Python on Ubuntu 18.04.

Commands used:
apt update -y
apt install software-properties-common
add-apt-repository ppa:deadsnakes/ppa -y
apt install python3.8 -y
python3.8

apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev \
< libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev \
< wget libbz2-dev -y
wget https://www.python.org/ftp/python/3.9.0/Python-3.9.0b4.tgz

tar -xf Python-3.9.0b4.tgz
cd Python-3.9.0b4
nproc
./configure --enable-optimizations
make -j 4
make altinstall
python3.9

The related article for this article can be found here: https://www.liquidweb.com/kb/how-to-install-python-on-ubuntu-18-04/

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/ or to learn more about our Private Cloud Powered by VMware and NetApp, visit: https://www.liquidweb.com/products/private-cloud/

Video by: Justin Palmer
Category
Liquid Web
Tags
liquidweb, datacenter, web
Be the first to comment