r/linuxquestions • u/Visible_Advantage_63 • 19h ago
Advice Programming Windows vs Linux
So I just got a laptop specifically for my programming course in university. I was also always interested in trying out linux. So I am learning really basic coding like from lvl 0 (im studying civil engineering) and it is thought on a windows computer using python and jupyterlab. Im wondering if it is possible use the same program and the same methods/instructions on linux?
4
u/BranchLatter4294 19h ago
Many of the tools work on either. You can set up WSL, or a full VM if you want to have Windows and Linux environments available.
1
u/Cautious_Boat_999 17h ago
There is so much material out there on how to do this. It’s well worth the time to try it.
3
u/DJDoubleDave 18h ago
You should match the OS your course expects. If they are teaching it on Windows, then you'll make more work for yourself by using Linux instead. You won't be able to follow the instructions for setting these programs up, and will need to find Linux instructions yourself if they don't provide them.
The actual coding is the same whether you do it on Windows or Linux. Those things are both cross platform, it's just the installations and the environment setup that will be different. Anything you learn in this class will still be valid if you later switch to Linux. If your goal is to learn coding, focus on that and not the OS.
0
u/Visible_Advantage_63 18h ago
I was originally thinking the same thing. But not to sound weird but I would consider my self above average in technical literacy so im not gonna lie I feel like installing the program would not be a big problem. And if the coding is really the same it seems to me that it would be fine. Setting the program up on windows is really easy (it took like one minute) I would imagine it does not take much longer on linux but I have no idea really
1
u/bornxlo 15h ago
Being autistic and generally motivated by reading and exploring, the first 30% or so of any coding course is usually irrelevant environment fluff. In Windows it “works” by bundling a bunch of utilities into an application. In Unix and Linux everything consists of folders, files and utilities. IMO package managers make it easier, if a program or function is missing I can just install it from my current environment
1
u/TheThingOnTheCeiling 19h ago
I checked and jupyterlab is packaged for linux so presumably should work the same. Just keep in mind that it is a different operating system so using it overall will be different.
1
u/AiwendilH 19h ago
Python (installed by default by pretty much every linux distro) and jupyterlab are available for linux.
But the instructions most likely will differ...already just because of the windows/linux differences like directory paths using "/" in linux vs "\" in windows. But also install instructions for python/jupyterlab will differ.
1
u/Significant-Price695 18h ago
yes, jupyterlab runs on linux and opens in your browser there too. i'd ask for the course's python version and package list before setting it up, so you're learning the same environment as everyone else. try opening one of their actual notebooks before committing to the switch, that should catch course-specific differences early.
2
u/tomscharbach 18h ago edited 17h ago
Use the operating system that your university uses for instruction. It is always a good idea to be on the same page as your curriculum and your instructors. My best and good luck.
0
u/somerandomguy101 17h ago
Honestly, just stick to Windows. Learn one thing at a time.
Just because it should work with your course work doesn't mean it will. Plus if you don't know how to use Linux or do programming already, you are putting yourself at a major disadvantage getting everything set up over just follow simple instructions.
I would just run Windows and play with Linux in a VM. That way you can learn even more about Linux without it impacting your ability to submit your homework on time.
You will also probably need other programs like MS office too. So there's that.
6
u/cjcox4 19h ago
While I know we live in a "upside down" world, yes, of course you can do jupyter notebooks and such in Linux. It's actually more natural there. There are usually a couple of hoops to jump through in setting things up on Windows.
with that said, with regards to custom add-ons/extensions, sure, it's always possible to create something that can't run on "whatever".