DEV Community

Divyesh Parmar
Divyesh Parmar

Posted on • Edited on

Which Linux should I install being a React developer

I'm using Windows 10 on my HP laptop with Amd A12 processor and only 4 GB ram.

I want to know which OS you guys use for developer work and which will be the most stable for me. I've read duscussions like arch linux will have many packages that needs to be updated so I don't want that tiresome work everyday

I am wishing to start my dev work on linux because on Windows, VSCode with Chrome and discord lags a lot at times of switching between them.

So please suggest share your thoughts so that i download the OS tomorrow and make it bootable and start working as soon as possible. Thanks in advance

EDIT: Also just yesterday night I booted with AntergOS it didn't let me dual boot saying it needs a GPT partition. Then I tried Solus OS and it didn't even recognize itself on the disk. so then I made Fedora bootable and installed it but just after that since I had to turn on the Legacy support on, my Windows 10 disappeared from the grub or boot options.

So then I again live boot with the pendrive to check whether my Windows drives are there on the disk or not. Then I used my Windows Recovery disk and it installed it in a span of 4 hours so now I'm typing to you this on my Microsft Edge Browser (while chrome downloads in background).

I think my dream of starting the development on Linux systems will be shattered so much.

I read articles/blog regarding solving this online but windows needs UEFI method to boot and nothing else.

Top comments (59)

Collapse
 
bgadrian profile image
Adrian B.G.

I'm sure you will find plenty of resources online, but I'll add my advice:

I was in your shoes, kind of, ages ago when instead of React it was jQuery.
I had many issues being a full-stack developer on Windows (the same is in 2018, bottom line Windows is for users not developers, just my 2cents).

I recommend Ubuntu.

Most of my peers I know use it, I use it for years, devops recommend it (the ones I know), the Cloud uses it (most popular choices of VMs come preinstalled with Ubuntu or a Debian custom fork).

It is popular, this means you will get help faster, it is friendly (as a linux could be), and you will find it compatible with more web libs/frameworks as in they already have prebuilt packages for it.

Collapse
 
pandaa880 profile image
Prashant Chaudhari

Anyone tried solus yet ?

Collapse
 
bgadrian profile image
Adrian B.G.

It looks that it will be abandoned the 2nd time too.

A Linux distro with 8 contributors, strange website and small OSS presense, I would not install it.

Thread Thread
 
pandaa880 profile image
Prashant Chaudhari

Yes, depends on personal preference. I really liked the overall experience.
BTW I did not know that solus has only 8 contributers.

Collapse
 
buinauskas profile image
Evaldas Buinauskas

I installed it on my mom's desktop! Works really well and it seems to have necessary applications for web development.

Collapse
 
oathkeeper profile image
Divyesh Parmar

I am kind of fed up with Ubuntu UI though otherwise i don't mind using it at all. And yeah i totally agree with you I'd definitely need something more helpful

Because previous times half of the times I couldn't install some package because ir gave some error like

E:/ disk something

So i had to do sudo apt get update and install to make it run agains haha

Collapse
 
avalander profile image
Avalander • Edited

I have Kubuntu with KDE Plasma at work and I'm very happy with it. If you know Ubuntu but don't like the default desktop, you might want to try other desktops before switching to a different distro altogether.

Or, you know, there's the Hannah Montana Linux.

Collapse
 
sam_ferree profile image
Sam Ferree

I run Ubuntu with XFCE (which is slightly different from Xubuntu)

This is the beauty of linux.

Collapse
 
bgadrian profile image
Adrian B.G.

Which one? Since 17.10 I think they removed the Unity one, and added a Gnome 3 I think is called (the one with the clock in the middle of the screen).

I can say I used a variety of web-related frameworks along the years (I'm testing many new stuff), tools and servers and I didn't had to compile a single package (by hand).

Collapse
 
zacacollier profile image
Zac Collier

tldr; it's ultimately up to you, but I can give you my 2¢

These days, my primary concerns when choosing an OS are:
1) how easily can I find the software I need to get work done?
2) how quickly can I troubleshoot issues I run into, so I can get back to work ASAP?
3) to what extent does the OS allow me to configure my system to my liking?

