summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2015-11-06 19:43:33 -0800
committerbnewbold <bnewbold@robocracy.org>2015-11-06 19:44:43 -0800
commitc33030bcf5c45c266d15f2a9e65a09fb6a7e42cb (patch)
tree1bbb528fca0112a23e6fd36c620453cd49fa8b83
parentb54cbf742cc8dcff2825b0c0fae7e6e0a0a8b695 (diff)
downloadknowledge-c33030bcf5c45c266d15f2a9e65a09fb6a7e42cb.tar.gz
knowledge-c33030bcf5c45c266d15f2a9e65a09fb6a7e42cb.zip
python3.4 on debian
-rw-r--r--software/python.page13
1 files changed, 13 insertions, 0 deletions
diff --git a/software/python.page b/software/python.page
index ca37287..deada7a 100644
--- a/software/python.page
+++ b/software/python.page
@@ -156,3 +156,16 @@ There was some change in comparison between None and integers, which makes
``if args.verbose > 0`` break. Use ``if args.verbose and args.verbose > 1``
instead.
+Debian Default Python
+----------------------
+
+Keep in mind that this can break some system things (eg, arandr, some cups
+things).
+
+To make Python 3.4 the default for `python` system-wide, do something like:
+
+ sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.4 2
+
+For an individual user you can also just create a `python` alias. See also:
+
+http://linuxconfig.org/how-to-change-from-default-to-alternative-python-version-on-debian-linux