this post was submitted on 23 Aug 2023
57 points (91.3% liked)

Linux

45395 readers
2490 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
 

With the new computer and the newer Microsoft Windows updates they have really jam packed their OS with bloat and spyware. That being said I have no idea what I’m doing with Linux, need help with where to start.? What are some general tips? I understand there’s a lot of prebuilt Linux distributions or something what are some first timer friendly ones? Really any help is appreciated because the biggest barrier to entry is the perceived difficulty of actually doing it.

you are viewing a single comment's thread
view the rest of the comments
[–] rtxn@lemmy.world 7 points 10 months ago* (last edited 10 months ago) (1 children)

As others have said, Linux Mint is probably the best distro for absolute beginners. You'll have several desktop environments to choose from (the software suite that gives you things like window frames, the taskbar, the application launcher...). I like KDE Plasma and Cinnamon - Plasma is a lot more customizable, but Cinnamon is more robust and (IMO) better suited for beginners.

You'll have to unlearn a lot of Windows habits.

  • :q! is very important, remember it.
  • You won't download application installers from the internet, you'll have to either use the system's own package manager in the terminal (APT for Mint), a GUI front-end, or Flatpak.
  • You won't be able to choose where software are installed.
  • There are no lettered drives. There is a single root filesystem (equivalent to C:\ on Windows), and every other partition has to be mounted somewhere within that filesystem. Most graphical file manager applications take care of that automatically.
  • Updates are very important. Fortunately they are much less of a pain in the ass. Graphical package manager apps usually offer automatic reminders, or you can use the terminal to update manually.
  • The terminal is much more important compared to Windows, and you should learn basic things like navigating the filesystem, handling files and directories, how to use sudo (eq. run as admin), how to manage running processes (top, kill/pkill/killall), and how to use the package manager.
  • Use manuals and the man command. The Arch Wiki is an invaluable tool for every distribution.
  • Ask your questions. There will be dickheads, but most people will be happy to help.
[–] Ozzy@lemmy.ml 1 points 10 months ago (2 children)

I swear to God this is my biggest gripe with Linux, not being able to choose where stuff gets installed. Like yeah cool I want to have the OS on a SSD but that doesn't mean I also want my packages to go to it too, the HDD is for that

[–] WalrusByte@lemmy.world 4 points 10 months ago* (last edited 10 months ago) (1 children)

You could set it up so that your root is on one drive and your home directory is on another

[–] Ozzy@lemmy.ml 0 points 10 months ago (2 children)

But doesn't APT or Pacman install to root folders? Like when I say I want just the OS on the SSD I really mean it.

[–] mkwt@lemmy.world 2 points 10 months ago

Usually each distro decides which packages go in / and which in /usr based on how critical, more or less, a package is to the system. It's often not very easy to configure these choices because it affects other distro decisions, including filesystem structure and paths, and boot sequence. Beware that "just the OS" on a typical distribution is usually a lot less functionality than you get with "just" Windows NT.

There's also /usr/local for packages you install on your own, apart from the distro package manager, and /opt, for closed source binary only packages or for anything else that doesn't want to conform to the bin, lib, include, share schema.

[–] WalrusByte@lemmy.world 1 points 10 months ago

What are you trying to separate from the OS files? If it's just personal documents and stuff like that, I don't see why you can't just keep those in your home directory. Or are you saying you want your installed programs separate from the Linux kernel? Then you can just put the boot partition on one drive and have the root partition on the other (including home). I guess I'm just a little confused as to what it is you're trying to separate here. What do you mean when you say "separate from the OS"?

[–] VoltaicGRiD@mastodon.social 0 points 10 months ago (1 children)

@Ozzy @rtxn I just thought of this, could one, create symbolic links that point to /lib (for ex.) to "repoint" the directory a package gets installed to?

Not sure if this would work, but was curious if someone's attempted it before.

[–] Ozzy@lemmy.ml -1 points 10 months ago (2 children)

Yeah I was thinking the same thing too, technically if we would recreate the file structure on the second drive, move everything there and set up soft links to those folders instead it might work? I need to try it out in a vm

[–] rtxn@lemmy.world 2 points 10 months ago (1 children)
[–] Ozzy@lemmy.ml 1 points 10 months ago

I had no idea this exists and it looks like it might just work, thank you

[–] nyan@lemmy.cafe 2 points 10 months ago

Some directories can be moved, but you risk messing up your boot process if /lib, /etc, /bin, /sbin, and /dev are not on your root partition. Having /usr on a separate partition is sort-of possible, but even on Gentoo that's an uncommon configuration, and I'd expect less flexible distros not to allow it at all. /var, /opt, /root, and /home can be wherever, though.

It may be possible to put only selected files in your /lib and so on, and then mount another partition on a different drive on top of the minimal one late in the boot process, or even to stopgap things with a carefully-designed initramfs, but I think you'd be looking at some trial and error (and make it more difficult to update basic system packages).

Also, defining what is "just the OS" on Linux is not as easy as you may think. The smallest possible configuration that will get you a running system is a Linux kernel + busybox (a set of cut-down system tools that includes a simple init system, a shell, and a basic device manager). Most of what your distro packages is not part of the OS, strictly speaking—it's optional add-ons that the people making the distro think most users will find useful.