With these criteria in mind, I've been really happy with Arch

Arch Linux

Pros
  • very large, active community of users - there's almost always a solution to whatever issue you might be trying to troubleshoot
  • great official repos + thousands of community-maintained packages in the Arch User Repository
  • rolling release - with regard to number 2 up above: Sometimes, I've found that little issues / minor bugs just kind of "work themselves out" as I regularly update my system.
  • pacman, my favorite package manager ever
  • really nice and simple, once you get the hang of it
Cons
  • no installer; there's a bit of a learning curve.
  • you might not get things just right the first time.
  • can be a bit of a "timesink" OS if you're not careful ;)

If you're curious, I'd highly recommend grabbing an .iso and giving it a try in a virtual machine. You could probably get the hang of it in one weekend.

I don't recommend a derivative like Antergos or Manjaro - they work fine for some people, but I think you're ultimately better off taking the time to learn Arch.

If you're not up for learning Arch now, I'd recommend either Solus or Ubuntu. Last time I used Solus I was really impressed with it, and would probably install it I wasn't using Arch

You probably can't go wrong with Ubuntu - the community is really big + really supportive, and there's a lot of good software in the repos. I was actually using it for a couple months. It was pretty nice overall, but I had a lot of issues with some Snap packages, and found myself building Slack, DataGrip and others from source. Eventually, I realized it was time to go back to Arch.

Collapse
 
thomasjunkos profile image
Thomas Junkツ

Up til today I don't get my head around the decision to dismiss their installer. Although only having a curses interface, arch had at least for years an installer.

Ditching it, because of KISS or whatever nonsense reason is beyond my capabilities to understand.

Collapse
 
qm3ster profile image
Mihail Malo

Installing arch is trivial.
Much easier than installing Docker (in a proper way that doesn't give it root access and where it doesn't store its images and filesystems on the root filesystem)
Choosing an AUR client is also harder than installing Arch by manual.

Collapse
 
oathkeeper profile image
Divyesh Parmar

hmm I mostly thought that Arch isn't that stable and all so I parted my way from that learning curve. Thank you for sharing you experience and yeah I am definitely going to first try it in Virtual Box.

Collapse
 
thomasjunkos profile image
Thomas Junkツ

Arch is "stable" as there were very few broken packages in years - I used arch from 2008-2016. And one or the other was broken, but not worth mentioning on a global scale.
OTOH, I am using OpenSuse Tumbleweed for 2 years and had no broken package. If you want to say, you coukd argue it beeing more stable: 0 is less than one broken package or so.

Collapse
 
dmfay profile image
Dian Fay

Another point in Arch's favor is that the wiki is some of the best documentation available for Arch and for Linux in general. But it is a bit of a commitment if you just want your operating system to run things for you.

Collapse
 
moopet profile image
Ben Sinclair

I went with Manjaro a year or two ago after having been a debian user for years. I've ended up stripping out all the Manjaro-specific stuff and am basically running Arch. From an general user's point of view I don't think I'd see a lot of difference once you get to a desktop.

Collapse
 
justintime4tea profile image
Justin Gross

I can't stay away from Arch. I drink the arch coolaide and contribute a few AUR packages. Arch on the home and CoreOS+Docker for the clouds.

Collapse
 
protium profile image
protium

As many on the comments suggested: AtergOS.
I've been using it for almost four years and I love it. First I tried pure Arch and I really liked it but it tends to be unstable really quickly if you not pay attention (I broke my system two times). Then I went with AntergOS and I fell in love. The installer lets you choose any desktop env. The Arch Linux Forums are BIG. The documentation is BIG and concise. You will find the solution for any problem there. And also you have AUR where you can find almost any app/package that is not in the official pacman repositories. For system upgrades you have to only use this command: yaourt -Syau.

I really like to have minimalist desktop envs, here a screenshot:

screenshot

(I use Gnome with Plank)

Collapse
 
oathkeeper profile image
Divyesh Parmar

Omg this looks something I'm craving and your enthusiasm has really motivated me i feel glad an confident now to try it for sure. I hope it doesn't make me fall for other quirks while my web development goes on.

Collapse
 
protium profile image
protium

