this post was submitted on 27 Jul 2023
106 points (93.4% liked)

Linux

48348 readers
448 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
 

#

top 31 comments
sorted by: hot top controversial new old
[–] [email protected] 18 points 1 year ago (1 children)

(Famous last words of a distrohopper)

[–] [email protected] 15 points 1 year ago (1 children)
[–] [email protected] 16 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.

[–] [email protected] 11 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

[–] [email protected] 4 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

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

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

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

Yes, in the Useful Tips section. Lots of other cool notes there:

https://github.com/89luca89/distrobox/blob/main/docs/useful_tips.md

Have fun!

[–] [email protected] 2 points 1 year ago
[–] [email protected] 5 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.

[–] agilob 3 points 1 year ago (3 children)

Why would you need multiple distros at the same time?

[–] LeFantome 6 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.

[–] [email protected] 3 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.

[–] [email protected] 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.

[–] [email protected] 2 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

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

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

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

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

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

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

[–] [email protected] 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.

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

Appreciated, thank you.

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

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.

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

How does Distrobox compare to VanillaOS?

[–] Noodlez 2 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!

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

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

[–] Noodlez 1 points 1 year ago

I'm aware, but the appimage I run (Slippi Launcher) will run other appimages, and appimage-run can't handle that, since it extracts the appimage, then runs the contents, but it won't automatically do that for other appimages that are run.

Which is why I used a Distrobox and it was awesome, worked like a charm. I used Arch previously, and I just made an Arch distrobox and it worked perfectly.

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

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

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

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

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

Properly just Process Manager with the icon from macOS Activity Monitor.