this post was submitted on 27 Jul 2023
80 points (92.6% liked)

Linux

47976 readers
1194 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
 

#

all 27 comments
sorted by: hot top controversial new old
[–] BearPear@lemmy.world 8 points 1 year ago (1 children)
[–] MaliciousKebab@sh.itjust.works 12 points 1 year ago* (last edited 1 year ago)

It's essentially running a linux container on top of your own system. Which means you can use the toolkit of those distros ( for example the package manager of that system) to install apps from their repos, even gui apps. But those containers also has access to your original filesystem so be careful how you use them. Might want to watch Brodie's video on it.

[–] maiskanzler@feddit.de 7 points 1 year ago (1 children)

(Famous last words of a distrohopper)

[–] gabriele97@lemmy.g97.top 7 points 1 year ago (2 children)

I Wish I would have discovered it before. I think it's very useful when you want to install proprietary software like Matlab or Vivado. With distrobox you avoid to bloat your system and when you want to remove them you simply remove the container

[–] Kekin@lemy.lol 3 points 1 year ago (1 children)

To add to this, you can even specify a home folder for the distrobox so it doesn't even clutter your home folder. Really neat

[–] sibloure@beehaw.org 1 points 1 year ago

Wow I did not realize that! It's explained in the docs?

[–] aleph@lemm.ee 3 points 1 year ago

It genuinely is. I really like the combination with an immutable OS like OpenSUSE Aeon because you have a super stable base that you can add whatever packages you need to via distrobox.

Thank you for sharing this! It was just the thing I needed to get a project setup. Toolbox couldn't pull the version of Fedora I needed to use for whatever reason, but Distrobox works great and has a much wider selection of distributions.

[–] DaTingGoBrrr@lemmy.ml 2 points 1 year ago

How does Distrobox compare to VanillaOS?

[–] neo@lemmy.comfysnug.space 1 points 1 year ago (2 children)

i couldn't figure out where the binaries for their systems are kept and that's really the one thing keeping me from having a great time with distrobox

[–] vfosnar@beehaw.org 4 points 1 year ago (1 children)

Distrobox uses podman/docker under the hood. Each distro should have a corresponding OCI image.

[–] neo@lemmy.comfysnug.space 1 points 1 year ago

I was using podman for the first time. It was kind of on me for that.

[–] MaliciousKebab@sh.itjust.works 2 points 1 year ago (1 children)

Brodie had a video on it, might want to check it out.

[–] PipedLinkBot@feddit.rocks 5 points 1 year ago

Here is an alternative Piped link(s): https://piped.video/watch?v=FhW-3PPldAg

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

[–] TwinTurbo@lemmy.world 1 points 1 year ago

What is the frequency indicator on the right side of your system panel?

[–] Noodlez@programming.dev 1 points 1 year ago (1 children)

I use Distrobox with my NixOS machine for when I need AppImage support (or some random binary that isn't equipped for Nix's weird ass directory layout) and it's amazing! Pretty much native speed, and when I'm done with it I can just wipe it out. Perfect!

[–] Chewy7324@discuss.tchncs.de 1 points 1 year ago

Distrobox is great and I also used on Fedora Silverblue before switching to NixOS (with similar use cases).

For running AppImages there's also appimage-run on NixOS. https://nixos.wiki/wiki/Appimage

[–] wviana@lemmy.eco.br 0 points 1 year ago (1 children)
[–] astrobound@lemmy.world 1 points 1 year ago

looks like it yeah - i had a similar setup a while back.

[–] agilob@programming.dev 0 points 1 year ago (3 children)

Why would you need multiple distros at the same time?

[–] LeFantome@programming.dev 4 points 1 year ago

Think of it as multiple user lands on one distro. So, why?

What if I really love the stability and familiarity of Debian Stable but applications that are either ancient versions or totally missing in Debian? Well, I could use Distrobox on Debian to get access to the Arch Linux repositories ( the largest collection of Linux software anywhere ).

What if I do not want to install huge Flatpaks for the above and prefer more traditional package management and more timely updates?

What if I want to setup a dev or test environment, want to be able to make a mess and remove it later, not also want access to my other tools and files from that environment?

What if i want to experience other package managers and userlands without having to lose my existing system only to discover I do not like it?

What if I want to build software for a specific disto and want to access files and tools on my main distribution to do so?

I am sure there are many, many more reasons.

Anyway, it is just one way to do things with pros and cons like anything else. Personally, I really like it.

[–] Kekin@lemy.lol 1 points 1 year ago

One use case I had was I wanted to use STM32 Cube IDE, but it has a dependency on python 2.7 I think it was. I had some trouble installing it on my main OS, but I was able to get it to work on Ubuntu 22.04 running in a Distrobox.

[–] GadgeteerZA@beehaw.org 1 points 1 year ago

Can run yourmain distro as a stable one, but have an unstable or testing version in a Distrobox container sout does not mess your main install.

If you have non Arch distro, you could run Arch in Distrobox and get to use all the AUR packages.