Hello.
I'm looking for instructions analog of switching python to default 3.11 version with
In /usr/ports/UPDATING there are commands for
How can I do this upgrade correctly with
I have doubts on
command equivalent.
Thank You.
I'm looking for instructions analog of switching python to default 3.11 version with
synth
tool:In /usr/ports/UPDATING there are commands for
portmaster
:
Code:
For portmaster users:
# sh
# portmaster -o lang/python311 python39
# REINSTALL="$(pkg info -oq '*py39*')"
# pkg delete -f "*py39*"
# portmaster $REINSTALL
# REBUILD=$(pkg query -g "%n:%dn" '*' | grep py3 | grep -v py311 | cut -d : -f 1 | sort -u)
# portmaster $REBUILD
# REBUILD2=$(pkg list | grep python-39 | xargs pkg which | awk '{print $6}' | sort -u)
# portmaster $REBUILD2
Final steps (for pre-built packages & portmaster):
If no longer required, Python 3.9 can be removed via
"pkg remove python39" and the directory /usr/local/lib/python3.9 can
then be deleted afterwards, if not empty.
How can I do this upgrade correctly with
synth
tool?I have doubts on
portmaster -o lang/python311 python39
command equivalent.
Thank You.