this post was submitted on 27 May 2024
84 points (93.8% liked)

Linux

48390 readers
1493 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 currently learning how to code (currently Python, then maybe JavaScript), but I'm not always around my desktop, and learning on my phone is not always an option (also, it can be quite cumbersome at times). Therefore, I'm looking into purchasing a laptop just for learning how to code and stuff.

I don't want to get a Chromebook because I want to be able to wipe the drive and install Linux on it (probably Linux Mint). Maybe it's changed since 2013, but the last time I had a Chromebook, it was a pain in the ass to install even bog-standard Ubuntu on it.

Problem is, I'm also heavily limited by space & budget: no more than 11 in (280 mm) total laptop width and 330 USD base price.

Does anyone have any suggestions?

Please forgive me if this is not the right space for this kind of question. Lemme know if it is and I'll delete it. :)

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 51 points 6 months ago* (last edited 6 months ago) (8 children)

It’s probably best to limit yourself to a used laptop.

Reading and writing code is nothing more than reading and writing text, and for that you don’t need a fancy gpu or screen.

What I would recommend you look for in a laptop is

  • an SSD instead of an HDD
  • more cpu cores (at least 4 cores)
  • more memory (RAM) (at least 8GB, preferably 16GB+)

More memory and cores will help you with compiling and running your code.

And make sure you take regular backups! You never know when your disk will fail.

Also make sure to check linux compatibility before you buy. Laptops used to be a pain (10+ years ago), and it’s gotten a lot better, but it’s not always perfect. Just search for “[brand] [model] linux” or try to find the model on the archlinux wiki.

[–] 0x0 8 points 6 months ago

an SSD instead of an HDD

I'd rather search for upgradeability, i.e., non-soldered RAM, easy access to HDD, maybe replace the optical drive with an HDD caddy, etc...

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

Well, just for learning coding on Linux OP wouldn't need 16GB.

load more comments (1 replies)
load more comments (6 replies)
[–] [email protected] 36 points 6 months ago* (last edited 6 months ago) (6 children)

For Linux I would just find the best ThinkPad within your budget (a used one, in this case)

Edit for an example (and re-edit to clean up link): https://www.ebay.com/itm/134956529143

[–] [email protected] 33 points 6 months ago* (last edited 6 months ago)

Thinkpads are not cheap as they have that reputation.

But they have good Linux support

Btw that link has tons of tracking BS in it

https://www.ebay.com/itm/134956529143

[–] [email protected] 5 points 6 months ago (1 children)

That's one of the most insane links I have ever seen. I'm scared to click it.

But I second a ThinkPad.

[–] [email protected] 5 points 6 months ago

Should be the same link without the tracking

https://www.ebay.com/itm/134956529143

load more comments (4 replies)
[–] [email protected] 14 points 6 months ago

Probably used is the right answer. Be mindful of battery life and wear.

[–] [email protected] 14 points 6 months ago

Usually Lenovo Thinkpads are a safe choice.

[–] [email protected] 14 points 6 months ago (8 children)

ThinkPad, used. Only mainstream brand that cares about Linux.

[–] [email protected] 4 points 6 months ago

I found a thinkpad with a radeon GPU for only 200 which was nice.

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

My ASUS laptop runs Linux well. It was around $800 5 years ago, when I bought it.

I am still using it.

load more comments (6 replies)
[–] [email protected] 13 points 6 months ago

Used ThinkPad

[–] 0x0 9 points 6 months ago

And old ThinkPad.

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

Steam Deck. I'm half serious if you got a wireless mini keyboard with touch pad. You can play games on it too BTW ;)

[–] [email protected] 4 points 6 months ago* (last edited 6 months ago) (2 children)

Lol, that's kind of intriguing honestly. Are Python interpreters even available on whatever fork of Linux that SteamDecks use? Haha.

[–] [email protected] 13 points 6 months ago (1 children)

Yes. Steam Deck is based on Arch linux. I even have PyCharm installed.

load more comments (1 replies)
[–] [email protected] 6 points 6 months ago (1 children)

steam deck is NOT a proper replacement for a work desktop, ymmv

load more comments (1 replies)
[–] MXX53 8 points 6 months ago (4 children)

I am super partial to old ThinkPads. Currently I am running an x1 yoga gen 4 that I got from a company that was recycling it for free. I also have a P52, and a t460s. All have been great. I have used several others including an x230, an x201, a w520, w530 and w540(least favorite due to the trackpad). Generally I like to stop at about the Intel 8th gen series as parts are usually still fairly serviceable and affordable.

load more comments (4 replies)
[–] [email protected] 8 points 6 months ago (1 children)
[–] [email protected] 5 points 6 months ago

I picked up a used Latitude 7300 (I think?) last year and am quite happy with it. I appreciate that I can replace the ram and ssd myself for repair / upgrade.

I’m running Mint on it and haven’t noticed any problems.

[–] [email protected] 7 points 6 months ago (3 children)

Used t490 / t480. Can you elaborate on the "heavy limited by space"?

load more comments (3 replies)
[–] [email protected] 6 points 6 months ago (6 children)

If you really want to you can combine:

  • a raspberry pi (with case)
  • a power bank
  • a small USB keyboard
  • a small portable display
  • a mouse

It doesn't take more space than a laptop :))

load more comments (6 replies)
[–] [email protected] 6 points 6 months ago (1 children)

