![]() ![]() ![]() ![]() The newly released WSL 2 takes a different approach, by running a full Linux kernel transparently in the background using Hyper-V virtualization, but makes it easy to access and work with from Windows. However, there were some features which never worked quite properly. ![]() The first version of WSL provided a Linux-compatibility layer directly in the Windows kernel. Recent versions of Windows 10 include a feature that can be enabled in development mode called Windows Subsystem for Linux (WSL). Docker is an incredibly useful tool for reproducible scientific programming in general, and so is worth getting to know, both as a means of running Sage and otherwise. But there is a decent Get started with Docker for Windows tutorial that should give you a feel for basic tasks like running and stopping containers, mapping network ports (useful if you want to run a Jupyter Notebook server, for example), and also mounting files and folders on your local machine into Docker containers as "volumes". Though if you've never used Docker before it does have a learning curve, whether on Windows or any other OS. That said, once Docker for Windows is installed, starting and running the sagemath Docker image is relatively easy, by following the same instructions on Docker Hub as you would use for any other OS. Hyper-V is Windows' built-in virtual machine hypervisor, and enabling it means that you will not be able to use other VM software such as VirtualBox, until and unless Hyper-V is disabled (Hyper-V can also be used as a replacement for VirtualBox, however). For novices, or users with older computers, this may be slightly challenging to set up. However, it still requires a recent version of Windows that has Hyper-V support (see the troubleshooting notes. Docker for Windows works better and is easier to install than ever. We maintain regularly updated Docker images for SageMath (if you see a label on there that says "maintained: no!" please ignore it that label is auto-generated and likely out-of-date, and we are working to fix it). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |