this post was submitted on 17 Aug 2023
29 points (87.2% liked)

Linux

45530 readers
1026 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm looking for a distro recommendation for development needs.

I have a 16gb ram pc and using docker and k3s to run my code, and multiple intellijs on a linux vmware vm (my host is windows) which eats a lot of ram. I tried ubuntu, Debian and xubuntu.

Most of them didn't handle my ram consumptions, xubuntu is good but I'd like to know if there's a better one for my needs.

all 15 comments
sorted by: hot top controversial new old
[–] [email protected] 13 points 10 months ago* (last edited 10 months ago)

Fedora is a great distro for development (used by Torvalds himself ;-).

If RAM is a problem you could try using ZRAM. ~~Unlike the name suggests,~~ this compresses data in RAM instead of swapping to disk, so that more data fits in there than normally available. Fedora for example uses ~~zswap~~zram by default with a value of max(0.5*RAM, 4GB) but can be configured to utilise more.

[source]

EDIT: confused zswap and zram

[–] [email protected] 8 points 10 months ago (1 children)

For the kind of workload you're describing, 16GB of RAM was on the low end like 5 years ago. Your number one priority should be getting more RAM. For what you're doing vmware is at least better than HyperV, and depending on what people are doing with their machines there can be pros and cons favoring Windows, linux, OSX, ... in your case Windows is factually the worst choice. When working as a developer with linux native technologies, use linux. If you insist on your kids playing with your work machine (interesting choice), and they "need" Windows, then dual boot. Other than that I'd second another users advice to go with fedora (easy to use, up to date, no bullshit). But do yourself a favor, go bare metal, and get more RAM.

[–] [email protected] 2 points 10 months ago (1 children)

Yeah I need to get ram, but I'm afraid my psu will explode lmao, I have 3060ti razen 5 2600 and 16 gb ddr4 on 550 psu haha

This is not my main work computer more like an hobby, I have a computer from my work. And beside we have git so it's OK that the kids playing around with the pc

[–] [email protected] 7 points 10 months ago* (last edited 10 months ago)

RAM doesn't consume much electricity. The two power hogs in a modern system are the CPU and the GPU—everything else uses <20W, usually <10W. 3060Ti is 200W, and your CPU is 65W. Unless you've got a lot more stuff in that case, you're not close to hitting your power supply's limit even if you overclock a bit.

[–] [email protected] 7 points 10 months ago (1 children)

Arch

Also, why are you using windows as the host? If you had linux as the host you could use QEMU/KVM which is way faster

[–] [email protected] 3 points 10 months ago (2 children)

I've heard arc has a big learning curve and installation tweaking is not straightforward , i don't have the time or desire to get messy with the os more than I need to. Also my pc is used by my kids and operating and gaming on windows is easier

[–] [email protected] 2 points 10 months ago

Use EndeavourOS and set up ZRAM. ZRAM should reduce RAM usage while not slowing down your PC.

[–] [email protected] 1 points 10 months ago

The thing that gives arch the learning curve is the things that make it a good fit if you want something lightweight

[–] [email protected] 4 points 10 months ago (1 children)

I run Ubuntu Mate, and all my work shiz is containerised. But I also have more RAM than Jesus Christ himself. My laptop works fine and it has more modest RAM.

[–] [email protected] 4 points 10 months ago* (last edited 10 months ago)

The immutable Fedora releases, like Kinoite, have been the best development distros for me. Immutable Fedora releases come with Toolbox for making per-project containers, so you can have separate de-cluttered dev environments for each project. Toolbox containers are not isolated environments like virtual machines, so performance is on-par with bare-metal as well.

I don't know if Sliverblue or Kinoite is the right choice for your exact workflow, but if you're looking for a Linux host that "just works" out of the box, has a trivial learning curve, and provides serious quality of life improvements then definitely look into Fedora Kinoite.

[–] [email protected] 3 points 10 months ago

i would say endevouros (arch based) if you want something more technical but still beginner friendly, or linux mint is always a good start otherwise. i3 is great for development, but may be hard at the start ig

[–] [email protected] 2 points 10 months ago

I've got an old ThinkPad w/ 16GB RAM. My daily workflow is a combo of Emacs, a bunch of JVM languages, Make, Docker and minikube. I've been running openSUSE Tumbleweed for ages and am quite happy w/ its performance, package availability and being up-to-date.