In this tutorial, I will show you how to install Python 3.8 alpha Ubuntu 18.10
Python 3.8 is still in development. This release, 3.8.0a2 is the second of four planned alpha releases. Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process. During the alpha phase, features may be added up until the start of the beta phase (2019-05-26) and, if necessary, may be modified or deleted up until the release candidate (2019-09-29). Please keep in mind that this is a preview release and its use is not recommended for production environments.
Read Also: How to install Python 3.7.0 on Mac
1. Install pyenv Ubuntu 18.10
First of all, let’s install pyenv on Ubuntu (https://github.com/pyenv/pyenv)
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
Define environment variable
$ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
$ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
Consider reading: How to install Python 3.7 on Raspberry PI
2. Install Python 3.8 alpha Ubuntu
Now let’s install it using pyenv.
It will list all 3.8 versions. Let’s install 3.8-dev
pyenv install --list | grep 3.8
Now install python 3.8 development version
pyenv install 3.8-dev
Now we have successfully installed python 3.8 development version.
Please let me know how you like the tutorial.