Tech Junkie Blog - Real World Tutorials, Happy Coding!: Python: Install Python On Linux

Wednesday, September 9, 2020

Python: Install Python On Linux

 The first thing you want to do in Python is to install the latest version of Python.  Even though most Linux and MAC distribution has Python installed by default, you still want to install the latest version of Python.  The latest stable version of Python at the time of this writing is version 3.8.5 in this post we are going to install version 3.6.5 on our Linux instance.  

1. Open up the terminal and type the following commands

sudo su

mkdir /opt/python

cd /opt/python/

wget https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz

tar xzf Python-3.8.5.tgz

What we did was basically was create a new folder called python to hold our files and then download the python version 3.8.5 and then unpack the file with the tar xzf command



2. Now we are ready for the actual python install type in the following commands

cd Python-3.8.5

 ./configure --enable-optimizations

 make altinstall

These commands will take configure and install Python for you, it will actually take a while to finish


3. Type python to verify the install and type exit() to exit the python prompt




9 comments:

  1. Your blog is very informative, finally, I found exactly what I want. Paypal is an excellent service for online payments but lots of its users confront issues while they access Paypal. If you want to resolve your problems then must visit Paypal contact Nederland.

    ReplyDelete
  2. Your blog is very informative and interesting to read, finally, I found exactly what I searching for. There are lots of users of Macfee antivirus in the world because of its features and easy interface. If you want to explore more interesting facts about Mcafee antivirus or want to resolve your technical issues then must visit Mcafee klantenservice nummer.

    ReplyDelete
  3. Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for. etcher.download

    ReplyDelete
  4. Tinder n'est plus seulement une application mobile. Aujourd'hui, la société a publié une version PC de son application, appelée Tinder PC

    Voici un bref aperçu de tout ce que vous devez savoir sur Tinder sur PC et un guide étape par étape pour télécharger le dernier PC tinder sur pc.

    La société a déclaré que la raison du lancement de Tinder PC était son désir de rendre la plate-forme de rencontre accessible à tous, n'importe où.

    ReplyDelete
  5. There are numerous features to being mindful. Most importantly a decent solid tech will take care of the requirements of the architect. f&i

    ReplyDelete
  6. At the point when interruption happens, efficiency regularly endures from the outset, until such time as the new cycles become as recognizable as the old ones. TutuApp web

    ReplyDelete

Search This Blog