4.11 WSL System Update

Once you get to a shell prompt enter the following command to update the operating system:

$ sudo apt update && sudo apt upgrade

I would then also recommend installing wajig (see Chapter 6).

$ sudo apt install python3-pip
$ pip install wajig
$ wajig update
$ wajig distupgrade

Given that the system has just been upgraded the distupgrade here may report that there is nothing to be done.

For Ubuntu 18.04 the system can be started from the PowerShell with:

> ubuntu1804

Ubuntu is now running within Windows. The following commands then illustrate a GUI based command demonstrating an animated plot.

$ export DISPLAY=:0
$ pip install mlhub
$ ml configure
$ ml install animate
$ ml configure animate
$ ml demo animate

Further resources are available in other sections in this chapter, and from Simon Zhao.



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0