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.

  • Max-P@lemmy.max-p.me
    link
    fedilink
    arrow-up
    52
    ·
    7 months ago

    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
      link
      fedilink
      arrow-up
      11
      ·
      7 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.

    • cRazi_man@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      I sold my laptop and used my Steam Deck exclusively as my PC for a month before I collected all the parts for my new PC. If you’re going to use it for gaming then it makes an excellent multiple use device.

  • maquise@ttrpg.networkOP
    link
    fedilink
    arrow-up
    20
    ·
    7 months ago

    I should add that I’ve been interested in getting a small, portable notebook for coding separate of this, and making it Linux seemed a good idea at the same time.

    • IsoKiero@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      16
      ·
      7 months ago

      Generic answer for this is to get a refurbished corporate laptop. At least in here we have several companies which buy previously leased computers and give them a refurb (new hard drive, good cleaning, things like that) and sell them for pretty good price.

      W, T or X series Thinkpads are pretty safe options, my T495 was 300€(ish) on sale. L and carbon are something I’d avoid, L (at least few years back) weren’t built as well as T-series and X1 carbon doesn’t have options to expand/swap out ram.

    • d3Xt3r@lemmy.nzM
      link
      fedilink
      English
      arrow-up
      10
      ·
      edit-2
      7 months ago

      Contrary to what others here are saying, instead of trying to install Linux on something random, I would highly recommend getting a Linux-first / Linux-friendly hardware at first instance, if possible. If not, that’s fine, you could just go for any random off-the-shelf PC, BUT you run the risk of certain things not working or perhaps not fully optimised. For instance, for laptops, one common issue is standby/sleep mode not working properly - either you may experience battery drain during sleep, or things like the graphics or audio might break after resume (or worse, might even crash). Or you may experience higher battery drain in general compared to Windows, or certain things like some Fn keys for brightness may not work etc. Certain sensors not working is another common issue, which may cause your fans to run at 100%. And if your system has an nVidia card, there’s a good chance you may run into issues - if not during installation, perhaps after a system (kernel) upgrade. These are all just examples btw, just because you’re buying something random doesn’t mean you may face these issues, but it’s something to keep in mind.

      The general rule of thumb for buying Linux-friendly hw is: avoid nVidia. Both Intel and AMD onboard graphics are fine (for the most part - at least, they have a better track record than nVidia anyways).

      There are some PC/laptops which come with Linux loaded out-of-the box, which would be the ideal Linux machine to buy. I call these Linux-first machines. Examples of such machines include System76, Star Labs, Slimbook Fedora, Tuxedo, Purism, Juno Computers and Entroware to name a few. There are also some laptops from mainstream OEMs which come with Linux, such as the HP Dev One and Dell XPS Developer Edition. You can’t go wrong with any of these machines, as they’re Linux-first machines and have been tested by the OEM.

      Then there are Linux-friendly laptops - these are laptops which may not necessarily come with Linux, but have been either confirmed by the OEM in some capacity that they’re Linux compatible, or they’re widely supported by the community due to their Linux-friendlyness and popularity. Examples of these include the Framework laptops and Lenovo’s ThinkPad series. You generally can’t go wrong with these either.

      For other machines, your compatibility can be a hit-or-a-miss. Some laptops may work fine, but might need some extra configuration steps to get it all working - eg Microsoft’s Surface laptops need a special kernel to be installed (and some additional steps to be followed, depending on your distro), but otherwise work fine once you’ve installed all the extra bits. If Linux-first/friendly laptops aren’t an option for you, you could go for something random, but you’ll need to do your research (Google/reddit search etc) and see what their compatibility is like, whether everything works, if there’s any issues etc. In fact, this would apply for most of your hardware purchases going forward. Eg, say you’re buying a printer or some external webcam, you should check for it’s Linux compatibility first before buying it.

      Finally, if you want to run Linux on a device you already own - you can (generally) try it without any risk, using a Live USB (bootable). Just download the image, write it to your USB drive and boot from it - this will give you a good feel of things, and highlight any potential compatibility issues. Ventoy makes this a very easy process - just install Ventoy to your drive first, and one it’s done, you can download multiple ISOs of various Linux distributions and just copy it to your drive (no need to install them). Then you can boot from the USB and select the distro you want to try and boot from it. This is extremely handy for trying out various distros, or just keeping some “rescue” ISOs handy. You can even boot a Windows ISO from Ventoy (and other OSes too, like the BSDs).

      • maquise@ttrpg.networkOP
        link
        fedilink
        arrow-up
        5
        ·
        7 months ago

        This is probably the most helpful advice I think I’ve gotten so far. Thank you, I’ll look into these options.

    • redcalcium@lemmy.institute
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      I also recommend getting a refurbished ThinkPads for their excellent Linux support, especially newer models like the X1 Carbon. No need to worry about such and such hardware not working on Linux. Avoid models with Nvidia GPU for less maintenance headache.

  • Lettuce eat lettuce@lemmy.ml
    link
    fedilink
    arrow-up
    16
    ·
    edit-2
    7 months ago

    Ebay, T470, T480, T490. $200-300. Good laptops with great Linux compatibility. Cheap and reliable.

    For your distro, Linux Mint. The stock, normal edition right on the website. Cinnamon desktop edition.

    Simple and reliable, and very windows-like.

    https://etcher.balena.io/ is good and simple software to create a bootable USB.

    Use the Mint .iso as the file, burn to the USB stick of your choice.

    Welcome to the club :)

      • Lettuce eat lettuce@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        7 months ago

        Only issues I’ve heard with the T490 is with models that have the Nvidia MX mobile gpu.

        Most of that is old news. TLP for power management, and just don’t get the Nvidia model honestly, integrated Intel graphics are plenty for basic uses like coding and light browsing.

  • Captain Aggravated@sh.itjust.works
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    7 months ago

    Recommendations for hardware: A relatively normal computer. I would avoid exotic hardware. If you’ve got an old computer kicking around, give it a try on that. Or, eBay is full of used corporate Dells that will do the job for pocket change.

    I’m a fan of Linux Mint; I’ve been daily driving it for a decade now, but really don’t worry that much about distro or DE, if you’re really looking to get into programming and such you’ll probably spend a lot of time in the terminal anyway.

    Oh I almost forgot: Welcome to the Linux community!

  • Sunoc@sh.itjust.works
    link
    fedilink
    arrow-up
    9
    ·
    7 months ago

    Welcome to the community!

    Seconding all the previous comments recommending Linux Mint: since you come from Windows, you’ll probably feel most at home there. It is also possible to do all common tasks without ever opening the terminal.

    Mint should run fine on any hardware, but to be most safe, try to use something that is at least 1-2 years old and stay clear from dedicated GPU as first (in particular Nvidia).

    I’d also advise that the packaging situation for distributing software in Linux rn is somewhat messy. Thankfully, multiple format (apt, Flatpak) are directly available in the Linux Mint Software Center. In case you need to use some proprietary software (Chrome, Spotify, idk), you’d probably want to go with Flatpaks.

    • st3ph3n@midwest.social
      link
      fedilink
      English
      arrow-up
      6
      ·
      7 months ago

      Another Mint + Thinkpad vote here. I’m a lifelong Windows user who has occasionally dabbled in Linux, and Mint is the first distro that I’ve stuck with enough to consider it my daily driver. I have it running on a used Thinkpad T14 Gen 2 with an AMD Ryzen 7 in it. I still have a separate Windows desktop for gaming and Adobe Lightroom, but the Thinkpad is my everyday couch PC now. Everything worked out of the box except for the infrared camera used for face unlock type stuff, and the fingerprint reader. I got the camera set up to use the Linux equivalent of Windows Hello, Howdy, and while it does work now it’s not as fast and reliable as it was under Windows. I haven’t even tried to set up the fingerprint reader yet. I’m very happy with how well everything works in general under Linux Mint.

    • phx@lemmy.ca
      link
      fedilink
      arrow-up
      3
      ·
      7 months ago

      I’ll also add: There’s a base distribution and then a variety of “Window Managers” (WM) or “Desktop Environments” (DE) to choose from. These determine the layout of your desktop, “control panel” analog, what settings can be tweaked, and stuff like the network/volume controls accessible him the tray etc.

      Mate/Cinnamon are good, but I recommend KDE/Plasma Desktop. I’ve had good luck with that one for people who I’ve helped migrate from Windows.

      Your can actually install multiple DE’s and will be able to choose which one you use at the graphical login screen.

      As for Chrome, I think Google still has a repository for that or one can use Chromium which is the base experience for that anyhow.

      For code editors, there’s a bunch of choices. I tend to use Pluma for basic text stuff, Bluefish for a lot of web stuff, and CodeBlocks for C++'ish stuff. You can also install VSCode on Linux if you so desire and a lot of people seem to quite like it.

      Hardware I lean more towards **AMD - though not bleeding edge - as the drivers come with the OS kernel and tend to get updated with such. I’ve generally not had issues since about the RX480 days, except for some weirdness with APU’s not liking certain TVs (usually scaling issues). Nvidia generally works too, but requires a proprietary driver stub be installed for accelerated graphics and that can sometimes break on updates. Most Intel (graphics) is ok, but there have been a few issues with less-common chips in smaller fiorm-factor or tablety devices.

      ** I have heard people complain about some AMD stuff, but honestly I’ve run an RX480, Vega56, 6900XT, and 3-4 generations of APU’s without major issues except when those chips were fairly new (first 6mo of release can be dicey).

      • downhomechunk [chicago]@midwest.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        7 months ago

        Yes to KDE for windows users. There’s nothing wrong with cinnamon. But kde is much more impressive in a “wow! This is all free?” Sort of way. Just today I used both k3b and ktorrent!

  • teawrecks@sopuli.xyz
    link
    fedilink
    arrow-up
    8
    ·
    7 months ago

    Follow the first few steps of this guide to download Linux Mint, create a bootable USB, and live boot into it.

    You can now play around with this like it’s a real system. Nothing will be saved when you shut down.

    When you are ready, you can continue with that installation guide to either dual boot, or completely wipe your disks to use linux. (To start, I recommend dual booting. You never really know when you’ll need it as you’re transitioning.)

    Good luck!

  • lemmyreader@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    7 months ago

    If you want to go low budget and play around there’s lots of SBCs that can run Linux. Check here for example : https://www.armbian.com There’s also ones that come as light weight keyboard, for example the pi400 Easy to carry around and put into a HDMI monitor. A drawback is that when using ARM there is sometimes software which only runs on amd64 family though that does not happen very often. Other option is to look at refurbished laptops. If you skip the chromebook ones (Which can be cumbersome to run plain Linux on unless you want to play with Linux and Android on top of ChromeOS) you can find them for 90 Euros or more.

      • lemmyreader@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        7 months ago

        Sure, but just like with flashing custom ROMs on phones, people may break their Chromebook and not get help with it and be stuck. For a Linux beginner a good first and smooth experience may be the best start.

  • Nisaea@lemmy.sdf.org
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    7 months ago

    I’ll add: Back up your data and have fun! :3

    Your new best friend: https://linuxjourney.com

    There will be lots that will make you feel lost, because of the design language differences and the widely different philosophy, but you got this. Just take it at your own pace, one web search at a time and you’ll be grand!

  • BaumGeist@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    7 months ago

    Debian + Gnome. The debian wiki is full of great documentation. If you prefer watching, there’s so many great (and not-so-great) courses on YouTube. I personally found tutoriaLinux’s series helpful. Please understand that is merelyy what helped me at that point in my journey not necessarily the best tutorial series for you or anyone else.

    My biggest tip is, regardless of the teacher or the lesson: follow along. Learn by doing, not by watching someone else doing. If you find yourself thinking anything like “couldn’t I have done this” or “but what would happen if I changed this parameter”: Do It. Try it out. Seee what happens.

    Coincidentally, my second biggest tip is: use a test environment to do anything that you don’t fully understand. Even if it’s only a new folder with a bunch of empty files to practice file manipulation commands, it’s way better than losing your important files. Anything that affects software configuration should be backed up first, anything that affects the OS should be tested in a VM

  • itchick2014 [Ohio]@midwest.social
    link
    fedilink
    arrow-up
    6
    ·
    7 months ago

    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!

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      7
      ·
      7 months ago

      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.

      • lemmyvore@feddit.nl
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 months ago

        Sometimes people unironically recommend Arch to newbs because “you’ll learn so much about Linux while installing it”.

      • itchick2014 [Ohio]@midwest.social
        link
        fedilink
        arrow-up
        3
        ·
        7 months ago

        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.

        • Square Singer@feddit.de
          link
          fedilink
          arrow-up
          4
          ·
          7 months ago

          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 [Ohio]@midwest.social
            link
            fedilink
            arrow-up
            2
            ·
            7 months ago

            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.

            • Square Singer@feddit.de
              link
              fedilink
              arrow-up
              2
              ·
              7 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.

  • BlanK0@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    7 months ago

    Linux mint, if there is any problem try popOS.

    Also would recommend trying out the distros before you install them in a virtual machine since it’s easier to try multiple distros without the hassle of setting them up. Since you are in windows at the moment, you probably should try virtualbox

    Edit: ventoy is a pretty cool project for when you want to setup a pen with the installation isos to the baremetal.

  • donuts@kbin.social
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    7 months ago

    Hardware wise, you’ll be hard pressed to find any even half-way popular computer that can’t run some form of Linux. So I’d say just get something that’s within your budget. Those x86 APU-based mini pcs that you can find for ~$200 are becoming pretty popular for projects these days. Something like a Raspberry Pi or Orange Pi or whatever might also be fine depending on what you want to do with it, just keep your power expectations in check. If you want to spend more money on something with graphics hardware, I’d recommend going for AMD over NVidia, just because the drivers are built into the kernel and essentially no-hassle.

    When it comes to software, especially if you’re on x86, just arbitrarily pick one of the reasonably popular distros like Ubuntu, Fedora, PopOS, or any of the other ones you’ve probably heard of. One of the first things to learn about “Linux” is that there’s a whole ecosystem of software projects behind it, and there is a lot of overlap between the software that each distro runs. Yes, there are some meaningful differences between, for example, Ubuntu and Fedora, but I think they are much less meaningful to a noobie (who is just learning the basics of Linux) or an expert (who probably knows enough to bend and customize just about any distro into whatever they want).

    Small caveat #1: If you prefer to have a desktop that more closely resembles Windows (like the one of the Steam Deck’s desktop mode) you might want to pick a distro spin that uses the KDE Plasma desktop. On the other hand, if you want to play around with something that’s a bit different than what you’re used to, it might be worth checking out a distro spin that uses the Gnome desktop. I can recommend them both for different reasons, so you might want to check out some videos of them to see what you’re more into before picking. (Other desktops are available, these are just the two big ones! So there truly are a ton of options to explore here if you want to.)

    Small caveat #2: At this point in time are you more interested in stability or customization? If you want a truly rock-solid Linux system that’s hard to ever break, you might want to consider one of the new “atomic” distributions like Fedora Silverblue/Kinoite (or others), though you might find some of their limitations annoying. On the other side of the spectrum, if deep customization and flexibility is what you’re looking for, then you might want to venture into the deep end with things like NixOS or ArchLinux, just keep in mind that they can be very technical and overwhelming for noobs. Personally I have been using Fedora Silverblue for a couple years now and I love the stability of it, and I can work around it’s limitations with distrobox.

    Another thing to consider is just using what you already have. For example, playing around with Linux in a virtual machine, setting up a Linux-based server on one of the popular VPS services, or just plugging your Steam Deck into a dock with a keyboard and monitor attached and playing with something like distrobox (which you can probably find a guide on how to set that up for your deck).

  • rImITywR@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 months ago

    You don’t even need any hardware to get started. Fire up a virtual machine in VirtualBox or VMWare or use WSL. Start playing around, find a distro/DE you like and start learning.

    After some time, look into dual booting your existing machine. You can try this in a virtual machine first before making any changes to you hardware.

    • flashgnash@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      You don’t get the same experience installing on low end hardware or in a VM though

      I didn’t properly get hooked until I bit the bullet and just installed it bare metal on a higher end laptop and gaming PC

  • Troy@lemmy.ca
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    7 months ago

    In this thread: a bunch of people making it more complicated than it needs to be.

    Grab an old laptop, grab a user oriented distro that has a live-USB boot option. Play and learn.

    Live USB options that should be user friend enough. Choose at random – because you like their logo or whatever.

    https://pendrivelinux.com/put-mandriva-2010-on-a-usb-flash-drive-windows/

    https://en.opensuse.org/SDB:Live_USB_stick

    https://ubuntuforums.org/showthread.php?t=2230389

    https://linuxmint-installation-guide.readthedocs.io/en/latest/burn.html