this post was submitted on 09 Apr 2024
314 points (98.8% liked)

Linux

54035 readers
1401 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 6 years ago
MODERATORS
 

I thought I'll make this thread for all of you out there who have questions but are afraid to ask them. This is your chance!

I'll try my best to answer any questions here, but I hope others in the community will contribute too!

(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (1 children)

I'm a disabled gamer with lots of time on my hands. I'm considering dual booting Linux Mint (or something else equally easy to transition to) with Windows 10. My plan would be to entirely swap to Linux, but keep Windows for the few games that require it. However, I have some concerns.

Do I need to worry about certain niche programs I use not being Linux compatible, or do things like Wine make that irrelevant? I'm especially curious about 3rd party game/mod launchers, like GW2Launcher and XIVLauncher, or Overwolf/Curseforge.

What about Windows store apps-- is there any way to use them while in Linux? Sounds like a dumb question, but figured I'd ask just in case. This part isn't a deal breaker either way.

Thanks in advance for any replies!

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

Microsoft store apps don’t work in wine.

Guild wars used to work in Linux, idk about two but it seems to.

What you might consider, since you have the time, is using Linux as a main os and run windows in a vm inside it with gpu passthrough.

The idea is that you boot Linux all the time and when you need windows you “turn on” the virtual machine running it which gets direct control over a video card connected to a monitor.

It’s like having two computers with two monitors right next to each other except with only one computer.

The big benefit is that you get damn near 100% compatibility with even games that have windows only anti-cheat because… you’re running windows. It’s also nice to not make a choice to “switch” because windows is always right there when you need it!

The cons are that it takes a little time and learning to set up and you need to make sure your hardware works with it and that you have enough of it to make such a setup work (both onboard and discrete video cards, two monitors or a kvm switch, etc.).

But for a certifried gamer it’s a good move.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (4 children)

The big benefit is that you get damn near 100% compatibility with even games that have windows only anti-cheat because… you’re running windows.

This isn't necessarily true - most anti-cheat programs detect VMs, and depending on the game, some may prevent you from launching the game (eg games using Vanguard), others may flag you and cause you to get kicked out of the game, or even get you banned (Battleye is pretty notorious for this, from what I hear).

Now there are some tricks you can use, such as editing the XML for your VM to mimic your host machine's SMBIOS data / vendor strings etc, but it's a bit of work and can be a hit-or-miss.

Of course, the best option would be to not support games which use invasive anti-cheat in the first place. :)

And if you're on nVidia, it can be a bit of a pain to get it all going, since you need to patch your GPU's vBIOS. You can see how much work is involved in setting it all up over here: https://gitlab.com/Mageas/single-gup-passthrough - so not for the faint-hearted. :)

cc: @[email protected]

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

Is wine still the "most windows" distro?

[–] [email protected] 6 points 1 year ago

wine is not a distribution. It is a program that allows running windows applications on Linux, and is available on most distributions.

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago) (1 children)

What's the difference between /bin and /usr/bin and /usr/local/bin from an architectural point of view? And how does sbin relate to this?

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

There's a standard. /usr was often a different partition.

/bin - system binaries
/sbin - system binaries that need superuser privileges
/usr/bin - Normal binaries
/usr/sbin - normal binaries that require superuser privileges
/usr/local/bin - for executables that aren't 'packaged' - i.e., installed by you or some other program system-wide
[–] [email protected] 1 points 1 year ago (2 children)
[–] [email protected] 2 points 1 year ago

Actually binaries can include non-executable files as well! Strictly speaking, a "binary" refers to pretty much any file that's not plain-text (so if you tried to open a binary in a text editor, you'd see gibberish).

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

Executable programs! Bin-ary instructions for the computer to perform!

[–] [email protected] 3 points 1 year ago

Also, technically these will not just have binaries. I should have said executable, really, because scripts are there, too.

[–] [email protected] 1 points 1 year ago

Former FreeBSD user here. I always kept /usr separate, including /usr/home

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

What is the practical difference between Arch and Debian based systems? Like what can you actually do on one that you can't on the other?

[–] [email protected] 2 points 1 year ago

To summarize: the major difference is that Arch Linux gives you the latest versions of all programs and packages. You can update anytime, and you'll get the latest versions every time for all programs

Debian follows a stable release model. Suppose you install debian 12 (bookworm). The software versions there are locked, and they're usually not the latest versions. For example, the Linux kernel there is version 6.1, whereas the latest is like 6,9 or something. Neovim is version 0.7, whereas the latest is 0.9. Those versions will remain this way, unless you update to, say, debian 13 whenever it comes out. But if you do your regular system updates, it will only do security updates (which do not change the behavior of a program).

You might wonder, why is the debian approach good? Stability. Software updates = changes. Changes could mean your setup that was previously working, suddenly isn't, because now the program changed behavior. Debian tries to avoid that by locking all versions, and making sure they are fully compatible. It also ensures that by doing this, you don't miss out on security updates.

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

The practical difference is the package manager; Debian-based systems use dpkg/APT with the .deb package format, Arch uses Pacman with .pkg packages.

Debian-based distros use a stable release cycle, so there are version numbers. The ecosystem is maintained for each version for an extended period of time, so if you have a workflow that requires a specific era of software, you can stick with an older version of the OS to maintain compatibility. This does not necessarily mean the software remains unpatched; security or stability patches are applied, this tends to mean the system is stable. Arch-based distros use a rolling release, basically what they said they were going to do with Windows 10 being the "last" version of Windows and they'd just keep updating it. Upside: Newest versions of packages all the time. Downside: Newest versions of packages all the time. You get the latest features, and the latest bugs.

Debian-based distros don't have a unified method of distributing software beyond the standard repositories. Ubuntu tried with PPAs, which kind of sucked. Arch has the Arch User Repository, or AUR.

Arch itself is designed to be an a la carte operating system. It starts out as a fairly minimal environment and the user will install the components they want and only the components they want, though many Arch-based distros like Manjaro and EndeavorOS offer pre-configured images. Debian was one of the earliest distros shipped ready to go as a complete OS; I know of no system that offers the "here's a shell and a package manager, install it yourself" experience on the Debian family tree.

But given an installed and configured Debian and Arch machine, what can one do that the other can't? As in, can it run [application]? Very little.

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

You can do pretty much the same things on either. The difference is one is a rolling release with fresh fairly untested packages and the other is a fixed stable system with no major changes happening.

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

You can “do” the same thing in Debian as you can arch, the main difference is packaging philosophy, Debian packages are older and more stable, while in Arch world you typically have the newest version of software packages as late as a few weeks from their release (the caveat being breakage is a bit more likely), Arch also has user repositories where the community can contribute unofficial packages

load more comments
view more: ‹ prev next ›