Preface
[ xii ]
It's a good idea to add this to your .bashrc, so you don't need to run it every time
you log in. Next, we install Python in the JuJu environment, we only need to
do this once:
$ juju -f
$ pacman --sync refresh
$ pacman --sync --sysupgrade
$ pacman --sync python3
$ exit
These commands first activate the JuJu environment as root, then use the pacman
Arch Linux package manager to update the system and install Python 3.4. The
final exit command exits the JuJu environment. Finally, we can access the JuJu
environment as a regular user:
$ juju
We can then start using the installed Python 3:
$ python3
Python 3.4.3 (default, Apr 28 2015, 19:59:08)
[GCC 4.7.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
Windows
Compared to some of the older Linux distributions, installing Python 3.4 on
Windows is relatively easy; just download the Python 3.4 installer from http://
http://www.python.org and run it. The only hitch is that it requires administrator privileges
to do so, so if you're on a locked down machine, things are trickier. The best solution
at the moment is WinPython, which is available at http://winpython.github.io.
Other requirements
We assume that you have a working Internet connection. Several chapters use
Internet resources extensively, and there is no real way to emulate these offline.
Having a second computer is also useful to explore some networking concepts,
and for trying out network applications across a real network.