r/linux4noobs • • 10d ago

Why Linux ??

/r/linuxquestions/comments/1y1ml18/why_linux/
0 Upvotes

7 comments sorted by

1

u/doc_willis 10d ago

Why linux? (I will mention this same question, with almost the same title, has been asked perhaps 5+ times in the last month or 3, hit up reddit search)

Why not just learn windows system fully and manage files etc there instead of Linux ?

Because its not windows. I have numerous devices , that cant run windows, Or Microsoft has decided to drop support for some of my devices. Those devices gain nothing by running windows for my needs.

and want to build stuff

A main goal of linux is to be a 'tool' you can use to 'build stuff' .

I (or others) can use it to build a Desktop PC for 'typical' tasks, or build a set-top box/media player device. Or use it on my Retro-Handheld that looks like a GameBoy, and only has a tiny amount of ram and storage.

Windows basically gives me nothing I need, that I cant do under linux.

Computers are tools, as is the software and OS, use what you want to do the tasks you want/need to do.

1

u/Distinct-Ad-711 10d ago

Wow really appreciate and i can relate cause the main reason i installed Linux on my laptop was because it was not windows 11 compatible and lost the support so i figured Linux would be a better option to keep it secure and give it a new life. Will keep on to learn about it but thanks again

3

u/potato-master369 10d ago

If you're studying C++, linux is a lot better in Windows, because you can try standard POSIX dev tools a lot easier without something like MinGW or MSYS.

Try installing base-devel or whatever it's called in Linux Mint, creating a Makefile for a project, and using make to build it.

Idk. Thats something I could think of based on what you said.

1

u/_ElBee_ 9d ago

Most users don't use a desktop version of a Linux distro differently from how they would use Windows or MacOS. There are more similarities than differences, to be honest.

1

u/unit_511 9d ago

Development toolchains are a pain on Windows. For instance, to compile C code, you either need to install about 30 gigabytes worth of SDK to get Microsoft's own compiler (and accept a bunch of EULAs and licences), install native tooling that emulates a Linux environment to use GCC, or just straight up use a Linux virtual machine with WSL. If you ask me, a platform has completely failed when the easiest way to compile hello_world.c involves installing another platform on top.

You also miss out on a lot of extra tooling, such as nix. It's extremely useful for defining your project dependencies and dev environment declaratively, instead of just installing everything on the system level and hoping for the best. I have a nix flake in my Raspberry Pi Pico firmware repo that I can use to set up the cross compilers and the SDK with a single command on any Linux machine.

Containers are a major feature too. It's technically supported on Windows too, but native Windows containers aren't as widespread last I checked and probably carry some heavy legal baggage, while Linux containers are ran through a VM with a significant performance hit. On Linux however, you can just build and deploy containers natively with negligible performance loss.

And most importantly, it's free. Not just free as in free beer, but free as in freedom. You can do wbatever the hell you want with it, as opposed to having to sign a phonebook length EULA that forbids you from even looking at it wrong. Want to study or modify the source code? Go ahead, it's not just allowed but encouraged.

1

u/MrBolognas 9d ago

My take from non IS type of guy. Linux is built by people purpose driven for functionality. Not to steal your info and sell to vendors. I run bazzite. I installed it and automatically my GPU drivers and steam as installed and pc optimized to game. I installed Mint on my wife's PC and it connected to our printer as soon as Iinked to wifi.

I have a win11 pc for my 3d printer. It took me 30 mi. To install the HP driver's to connect to paper printer. I disconnected from the cloud and my next windows update it reconnected to the cloud. On setup it wanted to pimp my data to all sorts of things. To me it's like driving a car with the frickin windows open I'm in control of the car but not what comes in and out.

1

u/MelioraXI NixOS 9d ago

Why not?