I need a higher version of Python on my dietpi (sbc = Orange Pi plus). Is this possible without breaking the stability/installation on the dietpi?
ps: i need at least Python 3.4.4 (for the homeassistant in combination with the ikea-gateway/tradfri)
i have the same issue as you, and i have done it as follows.
My Testmachine is the Odroid HC1 with the Kernel 4.9 test image for the moment, but mentioned that i do not know if it occurs any problems.
apt-get install make
tar xJf Python-3.6.3.tar.xz
Note: the “make” takes about 5-10 minutes on Odroic HC1, and then further 5 minutes at “make install”.
That looks good so far, let’s start testing :mrgreen:
I followed this instruction i found earlier:
tar xf Python-3.4.4.tar.xz
#switch to new version
update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 10
#check: python3 --version
(i am updating to the version you suggested!)
If you are going to build a package…why not use checkinstall (vs make install)…then build a .deb package and list a repository for it…so we all can enjoy it
More info on checkinstall