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

Linux

48332 readers
517 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. :)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 51 points 6 months ago* (last edited 6 months ago) (4 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.

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

I feel people used to having more RAM always recommended insane amounts of RAM. 4 GB gets you by running a browser or PDF viewer with a code editor, 8 or more GB is recommended IMO.

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

Thank you for being thorough! I appreciate the advice! :)

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

You’re welcome!

I’m sorry that I don’t have any advice for a specific laptop, but it seems others are helping with that already.

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

It's cool. Don't worry about it! I appreciate any advice someone can give. :)

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

is nothing more than reading writing text

Unless you’re compiling rust.

  • Mic drop *
[–] [email protected] 1 points 5 months ago (1 children)

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

Have you even read my comment?

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago)

Whooosh!

Sound of a joke passing over you