The Python team has released its latest version Python 3.8 for general use. You can download the latest stable version Python 3.8 series and install it on your system. This article will help you to install Python 3.8.0 on Ubuntu, Debian, and LinuxMint operating system. You can visit here to read more about Python releases.
As you are going to install Python 3.8 from the source. You need to install some development libraries to compile Python source code. Use the following command to install prerequisites for Python:
sudo apt-get install build-essential checkinstall sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev
Download Python source code using the following command from python official site. You can also download the latest version in place of specified below.
cd /opt sudo wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz
Then extract the downloaded source archive file
sudo tar xzf Python-3.8.0.tgz
Use below set of commands to compile Python source code on your system using altinstall.
cd Python-3.8.0 sudo ./configure --enable-optimizations sudo make altinstall
Check the installed version of python using the following command. As you have not overwritten the default Python version on the system, So you have to use Python 3.8 as follows:
python3.8 -V Python-3.8.0
After successful installation remove the downloaded archive to save disk space
sudo rm -f Python-3.8.0.tgz
The post How to Install Python 3.8 on Ubuntu, Debian and LinuxMint appeared first on TecAdmin.
The post How to Install Python 3.8 on Ubuntu, Debian and LinuxMint first appeared on RSSFeedsCloud.
The latest interim release of Ubuntu introduces “devpacks” for popular frameworks like Spring, along with…
Ubuntu 25.04, codenamed “Plucky Puffin”, is here. This release continues Ubuntu’s proud tradition of integrating…
Ubuntu released its 20.04 (Focal Fossa) release 5 years ago, on March 23, 2020. As…
Focal Fossa will reach the End of Standard Support in May 2025, also known as…
Ubuntu MATE 25.04 is ready to soar! 🪽 Celebrating our 10th anniversary as an official…
Welcome to the Ubuntu Weekly Newsletter, Issue 887 for the week of April 6 –…