I recommend the Thinkpad yoga 11e, which is their education edition. They're out of stock at the moment, but they'll come back soon. They always do. It's an 11 inch laptop with a flip around touch screen and integrated stylus. Works perfectly with Linux. It's not super fast, but it's under 300 dollars new. And it's made for kids so it's durable. I have one and I love it. You can get one used if you like, but at that point you're probably better off with an older model.

load more comments (1 replies)
[–] [email protected] 6 points 6 months ago

Yeah get a used laptop. Anything used in good condition is way better than new at the same or often twice the price.

Chromebooks are bad, but they run Coreboot. With MrChromebox and Chrultrabook you can get a normal Coreboot BIOS on there and run any Linux distro.

But they are often not repairable and have extremely limited storage and RAM. Also finding info on many of them is horrible.

[–] [email protected] 6 points 6 months ago

Buy an old thinkpad from craigslist. The one I'm using is from 2011 and is perfectly sufficient tech-wise. I'll have to replace it soon, but only because it's falling apart.

[–] [email protected] 5 points 6 months ago (3 children)

Now that apple has their own silicon, all the older intel based MacBooks are pretty cheap. I just replaced my wife's 2013 MacBook Airs battery, upgraded the drive, and installed Linux. It's been a solid little laptop. Not the fastest but there's probably a few pro models within your price range. Just make sure to get at least a 16gb model since the ram is soldered. Might have issues with the webcam, but the wifi drivers are pretty good.

load more comments (3 replies)
[–] [email protected] 5 points 6 months ago

if you can compromise on the width, a used thinkpad t480 is under budget, upgrade-able, works fine with any linux and is plenty good enough to do what you need.

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

The good thing about Linux is, it's not very ressouce demanding. If you pick the xfce version of Mint, you can get away with 4GB of RAM. But you won't have that much fun coding as soon as you start something more ressource heavy (big data sets, ML, ...) so this depends a little in which direction you want to go. However see if you can find something used, preferably something you can open from the back side to upgrade components like SSD and RAM (cheaper than buying higher specs)

[–] [email protected] 7 points 6 months ago

getting a small laptop as a dumb terminal and using a cloud server as a more beefy “as needed” machine isn’t a bad option either

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

If you can get a metal body laptop, I would suggest you do. Metal chassis with Linux will last a long while. Programming will not take much resources (and if it does, rewrite your code). Since you're into light programming like python any distro would be fine. It feels like the community has somewhat agreed to suggest Linux Mint to new users so I'll support that.

load more comments (1 replies)
[–] [email protected] 4 points 6 months ago (2 children)

Asus Vivobook Go 11, width is 279 mm.

load more comments (2 replies)
[–] [email protected] 4 points 6 months ago* (last edited 6 months ago) (1 children)

Refurbished Dell 7390? ~$250 has an 13" display with relatively small bezels. I think if you want it even smaller, you'd need some mini laptop or a tablet or steam deck. But that has other downsides. And having a device with an full-size keyboard is nice if you want to type / code.

load more comments (1 replies)
[–] [email protected] 4 points 6 months ago

I have an 8 year old Acer aspire and it works great for coding. I've learned a lot about both of those languages with zero worries and recently moved the OS over to nix with excellent results.

[–] [email protected] 3 points 6 months ago (1 children)

I recommend looking for refurbished laptops. As they'd give you better bang for buck. If you do indeed to with refurbished laptop, check everything thoroughly before buying including how long the battery lasts and if the display has any deffects.

load more comments (1 replies)
[–] [email protected] 3 points 6 months ago (5 children)

Some reason I have Chromebook Lenovo Thinka Pad 11e saved in my notes

Iirc it's something that isn't too difficult to unlock and get Linux on it, otherwise I wouldn't have considered it.

load more comments (5 replies)
[–] [email protected] 3 points 6 months ago (1 children)

I am also supremely space-constrained, but I also had no need to take my development device away from my desk. So I got a workstation and a KVM to switch between workstations, thereby needing only one keyboard, mouse, and set of monitors for multiple computers.

I went further than that, because I also needed to keep the desktop largely clear and the floor space used down to an absolute minimum. So I got a 60s “tanker desk”, and put a smaller office table on top of it. the computers all sit on top of the office table, up near the ceiling (and away from a lot of the dust!) and the monitors and KVM dangle down from beneath it. This leaves only the two pedestal legs of that office table and my keyboard and mouse as the only things “on” the top surface of my desk.

And ignoring the chair, I can have four workstations and six monitors within a 30×60 inch footprint (the tanker desk).

load more comments (1 replies)
[–] [email protected] 3 points 6 months ago (1 children)

I work in IT and my 4 year old retired Dell 5300 is working just fine. Great form factor as well.

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago) (6 children)

Looking it up, it seems like a delightful little laptop, but it's too big. It's got a 13.3 inch screen, and I'm limited to a total laptop width of 11 inches.

[–] [email protected] 5 points 6 months ago (3 children)

The screen is measured diagonally.

The screen width won't be 13 inches.

load more comments (3 replies)
load more comments (5 replies)
[–] [email protected] 2 points 6 months ago (2 children)

I'm using Lenovo ThinkBook, which is cheaper than Thinkpad, and the keyboard layout is different. It supports upto 40GB of RAM.

load more comments (2 replies)
load more comments
view more: next ›