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
    23
    ·
    8 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
      3
      ·
      8 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.

  • rImITywR@lemmy.world
    link
    fedilink
    English
    arrow-up
    17
    ·
    8 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

  • maquise@ttrpg.networkOP
    link
    fedilink
    arrow-up
    8
    ·
    8 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
      6
      ·
      8 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
      arrow-up
      2
      ·
      edit-2
      8 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 PC/laptops which come with Linux support 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 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.

      Finally 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.

  • lemmyreader@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    8 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.

  • Shdwdrgn@mander.xyz
    link
    fedilink
    English
    arrow-up
    5
    ·
    8 months ago

    Something thing to keep in mind when getting started is to manage your expectations. You’ve spent all this time using Windows so you already know where everything is – for Windows. In a lot of respects you are going to be starting over from scratch, learning new ways to install software, get around the desktop, and doing simple things like changing your settings. Don’t get discouraged, you’ve done this before, you can do it again.

    One way to cope with the initial frustration is to start out loading up something like VirtualBox on your Windows desktop, and installing a linux distribution there. Then you can play around, take your time to find a desktop that’s right for you, and learn how to actually DO things in linux that you already do daily in Windows. That way you eliminate the pressure of trying to figure out how to do everything at once.

    Another reason to start with a virtual machine is that there are a LOT of possible linux distributions to choose from. There are also quite a number of different desktop environments to choose from. It pays to take a bit of time and play around with different options to find out what you like. You also need to decide if you want something running the cutting-edge releases, or if you prefer stability with slightly older software. For example, Ubuntu is a good choice for the absolute latest releases but can introduce bugs that the devs refuse to fix. On the other hand, Debian (which is actually the base system that Ubuntu is built on) only releases slightly older software that has been tested over the past few months. However in all cases, you will always get immediate patches for security issues.

    As already mentioned, any old computer laying around is a viable candidate for Linux. Until last year I was running internet-facing web servers on 1GB of memory and a single core. If you have something built in the last 20 years it will work for your purposes. Hell my desktop is someone else’s throw-away because under Windows they considered it “too slow to get email or browse the internet”. I use it for writing arduino code and building models for my 3D printer.

    • A_Very_Big_Fan@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      … there are a LOT of possible linux distributions to choose from. There are also quite a number of different desktop environments to choose from.

      I never considered the backend could have different frontends. So is Ubuntu just a different desktop environment for Debian? Or is it like I could just install a different desktop environment on top of my old PC’s Ubuntu installation?

  • Captain Aggravated@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    8 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!

  • accideath@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    8 months ago

    You can essentially use any hardware. If you already have an old pc or laptop, you can (probably) use that. If you get a new one, the only major recommendation for usage with linux is: don’t get something with a nvidia graphics card.

    And where to begin: Probably some linux distro like Linux Mint or Pop_OS. They‘re reasonably beginner friendly. But, if you have some more specific questions (or need more help finding hardware or don‘t know what a distro is), feel free to ask.

  • The beauty of Linux is that it’ll run on almost anything. I recommend second-hand office desktops for your use-case, you might find a good deal and get peripherals with it. If you somehow manage to come across GPUs at your price bracket, avoid Nvidia; poor drivers, support, corporate hostility etc.

    My first distro recommendation is going to be a bit different from the usual, purely based on my experiences with other popular go-to distros. I’d recommend you try Fedora KDE, Fedora is a wonderful distro that always makes you feel welcome. KDE is a lot less resource demanding than Gnome, and is the desktop that ships with the steam deck. Personally I don’t like Gnome since it’s a bit Fischer-Price my first DE for me, but I encourage you to try everything.

    I’m using the Budgie DE by the way, it’s a good middleground between Gnome and KDE. Fedora provides “Spins” for all major desktops.

    If you’re feeling brave I’d like to quickly mention a version of Fedora called Fedora Kionite, it’s whats poorly named an “immutable” distro (Atomic is a better name but don’t worry over that right now). Very basically these distros restrict access to the core, or base, system files; which massively improves security and reliability. I use Fedora Onyx which is immutable with the Budgie DE, Kionite is KDE. Immutability is very new in the pseudo-mainstream and very much in it’s infancy, so it will annoy you at times if you choose this path. But it has massive benefits and, I think, is the future of the Linux desktop.

    I’m assuming this is your absolute first adventure into the FOSS world, which I know is probably wrong since you’re on Lemmy, but I’m also still going to mention you should use the Firefox web browser as you said you were doing JavaScript. Firefox is the absolute most popular browser on Linux and has amazing developer features.

    We’re all eager to help budding penguins on their journey, so feel free to message me directly anytime for support or make posts right here.

  • Lettuce eat lettuce@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    8 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 :)

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

    I think I need to narrow some things down;

    My current Windows PC isn’t what I’m looking for; it’s a big and powerful gaming laptop from a few years back. I’m looking for something light and portable, but with a full keyboard for coding.

    Pricewise I’m looking for something around $350; if this is unreasonable let me know.

    As I understand it, Steam Deck uses KDE, so I’d like to stick with that for now.

  • GustavoM@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    Even a smol potato like the Orange pi zero 3 (which -still- has zero linux support) can run Linux, so don’t worry about it.

  • BlanK0@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    8 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.

  • FMEEE@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    ·
    7 months ago

    Hey for me it was the same. For Hardware you can use anything. The optimal is a full AMD build Or Intel AMD build but Nvidia could give you a headdic. For distros I recommend something Arch based like Manjaro or EndeavourOS. As DE I recommend Kde Plasma because out of the box it looks pretty much like Windows but is highly customizable.

  • Æsc@lemmy.sdf.org
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    But literally any PC that’s within your budget. OK maybe that’s not true, there might still be some crap WiFi cards out there with weird firmware that don’t support Linux very well. Find an older name-brand PC within your budget. Before buying it Google “[make and model] Linux WiFi” and see whether there’s tons of complaints about the WiFi. If not, go ahead and get it, put Ubuntu or Linux Mint on there, start banging out JavaScript projects, profit.