It may will. But you will get use to it really quick.
Here is a list of a must have Gnome Extensions to achieve a minimalist desktop:
Hide Dash
Hide Workspaces thumnails
Top Panel Workspace scroll

And turn off the "Dash to dock" extension if it is enabled. I will write a post about AntergOS soon.

Thread Thread
 
oathkeeper profile image
Divyesh Parmar

Also just yesterday night I booted with AntergOS it didn't let me dual boot saying it needs a GPT partition. Then I tried Solus OS and it didn't even recognize itself on the disk. so then I made Fedora bootable and installed it but just after that since I had to turn on the Legacy support on, my Windows 10 disappeared from the grub or boot options.
So then I again live boot with the pendrive to check whether my Windows drives are there on the disk or not. Then I used my Windows Recovery disk and it installed it in a span of 4 hours so now I'm typing to you this on my Microsft Edge Browser (while chrome downloads in background).
I think my dream of starting the development on Linux systems will be shattered so much.
I read articles/blog regarding solving this online but windows needs UEFI method to boot and nothing else.

Thread Thread
 
protium profile image
protium

Oh that's bad. I had running windows along side with linux for a while but then I deleted windows. If I need to use windows for some .NET specific tasks I have a virtual machine. But, to get running both you have to enable the legacy mode. Install Linux and then use a grub editor (in case your linux does not detect windows automatically) to set a boot entry for windows. Maybe Ubuntu is less problematic in that way and you can achieve the same minimalist desktop env I showed to you

Collapse
 
xenthreaded profile image
xenthreaded • Edited

wiki.archlinux.org/index.php/AUR_h...

Careful ! Yaourt is deprecated and not maintained anymore

Collapse
 
protium profile image
protium

I had forgotten that! Unfortunately I think AntergOS uses yaourt as default but here are some alternatives. I'm giving a try to yay. Thanks for your warning!

Collapse
 
yuritoledo profile image
Yuri Toledo

gnome extension maximus and hide top bar are awesome too.

Collapse
 
yuritoledo profile image
Yuri Toledo • Edited

Hey dude, try antergos, its clean and fast as Arch, you can choose your GUI on installation, and always will get the fresh packages.

It's not bleeding edge as Arch, but is good.

I prefer it on home, than mint on work.

Collapse
 
oathkeeper profile image
Divyesh Parmar

Thank you for sharing it it does have a neat UI. I didn't know about it completely

Collapse
 
yuritoledo profile image
Yuri Toledo

Have tons of software with GUI, you will not have any problem :)

 
justintime4tea profile image
Justin Gross • Edited

I love systemd. Too many benefits to count. Gone are the days of a tangled web of tightly coupled bash scripts starting a system. You can do some amazing things with systemd. I'd give it a look over and ignore all the negative hype trains, give yourself a chance to form your own opinion.

Collapse
 
logicodev profile image
Lógico Software • Edited

If you want to start working fast and is your first time with Linux, the answer is Debian with LXDE or XFCE as desktop enviroment. Why? Because you don't need to worry about drivers, is stable, low on specs and there are official precompiled packages (and support) of any major software vendor.

Collapse
 
thomashighbaugh profile image
Thomas Leon Highbaugh

which linux is always a point for debate but if I were you (and I develop react on Linux so I am not sending you down any old rabbit hole) I would run Ubuntu or Debian on an old desktop or ancient server as a docker host and literally use docker environments or VMs that you can toss if it gets mucked up without reinstalling your workstation weekly.

