You may see an output something like below. Once Python is installed, check its version using command: $ python3 -version $ sudo add-apt-repository ppa:deadsnakes/ppa So, use the following PPA to install Python 3. On Ubuntu 14.04 or 16.04, Python 3 is not available in the Universe repository. Make sure you have enabled repository and install Python 3.6 as shown below. On Ubuntu 16.10 and 17.04, Python3 is available in the repository. Ubuntu 17.10 and newer versions, Python 3.6 is available by default. $ sudo yum install $ sudo yum install python36u On CentOS 7, we can install Python 3.6 from IUM (Inline with Upstream Stable) repository like below. On Arch Linux and its variants: $ sudo pacman -S python
0 Comments
Leave a Reply. |