13
submitted 5 days ago by tkw8@lemm.ee to c/linux@lemmy.ml

If you're using linux and also use brew package manager on your machine, what is your use case? I'm curious why people would use brew in addition to their distribution's native package manager.

you are viewing a single comment's thread
view the rest of the comments
[-] LeFantome@programming.dev 1 points 5 days ago* (last edited 5 days ago)

You can think of Docker and Podman as an almost zero overhead (CPU and RAM) way of running one distribution on another. So, you can run an application in Docker that expects to be running on a different distro from what you use (say Ubuntu Jenkins but actually running on Debian). The environment that the applications run in are called “containers”. Mostly they contain the filesystem layout and application libraries that the app expects.

Docker itself is designed to sandbox the application away from your host system. A related technology, Distrobox, uses the same containers but in a way that the applications know they are running on your system with full access to your display manager and home directory.

I run an Arch Distrobox on every distro that I use. This allows me full access to all the Arch repos and the AUR even on other distros ( eg. Alpine, Chinese Linux, or Debian).

Flatpak also uses containers and so you can consider Distrobox as a Flatpak alternative. Flatpak containers are not the same as those that Docker uses but they rely on the same underlying Linux kernel features to do what they do. In Flatpak, you are essentially running the Freedesktop distro on top of your host distro (so much like Distrobox with the guest distro chosen for you).

this post was submitted on 04 Jun 2025
13 points (84.2% liked)

Linux

55009 readers
622 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