this post was submitted on 04 Feb 2024
0 points (NaN% liked)

Linux

48316 readers
817 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 have been using Windows my entire life, but since I got my Steam Deck I’ve been considering trying to get into Linux.

I obviously don’t have much of an idea where to begin, other than that I’m currently also trying to learn Javascript. I'd like a basic workstation I can code on and mess with, that doesn't run more than a couple hundred. Could use some recommendations for hardware plus where to begin.

top 19 comments
sorted by: hot top controversial new old
[–] Max_P@lemmy.max-p.me 0 points 9 months ago (1 children)

Worth noting that you don't necessarily need new hardware, you can install Linux on your currently Windows PC in either a dual boot configuration (both OS installed) or replace Windows. You can also run Linux in a virtual machine to test the waters.

For a decent, x86_64 PC for Linux, the Steam Deck is ironically a pretty good deal for what you get. The Deck will run VSCode just fine, maybe just add a monitor and keyboard/mouse.

Linux can be pretty lightweight, it runs beautifully on my cheapo netbook from a couple years ago: WinBook CW140. I've done a good chunk of professional web work on that thing. The Deck beats it in every way, but it does web dev perfectly fine.

[–] Diplomjodler@feddit.de 0 points 9 months ago

I second the VM approach. You can mess around, try different distros and generally just get a feel for the whole thing. If you want a dedicated machine, any old box will do. A cheap mini PC or whatever you have lying around. One of the great aspects of Linux is that a lot of old hardware that may look obsolete suddenly gets a new lease on life.

[–] itchick2014@midwest.social 0 points 9 months ago (1 children)

I recently bought a used LG Gram to install Arch on after a few years of not having Linux…so recently did similar research, albeit with more Linux knowledge. I do NOT recommend Arch as a first distro unless you are willing to put in time for troubleshooting. That said, looking up a model of laptop you are considering + Linux in a search engine can be valuable in determining how much ease you will have getting basic (trackpad, Bluetooth, webcam, WiFi) items working. I dabbled with a CD distro as a gateway to Linux and the “live disk” option is still the best way to experiment. Nowadays it is on a USB stick. This method allows you to play around without actually installing. Others here have already given good advice. If you go the USB stick route, do be careful with anything related to disk partitioning and formatting. I accidentally wiped my dad’s hard drive once when I was not being careful!

[–] possiblylinux127@lemmy.zip 0 points 9 months ago (1 children)

I hope that people aren't seriously recommending Arch. You should at least start with Linux mint and honestly you can just stick with it.

[–] itchick2014@midwest.social 0 points 9 months ago (1 children)

I haven’t seen Arch recommended to new folks outside of the Arch community circles and even most of them express caution. I always recommend Ubuntu or one of its variants for a person starting out, but it does help for the person to try a bunch of distros to see what they prefer. When I was starting out everyone was recommending Debian or Fedora. The more user-friendly distros didn’t come out until much later. Since then even the mainstream distros have improved a ton concerning usability, though I will say documentation always leans a bit too technical for my taste…for Arch especially. Too many holes for people that have no experience.

[–] squaresinger@feddit.de 0 points 9 months ago (1 children)

Tbh, I don't recommend beginners to try out multiple distros in the beginning. Realistically, if you don't have in depth Linux knowledge already, all you'll be able to differentiate is the look of the DE and the wallpaper.

I find, too much choice tends to confuse beginners more than it helps them.

So I'd rather recommend something simple like Ubuntu and let them try out the flavours with the different DEs.

Choice is better for later when people actually understand what they are looking for.

[–] itchick2014@midwest.social 0 points 9 months ago (1 children)

I would say this probably varies by person. I learned a lot by using multiple distros. When I put the dots together that yum, apt-get, and (later) pacman do the same thing, that was a huge ah-ha. Sometimes seeing the differences in how they work in command line especially helps you understand larger concepts. If you stick with one distro (like I did for too long) you may have trouble comprehending these concepts for longer. Some beginners may find choice overwhelming, yes, but I do think it can be useful having exposure to two or three distros out the gate…even if just on live USB.

[–] squaresinger@feddit.de 0 points 9 months ago

Most people I helped getting Linux to work are actually not techy at all and they haven't touched the CLI at all so far...

I guess it differs if you use Linux because you are interested in the technology or if you use it because Windows 11 doesn't run on your PC.

[–] Pantherina@feddit.de 0 points 9 months ago (2 children)

Try NixOS. Snowflake is a good start.

Having a mutable Distro may be better suited than immutable. Containers are annoying.

But having a system that does what it is supposed to do, and if you remove a package its gone and if you add one its there is a big thing.

[–] redcalcium@lemmy.institute 0 points 9 months ago (1 children)

Did you seriously recommend nixos to a person who never use linux?

[–] Pantherina@feddit.de 0 points 9 months ago (1 children)

Yes. If you are new, no reason why you should use "sudo apt install xyz".

NixOS has a GUI setup, a GUI package manager etc.

Never recommend any random "supposedly working" Distro. It will break some day, get cluttered with useless files, have broken dependencies or whatever. I broke every Distro before.

I am on Fedora Kinoite now, which I consider a good Distro for most people especially beginners (the ublue variants). I guess layering all the development stuff could work. Using Containers for everything does not work well with IDEs, you need to run these in the container too...

So in the end for someone that wants to code I would not use any random traditional Distro as in my experience all break. But a real immutable distro might also not fit if you need to layer so much.

So why not NixOS? Its very easy to setup and you need to learn everything new anyways.

[–] redcalcium@lemmy.institute 0 points 9 months ago (1 children)

Overwhelming someone who's learning something new will increase their chance of giving up. Not only they have to learn how to use Linux in general, now they'll have to learn about nixos declarative configuration model on top of that. When they eventually get stuck with some issue (which is normal when learning something new), there are less resource to help them on the internet because they're using a niche distro.

[–] Pantherina@feddit.de 0 points 9 months ago

This happens on Ubuntu too. Just that there the best tip will be "try reinstalling the system", because traditional distros are so unmanaged, that they pile up unused files and packages over time, and simply random things happen.

Believe me, I broke Ubuntu, Linux Mint, Manjaro, Fedora. MXLinux was so old that I my Nextcloud was not compatible. I was a beginner and every Distro sucked.

If i would have just learned any of the managed Distro models (rpm-ostree, A/B root, transactional-update, NixOS, ...) I wouldnt have needed to switch

Distrohopping makes no sense, you should try Desktops but the Distro should just work.

[–] caseyweederman@lemmy.ca 0 points 9 months ago (1 children)

Install Debian, and if you've got a reasonable powerful computer, install NixOS in a virtual machine. Then, when it breaks and you get frustrated, you aren't down to zero OSes.

[–] Pantherina@feddit.de 0 points 9 months ago (1 children)

I would never recommend installing Debian. Everything is soo manual. Fedora has the way better user experience with everything preconfigured.

[–] caseyweederman@lemmy.ca 0 points 9 months ago (1 children)

Ah. You haven't tried installing it since 1902.

[–] Pantherina@feddit.de 0 points 9 months ago (1 children)

I literally upgraded 6 PCs to Debian 12 and it was a pain in the ass

[–] caseyweederman@lemmy.ca 0 points 9 months ago (1 children)
[–] Pantherina@feddit.de 0 points 9 months ago

They dont even have a "sudo apt system-upgrade", while this is a fully automateable process.

I needed to follow some random blogpost because I could not find any official (big advertized) documentation.