summaryrefslogtreecommitdiffstats
path: root/software
diff options
context:
space:
mode:
Diffstat (limited to 'software')
-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