Arch will just be more time tinkering and fixing than developing at first (and personally I don't like PacMan) Some people like Fedora for this sort of think but I've never been a huge fan despite the improved package managers. Mint is stable, it can be bloated but bloat is DE thing (KDE is bloated to death. I use PopOS (ubuntu based without Canonical involved thank God, they release buggy garbage sometimes for the community to essentially develop for free) with Budgie over the top cause its minimal at install and I fill it with my needs dropping my install scripts with a ton of piped Ys and go eat dinner, works GREAT and styles really well.

I ssh -X to a VM with Lubuntu preconfigured for my dev needs for React.IDE, dependencies, node, yarn all turnkey but not my daily driver. I use Debian for other languages like Python, Perl, etc. Plus I like it more than ubuntu and on containers lately alpine if its a throw away cause its package manager is FAST. but it doesn't age well if preserved

Either way, write out a shell script that installs everything your dev environment needs and save it elsewhere (external, flash, its only a few KB). Being able to drop a script and press y every few minutes beats trying to remember your whole dev env when infuriated after a crash (they happen on all OSes in the right contexts, some devs tend to participate in even)

Collapse
 
oathkeeper profile image
Divyesh Parmar

Wow you really gave me new thoughts on writing a new script which will always help me install my dev environment needs. So what choice I got from your experience is Debian with Budgie desktop environment.

May I know how do I write that kind of script which will help me install the basic requirements for every project or for the dev setup.

Also just yesterday night I booted with AntergOS it didn't let me dual boot saying it needs a GPT partition. Then I tried Solus OS and it didn't even recognize itself on the disk. so then I made Fedora bootable and installed it but just after that since I had to turn on the Legacy support on, my Windows 10 disappeared from the grub or boot options.

So then I again live boot with the pendrive to check whether my Windows drives are there on the disk or not. Then I used my Windows Recovery disk and it installed it in a span of 4 hours so now I'm typing to you this on my Microsft Edge Browser (while chrome downloads in background).

I think my dream of starting the development on Linux systems will be shattered so much.

I read articles/blog regarding solving this online but windows needs UEFI method to boot and nothing else.

Collapse
 
feralcode profile image
F Ξ R Λ L • Edited

I would recommend xubuntu. I got a second hard rive on my pc with a xubuntu on it and have loved it for reactJS/node/react native and android development. vscode or atom(nuclide) run pretty smooth and os is better at reserving RAM for my coding processes.

lubuntu is one of my favorites as well, and wayyy more efficient with RAM, but I wouldn't recommend for someone asking this question as it can be a pain to get your UI just right.

Arch Lunux is amazing but man the time from fresh boot to productive can take an entire day. Then you will spend time maintaining you system. I only recommend arch for people who are very comfortable in linux.

Ubuntu is great but can feel a bit anointing with only 4GB of memory. After installing all your tools you will probably have less than 60% of your memory left because of the UI and other bloat. Ubuntu runs great is you have a dedicated GPU and at least 8BG of memory. Below 8GB and without a dedicated GPU your system will freeze from time to time.

Most people when coding will have a browser open with 5-10 tabs open, music playing(spotify, pandora, YT), their editor (VSCode, Atom) and a couple of node processes running (npm watch). If you're looking at this setup with only 4GB of ram, you need a light system to power through an 8 hours day without freezing and UI hangups.

Collapse
 
oathkeeper profile image
Divyesh Parmar

wow thank you for a neat personalized explanation. I am looking at xubuntu and it really feels neat and light-weight.

and yeah I would like to share my experience last night that I had so please can you tell something on it?

Also just yesterday night I booted with AntergOS it didn't let me dual boot saying it needs a GPT partition. Then I tried Solus OS and it didn't even recognize itself on the disk. so then I made Fedora bootable and installed it but just after that since I had to turn on the Legacy support on, my Windows 10 disappeared from the grub or boot options.
So then I again live boot with the pendrive to check whether my Windows drives are there on the disk or not. Then I used my Windows Recovery disk and it installed it in a span of 4 hours so now I'm typing to you this on my Microsft Edge Browser (while chrome downloads in background).
I think my dream of starting the development on Linux systems will be shattered so much.
I read articles/blog regarding solving this online but windows needs UEFI method to boot and nothing else.

Collapse
 
thomasjunkos profile image
Thomas Junkツ

On a global scale: it doesn't matter.

I settled down with OpenSuse Tumbleweed.
Why? It's stable although daily updating (aka rolling release) because of OBS and openQA: continously building the "current version".
So far - after about 2 years - a package never was broken.

Beginner friendly installation: fire and forget style.

When some fancy thingy is not directly available in the main fundus of things, you could easy extend.

Install once and be happy 😊

 
ben profile image
Ben Halpern

Which Linux distro outside of Ubuntu has the most pleasant UI in your opinion?

Or one that you think others would find most pleasant?