¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

NanoVNA-Saver Linux update procedure


 

One practice is for a distro to have both Python 2.7 and python 3.x installed. The command ¡°python¡± usually defaults to Python 2.7.

If the distro has done this then you will probably find the following in /usr/bin (taken from my Rasberry Pi 2B)

lrwxrwxrwx 1 root root 9 Mar 28 2015 python -> python2.7
lrwxrwxrwx 1 root root 9 Mar 28 2015 python2 -> python2.7
-rwxr-xr-x 1 root root 3201580 Sep 26 2018 python2.7
lrwxrwxrwx 1 root root 9 Dec 5 2014 python3 -> python3.4
-rwxr-xr-x 2 root root 3816928 Sep 26 2018 python3.4

The critical thing to realize here is that the command ¡°python¡± can quite easily be changed to any installed version of Python. However you do have to remember that some programs that use ¡°python¡± may, in fact, assume a prticular version.

To get Python 3.7, you might have to add a PPA for it to the repository list. After that your do an "apt update¡± and you should be good to go.




On Jan 15, 2020, at 12:40, Oristo <ormpoa@...> wrote:

Probably they are part of a bigger package,
but here I need the advice of a Linux expert...
You probably want e.g, python3-numpy, python3-pyqt5, etc
Be aware that there are incompatible versions of Python
and many Linux distros try support more than Python 3..


 

When I was researching how to install 3.7 alongside my system default version (Ubuntu/Kubuntu) without breaking it I found what is claimed to be a "preferred PPA" among Python developers. It indeed installed 3.7 without clashing with the system's preferred version. Where there is a will, there is a way.

73

-Jim
NU0C

On Wed, 15 Jan 2020 13:22:27 -0800
"Rick Commo" <rick.commo@...> wrote:

One practice is for a distro to have both Python 2.7 and python 3.x installed. The command ¡°python¡± usually defaults to Python 2.7.

If the distro has done this then you will probably find the following in /usr/bin (taken from my Rasberry Pi 2B)

lrwxrwxrwx 1 root root 9 Mar 28 2015 python -> python2.7
lrwxrwxrwx 1 root root 9 Mar 28 2015 python2 -> python2.7
-rwxr-xr-x 1 root root 3201580 Sep 26 2018 python2.7
lrwxrwxrwx 1 root root 9 Dec 5 2014 python3 -> python3.4
-rwxr-xr-x 2 root root 3816928 Sep 26 2018 python3.4

The critical thing to realize here is that the command ¡°python¡± can quite easily be changed to any installed version of Python. However you do have to remember that some programs that use ¡°python¡± may, in fact, assume a prticular version.

To get Python 3.7, you might have to add a PPA for it to the repository list. After that your do an "apt update¡± and you should be good to go.




On Jan 15, 2020, at 12:40, Oristo <ormpoa@...> wrote:

Probably they are part of a bigger package,
but here I need the advice of a Linux expert...
You probably want e.g, python3-numpy, python3-pyqt5, etc
Be aware that there are incompatible versions of Python
and many Linux distros try support more than Python 3..








 

Jim,

By any cgance was it the one shown below? I got this from:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.7

Thanks,
-rick, K7LOG

On Jan 15, 2020, at 13:58, Jim Shorney <jshorney@...> wrote:


When I was researching how to install 3.7 alongside my system default version (Ubuntu/Kubuntu) without breaking it I found what is claimed to be a "preferred PPA" among Python developers. It indeed installed 3.7 without clashing with the system's preferred version. Where there is a will, there is a way.

73

-Jim
NU0C

On Wed, 15 Jan 2020 13:22:27 -0800
"Rick Commo" <rick.commo@...> wrote:

One practice is for a distro to have both Python 2.7 and python 3.x installed. The command ¡°python¡± usually defaults to Python 2.7.

If the distro has done this then you will probably find the following in /usr/bin (taken from my Rasberry Pi 2B)

lrwxrwxrwx 1 root root 9 Mar 28 2015 python -> python2.7
lrwxrwxrwx 1 root root 9 Mar 28 2015 python2 -> python2.7
-rwxr-xr-x 1 root root 3201580 Sep 26 2018 python2.7
lrwxrwxrwx 1 root root 9 Dec 5 2014 python3 -> python3.4
-rwxr-xr-x 2 root root 3816928 Sep 26 2018 python3.4

The critical thing to realize here is that the command ¡°python¡± can quite easily be changed to any installed version of Python. However you do have to remember that some programs that use ¡°python¡± may, in fact, assume a prticular version.

To get Python 3.7, you might have to add a PPA for it to the repository list. After that your do an "apt update¡± and you should be good to go.




On Jan 15, 2020, at 12:40, Oristo <ormpoa@...> wrote:

Probably they are part of a bigger package,
but here I need the advice of a Linux expert...
You probably want e.g, python3-numpy, python3-pyqt5, etc
Be aware that there are incompatible versions of Python
and many Linux distros try support more than Python 3..








 

That's it! How could I not remember deadsnakes....

I generally use the muon package manager to search for packages that I don't know the exact name of. Command line apt-get is for when you know what you want. :D

73

-Jim
NU0C


On Wed, 15 Jan 2020 14:29:49 -0800
"Rick Commo" <rick.commo@...> wrote:

Jim,

By any cgance was it the one shown below? I got this from:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.7

Thanks,
-rick, K7LOG

On Jan 15, 2020, at 13:58, Jim Shorney <jshorney@...> wrote:


When I was researching how to install 3.7 alongside my system default version (Ubuntu/Kubuntu) without breaking it I found what is claimed to be a "preferred PPA" among Python developers. It indeed installed 3.7 without clashing with the system's preferred version. Where there is a will, there is a way.

73

-Jim
NU0C

On Wed, 15 Jan 2020 13:22:27 -0800
"Rick Commo" <rick.commo@...> wrote:

One practice is for a distro to have both Python 2.7 and python 3.x installed. The command ¡°python¡± usually defaults to Python 2.7.

If the distro has done this then you will probably find the following in /usr/bin (taken from my Rasberry Pi 2B)

lrwxrwxrwx 1 root root 9 Mar 28 2015 python -> python2.7
lrwxrwxrwx 1 root root 9 Mar 28 2015 python2 -> python2.7
-rwxr-xr-x 1 root root 3201580 Sep 26 2018 python2.7
lrwxrwxrwx 1 root root 9 Dec 5 2014 python3 -> python3.4
-rwxr-xr-x 2 root root 3816928 Sep 26 2018 python3.4

The critical thing to realize here is that the command ¡°python¡± can quite easily be changed to any installed version of Python. However you do have to remember that some programs that use ¡°python¡± may, in fact, assume a prticular version.

To get Python 3.7, you might have to add a PPA for it to the repository list. After that your do an "apt update¡± and you should be good to go.




On Jan 15, 2020, at 12:40, Oristo <ormpoa@...> wrote:

Probably they are part of a bigger package,
but here I need the advice of a Linux expert...
You probably want e.g, python3-numpy, python3-pyqt5, etc
Be aware that there are incompatible versions of Python
and many Linux distros try support more than Python 3..