R
R
Radiss2020-04-12 02:45:55
linux
Radiss, 2020-04-12 02:45:55

How to install python3 in linux-mint?

System costs 2.17.17

After installation according to this scheme itisgood.ru/2019/10/16/kak-ustanovit-python-3-8-na...

a new version was installed, but
cinnamon crashed, I had to run the command,
apt - get install -cinnamon

after which the old version returned 2.17

On windows, I installed it on disk D not globally, but now there is no division into disks.

Where can I find the PATH variable? And how to put version 3 side by side?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew, 2020-04-12
@deepblack

How to install python3 in linux-mint?

After installation according to this scheme
flew off cinnamon

It could fly off due to the fact that you installed it instead of the default system interpreter by
entering make installinstead of make altinstall.
In all other cases, everything is set normally [as a rule].
If anything, by default, the system already has Python 3.6.9 [if Mint itself is up to date] and in most cases you can do without PPA and building from source.
3.7.x and 3.8.x are now available in the main repository.
spoiler

~ apt policy python3.8
python3.8:
  Candidate: 3.8.0-3~18.04
  Version table:
     3.8.0-3~18.04 500
        500 http://mirrors.nic.funet.fi/ubuntu bionic-updates/universe amd64 Packages

~ apt policy python3.7
python3.7:
  Candidate: 3.7.5-2~18.04
  Version table:
     3.7.5-2~18.04 500
        500 http://mirrors.nic.funet.fi/ubuntu bionic-updates/universe amd64 Packages
     3.7.3-2~18.04.1 500
        500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
     3.7.0~b3-1 500
        500 http://mirrors.nic.funet.fi/ubuntu bionic/universe amd64 Packages

It is set like this:
sudo apt install python3.7
или
sudo apt install python3.8


System costs 2.17.17

Wrong ten? There is no such version.

N
nzarchii60, 2020-04-12
@nzarchii60

sudo -i
sudo apt-get update
sudo apt-get dist-upgrade

sudo apt install python3.6

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question