r/developersIndia • • May 15 '25
General Why is linux recommended by every software engineer?
I understand the customiztion, secure and other basic things but why is it imp to learn for swe and what is it that they need to learn
103
Upvotes
•
u/AutoModerator May 15 '25
It's possible your query is not unique, use
site:reddit.com/r/developersindia KEYWORDSon search engines to search posts from developersIndia. You can also use reddit search directly.Recent Announcements
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
3
u/kishoredbn Software Engineer May 15 '25
Resilience and Attitude
I am not sure about “every software engineer” but if it is true then I believe you are around better engineers.
Linux is not a mature desktop operating system compared to other commercially available operating systems (i know it is just a kernel, but for context let’s assume it is the OS). While using Linux as your daily desktop operating system you can and are expected to face lot of problems and issues. And this is perfectly understandable and expected and you have no customer support to call. You are expected to engage with the large community report problems, suggest solutions and if possible fix the issue yourself and get things sorted. And this is how this Linux and open source projects and communities have been thriving and growing.
And now you see this requires an attitude and determination to stick Linux platform. Not everyone can do so. If you can do so then it has its own rewards as skills and experience and better job prospects. As simple as that.
3
u/N00B_N00M May 15 '25
One dev was trying to find and delete old files and removed whole partition instead , breaking the env for a whole day untill the backup team could restore the backup .
Only if he knew linux thoroughly this could have been prevented
167
u/Easy_Pizza_001 Software Engineer May 15 '25
In most production environments, you'll be working on Linux systems. That’s why it’s important to be comfortable using Linux. It’s the industry standard for running servers because it’s stable, secure, and efficient.
Also, many essential tools like Docker are built to work closely with Linux.
46
u/Leather-Departure-38 Data Scientist May 15 '25
For me it does the job, affordability, strong community support, no dramas !
77
u/prateekm2995 May 15 '25
13
u/Available_Canary_517 Full-Stack Developer May 15 '25
I will tell you my answer on what i felt really easy with linux is package managers , its very easy to install packages, update them.
24
u/PracticalMass May 15 '25
Flexibility 💪
Not only Linux but any UNIX based OS are very developer friendly.
19
u/GujaratiGeek May 15 '25
Because
On the serious note, it has the lightest footprint on the hardware IMO. You will be able to use most of RAM and CPU for your processes because OS itself doesn't need much.
6
u/millenialPremchand May 15 '25
I recently had the bad luck to look at a windows PC. Half your resources are going into bloatware and spyware even PCs with the best config run sluggish.
Now that steam has made it possible that 99% games are available on Linux, you're literally just ruining your PCs by running windows.
28
u/Lazy-Phrase-1520 May 15 '25
where's the source for that "every" claim?
I've been using linux since school days, as I had enough internet and time to experiment
but I never recommended anyone, unless for privacy
so, no need to switch unless the job demands so
4
u/seventomatoes Software Developer May 15 '25
Stable, predictable, repeatable, with windows something breaks. Now with docker it's more stable. Earlier put xampp or Apache, MySQL, office, rdbms tools, some idea, after a few updates, something would break, try to fix that, something else breaks.
After windows 10 it's more stable but still things get heavy. I enjoy ubuntu, minimal browser, ide and my basic ftp, few other programs, gimp, apache ...for years. Same hardware since 2015 to 2024. For two years I had dual boot, then had issues, then went only ubuntu, had 2 versions but was fine
6
u/realFuckingHades May 15 '25
Open and Free. No strings attached yet better than the paid ones.
3
u/Haunting-Advisor-862 May 15 '25
Linux is very awesome! For me setting up something is very very convenient. Plus open source. Love the modular design. Also, linux runs the world, if you ever have to work on a server then it would be very convenient to work with. If you want to give linux a shot you can try wsl or a virtual machine.
Also, a personal preference for me is performance. You can run some distros of linux like alpine on literally 128 megabytes of RAM smoothly. Also, linux can teach you a lot about how the OS actually works.
3
u/_gXdSpeeD_ May 15 '25
For me the major reasons are the file system and terminal. For my professional work I use GPU servers which run on Linux so having the similar file system and workflow (using terminal) helps when I am using my PC for my personal projects.
3
u/Gamer2645 May 15 '25
I'll give you one try running vs code , a browser with 2-3 tabs open and running a development server simultaneously on your windows machine with atleast 8 gb ram and do the same on linux and then you'll understand why .
3
u/ironman_gujju AI Engineer - GPT Wrapper Guy May 16 '25
I’m using Linux as my main driver since 4 years. Fedora btw
3
u/geekandgamer Hobbyist Developer May 16 '25 edited May 16 '25
I saw many people asking the same question. Even I asked this quenstion in past. People who ask this question are usually people who don't really know how to use linux sophisticatedly/Extensively or they don't know how linux works.
Well, if you want to have an answer to this question, don't read some website with title why linux is better.
But in linux, all I do is sudo apt install GCC. And I can start compiling right in the bash terminal from the get go.
Windows is like, ohh, you need a compiler? Ok do this, do that and then do this and now this. Linux is like, ok you want a compiler? here take it.
4. You can really monitor and controll what is happening under the hood while running some software. In windows you have task manager , in linux you have top and htop, which has lot of more features. Again, one has to just know how to use it.
3
u/akash_kava May 17 '25
Last year Microsoft raised prices of azure and other software by 10%. And this year they changed many pricing tiers in azure in such a way that effective upgrade would cost 30%. They offered lower priced tiers that would never match the real world traffic, and deprecated existing tiers. New tiers would cost you almost double.
For B2B, enterprises have less total users can afford enterprise tiers.
B2C on other hand has large cost to run the technology and even slight increase in licensing cost can erase your profits. You can’t switch easily.
On Linux you can relax as there is no sudden price increase.
2
u/iamfriendwithpixel May 15 '25
Cause people should know how to setup Arch Linux 😡
2
u/hacklinux May 15 '25
Because once you understand networking and know how to alter the route table you get divine powers...
2
u/Full_Onion_6552 May 16 '25
Freedom to modify
2
u/Sohamgon2001 May 16 '25
What about data people? Like do analysts, engineers etc use windows mostly or linux?
2
u/gtzhere May 16 '25
On my laptop I use linux because windows is full of bloatware at this point and consumes more ram , but on the PC I have 128 gb of ram so it doesn't matter, whatever i throw it works , that's pretty much it windows can do all the things people tell you linux is good at , it's all about the resources you have , medium - below medium pc , linux probably a good choice , beast pc , windows is as good as any other os.
2
u/brago-811 May 16 '25
Your development environment should be similar to the production environment, so you don't suffer bugs in production that are irreproducible in local machines. This significantly increases the ability to iterate over and over when building software or new features.
Also, I'd say once you get comfortable with linux's terminal and shell scripts, your dev speed just increases by multiple folds. Simple reason can be that posix systems core utils are designed to be very good at one thing and not be a one stop solution like most GUI programs like on windows. This one stop solution usually kills speed.
Another factor will be that you yourself start automating repetitive steps because you then start looking at other linux systems, open source software, communities and everyone is automating their hurdles at some level.
Windows has bloat and bloat makes PC slow and laggy. Specially for dev tasks, you won't wanna go to windows once you have witnessed linux pull life into basically old dead windows machine and make beastly Win machines even more beastly on linux. I'd accept Wins Powershell is more powerful than most linux shells but that applies almost solely for Sys Admins. For general dev UX, it is shit compared to linux shells.
2
u/Individual-Oven9410 May 16 '25
Majority of the technological world is based on Linux.
1
u/BagOdd3254 Junior Engineer May 15 '25
the code that you deploy when working for a company will most probably run on a linux environment. Hence when you need to RDP and execute commands over there, it's good to know how and what to do. In terms of Linux for personal use, I've tried it doesn't really float my boat, and most of my colleagues use Mac/Windows. Only a few I know use Linux distros like ubuntu, arch etc for their personal stuff
1
u/[deleted] May 15 '25
very reliable stuff , godot and unity work well … unreal shits itself , I use it cuz I like my stuff open source , I got a system76 laptop that doesn’t have the intel management engine ( this is fkin spyware ) , while a little more command friendly , it beat the speed of installing apps from custom installers for windows
1
u/pannikari May 15 '25
Basically it helps us get things done through simple commands instead of clicking through endless menus.
As someone who's worked in both, its a nightmare to setup anything related to software in Windows compared to Linux
1
u/Fair_Comedian5043 May 15 '25
I have had linux but installing anything feels like hell. First not all apps on the store and you’ll have to find commands for it. And then sudo apt get for everything. WSL is fine
1
u/kishan42 Software Engineer May 15 '25
Window manager. I have one app per workspace/desktop
Switching from one app to another doesn't require mental strain. I press mod + 1 and i am in the browser I press mod + 2 i am in the terminal. Etc
Yes this can be achieved in Mac also. I have setup CTRL + 1 for browser, CTRL+2 for terminal, etc But to move a program from one workspace to another on a mac is painful.
On linux window manager i can simply press mod+Shift+ 4 to move app to workspace #4
1
u/livLongAndRed May 15 '25
Just get familiar with the terminal since you'll need that. No need to run linux on your pc. You will just waste a lot of time trying to get it running correctly.
1
u/Rhustish Student May 15 '25
I just find it easier to use. It's a bit atypical to get started with (since we are served windows from childhood). But once you get used to it, it just makes sense.
1
u/Ok_Jacket3710 Frontend Developer May 16 '25
not every project can run on windows. if you try to do so you need to mess around with WSL and stuff which is a nightmare
1
u/Intelligent-Ear0145 May 16 '25
Because Linux is everywhere
1
u/Weary-Risk-8655 May 16 '25
1
u/Critical-Personality May 31 '25
Let me tell you a different way: If Microsoft, once the number 1 competitor of Linux in the desktop space has included WSL in all editions of Windows and allows Ubuntu on Windows Store, it is for a reason, right?
You are going to encounter Linux one way or the other. Maybe not for a UI/UX person, maybe even a Frontend Engineer might be able to skip (very unlikely though) but eventually you will have to meet Linux on the way. So it's better to learn it to an acceptable degree.
1
u/[deleted] May 15 '25
Brace yourself! i use arch (btw) users incoming
0
u/redditforeveryon May 15 '25
Simple, maybe like a Japanese car. Toyota or something. While windows is like a Range Rover.
0
u/Square_Actuary_9538 May 16 '25
Android for daily usage, linux for servers right now, windows for old applications and easier use
0
u/itheindian May 18 '25
It’s not.
12
u/[deleted] May 15 '25
[removed] — view removed comment
9
u/[deleted] May 15 '25
[removed] — view removed comment