Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help4407


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).

A reminder that there will be no Zoom laboratory session on Friday 29th.
 
Assignment 2 and Clarifications.
 
Options:
RSS cloud
Jump to:

Windows Sub-system for Linux is really good (Trust me) and other cool ways to linux from home

5 of 339 articles shown, currently no other people reading this forum.
photo
From: Ryan O.
Date: Wed 18th Mar, 9:56pm
Actions: 
        Login-to-reply
With classes cancelled i thought i would shout out Windows Subsystem for Linux 
(again since Chris did it at the start of semester) and other cool ways to Linux 
from home!

If you are not sure to install/use WSL, here is a linkie with instructions: 
https://www.windowscentral.com/install-windows-subsystem-linux-windows-10

If you like technical details, there a great podcast explaining WSL by .Net rocks 
you can find it here: https://www.dotnetrocks.com/?show=1284

TLDR: It should run just like real Linux (probably) and faster then a virtual 
machine. 

I've used it myself before, i would recommend it to a friend. 

There are other options to still do bash stuff on a window computer such as: running 
a virtual machine (for a true Linux experience) or remoting into the lab computers 
(as per the email from the unit coordinator)

If you want a Linux experience similar to the labs (well very close), Fedora is the 
free version of Red Hat linux we have in the labs: https://getfedora.org/, some 
people find Ubuntu more user friendly: https://ubuntu.com/

Never done a virtual machine before? A virtual machine is a way to run an operating 
system (Linux) inside of your operating system(gross simplification). 

Here a link on how to install Ubuntu with the free virtualisation software Vmware 
Player: https://theholmesoffice.com/installing-ubuntu-in-vmware-player-on-windows/

That link should also work for Fedora! (the process will be slightly different, also 
remember in terms of bash it doesn't *really* matter). 

One more thing. If you aren't using the same Linux as are on the lab computers there 
is a (very small) chance a command line tool might not be installed. Don't worry 
installing stuff on Linux is easy! 

In ubuntu use: sudo apt-get install [package-name]
In fedora use: sudo dnf install [package-name]

Where [package-name] is the name of the command you are trying to install. This is 
unlikely to come up with Ubuntu or Fedora, i just mentioned it as my weird version 
of Linux didn't have unzip :S. (Note: the name of the package-name in the general 
case won't always be the same as the command, but since we are using basic tools it 
probably always be)

Don't go crazy with installing packages. I assume the assessments will expect to 
work with the commands taught in the unit and other standard tools(as opposed to the 
thousands of packages people have written. If unsure ask Chris i take no 
responsibility, this post is AS IS AND WITH ALL FLAWS).

Finally as per the email from Chris, we will be able to remote into the labs! I 
can't remember how to do this, so wait for the promised email tomorrow with 
instructions! 

Hope you all enjoy your isolation. :) I personally have a cute doggo to keep me 
company and she is WAY better at bash then i am! Bad news is she only speaks German 
:( 

Windows Sub-system for Linux is really good (Trust me) and other cool ways to linux from home

photo
From: Augustin G.
Date: Thu 19th Mar, 7:42pm
Summary: thumbup
Actions: 
        Login-to-reply
WOW. Thanks for taking the time to collate the information Ryan.
I Got windows subsystem for Linux working just fine. Very much appreciated.

Although it is quite similar to what's on the lab computers, I think I'd still feel more 
comfortable RDP-ing into a computer on campus, especially for the upcoming project. So I'll 
await further instructions.

Windows Sub-system for Linux is really good (Trust me) and other cool ways to linux from home

photo
From: David M.
Date: Sun 22nd Mar, 4:41pm
Actions: 
        Login-to-reply
I have been using both standalone Ubuntu Linux and Ubuntu on WSL. Both work perfectly
well for this unit. Don't know why anyone would want to RDP to a remote Linux box for
this unit.

In fact, for intetrest, I installed Linux Desktop on WSL and I run bash in multiple xterms,
and other X11 applications on Windows and I cannot tell the difference from a standalone Linux workstation.

There are shortcomings in WSL but they are not going to be apparent unless you try to do
advanced things like run Docker or need to start Linux system services from init.

PS Microsoft is about to release WSL version 2 which is apparently a huge improvement
over WSL version 1. There are several videos on Youtube describing the improvements.
You can get WSL2 right now via the Windows Insider program.

Windows Sub-system for Linux is really good (Trust me) and other cool ways to linux from home

photo
From: Ryan O.  O.P.
Date: Tue 24th Mar, 9:21am
Actions: 
        Login-to-reply
"David May"                               wrote:

> I have been using both standalone Ubuntu Linux and Ubuntu on WSL. Both work perfectly
> well for this unit. Don't know why anyone would want to RDP to a remote Linux box for
> this unit.
> 
> In fact, for intetrest, I installed Linux Desktop on WSL and I run bash in multiple xterms,
> and other X11 applications on Windows and I cannot tell the difference from a standalone Linux workstation.
> 
> There are shortcomings in WSL but they are not going to be apparent unless you try to do
> advanced things like run Docker or need to start Linux system services from init.
> 
> PS Microsoft is about to release WSL version 2 which is apparently a huge improvement
> over WSL version 1. There are several videos on Youtube describing the improvements.
> You can get WSL2 right now via the Windows Insider program.

I think the only reason to want to remote into the lab computers is to be *absolutely* sure that your code will 
work on the computers they are assessed on. 

It shouldn't matter, and i won't bother doing it. I do feel for the people who are anxious about this though. 

Thanks for sharing your experience with WSL. I switched my computer to Linux a while ago so my experience with 
is 6 months old.

Windows Sub-system for Linux is really good (Trust me) and other cool ways to linux from home

photo
From: Christopher M.
Date: Tue 24th Mar, 10:12am
Actions: 
        Login-to-reply
Thanks very much for posting this information Ryan.

I've added some instructions for installing and setting up WSL on a new
page linked from our webpages' left-hand-margin.

Good luck.
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  8:27am May 24 2020