/srv/irclogs.ubuntu.com/2023/11/29/#ubuntu-server.txt

=== Bebef is now known as Guest3805
=== kostkon_ is now known as kostkon
=== pizzaiolo is now known as pizza
Nick76Hi All, I was installed Ubuntu 22.04.3 LTS and checking which version of python is installed, I see python2 and python3 are installed. can some one help me to understand.15:45
dbungertNick76: checkout `py3versions -i` and `pyversions -i`.  or `dpkg -l 'python*-minimal'|grep ^ii`16:04
Nick76for the command $ 'py3versions -i' output python3.10,  for `pyversions -i` output command 'pyversions' not found , but can be installed with: sudo apt install python2. for `dpkg -l 'python*-minimal'|grep ^ii` the output ii python3-minimal 3.10.6-1~22.04 amd64  minimal subset of the python language (default python3 version). ii python3.10-minimal16:24
Nick763.10.12-1~22.04.3 amd64  minimal subset of the python language (version 3.10).16:24
Nick76Hello dbungert : thank you and here is the output, for the command $ 'py3versions -i' output python3.10,  for `pyversions -i` output command 'pyversions' not found , but can be installed with: sudo apt install python2. for `dpkg -l 'python*-minimal'|grep ^ii` the output ii python3-minimal 3.10.6-1~22.04 amd64  minimal subset of the python language16:41
Nick76(default python3 version). ii python3.10-minimal 3.10.12-1~22.04.3 amd64  minimal subset of the python language (version 3.10).16:41
fricklerNick76: so according to that output, only python3 is installed, where did you see python2?17:39
Nick76Hello frickler : thank you and when I scan security vulnerability I found out "libpython2.7-minimal_2.7.18-13ubuntu1.1", python2.7.18-3,  are vulnerable and I run this command 'apt list python2 -a" output python2/jammy, now 2.7.18-3 amd64 (installed)  and python2/jammy 2.7.18-3 i386.17:56

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!