Manual Installation
sudo apt install software-properties-common
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev
wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz
tar -zxvf Python-3.10.0.tgz
ls
cd Python-3.10.0/
ls
ls
cd Python-3.10.0/
ls
./configure --enable-optimizations
make -j $(nproc)
sudo make altinstall
python3.10
References:
[1] https://computingforgeeks.com/how-to-install-python-on-ubuntu-linux-system/
No comments:
Post a Comment