Bedrock Linux - Share packages from other distros on the same distro 04-27-2022, 08:21 PM
#1
Recently have been trying out Bedrock Linux, it lets you use packages from other distros, all while being in the same distro.
For example, you could use some packages from Arch, compile some from Gentoo, and use them normally.
In Bedrock Linux terms these separate distros are called "strata" and a distro by itself is called a "stratum".
There's a concept of "global" directories which are shared between strata, so this means that your home directory is shared in amongst the strata (combination of distros), some other directories are also "global" so that packages from other distros can access the directories that they need.
And each strata has "local" directories, meaning a directory that is solely confined to that stratum. For example using packages from Arch repos, you can't use libraries from Gentoo for Arch packages, so these libraries are "local" inside the Arch stratum root directory (/bedrock/strata/arch/usr/lib, for example).
Now I can just use pacman in a terminal on Linux Mint and fetch packages from Arch repos and use them on the same distro nearly seamlessly.
A practical example is I can use the latest Emacs compiled with the Gentoo stratum, and use it on Linux Mint, like as though Linux Mint had the latest Emacs in it's repository.
Anyway, I think it is a pretty cool project, if anyone wants to check it out, here's a link: https://bedrocklinux.org/
Screenshot (neofetch running on all four strata, showing how much packages are installed on each):
https://imgur.com/a/QlJIZyo
From the website:
Bedrock Linux is a meta Linux distribution which allows users to mix-and-match components from other, typically incompatible distributions. Bedrock integrates these components into one largely cohesive system.
For example, one could have:
- Debian's stable coreutils
- Arch's cutting edge kernel
- Void's runit init system
- A pdf reader with custom patches automatically maintained by Gentoo's portage
- A font from Arch's AUR
- Games running against Ubuntu's libraries
- Business software running against CentOS's libraries
All at the same time and working together mostly as though they were packaged for the same distribution.
For example, you could use some packages from Arch, compile some from Gentoo, and use them normally.
In Bedrock Linux terms these separate distros are called "strata" and a distro by itself is called a "stratum".
There's a concept of "global" directories which are shared between strata, so this means that your home directory is shared in amongst the strata (combination of distros), some other directories are also "global" so that packages from other distros can access the directories that they need.
And each strata has "local" directories, meaning a directory that is solely confined to that stratum. For example using packages from Arch repos, you can't use libraries from Gentoo for Arch packages, so these libraries are "local" inside the Arch stratum root directory (/bedrock/strata/arch/usr/lib, for example).
Now I can just use pacman in a terminal on Linux Mint and fetch packages from Arch repos and use them on the same distro nearly seamlessly.
A practical example is I can use the latest Emacs compiled with the Gentoo stratum, and use it on Linux Mint, like as though Linux Mint had the latest Emacs in it's repository.
Anyway, I think it is a pretty cool project, if anyone wants to check it out, here's a link: https://bedrocklinux.org/
Screenshot (neofetch running on all four strata, showing how much packages are installed on each):
https://imgur.com/a/QlJIZyo
From the website:
Bedrock Linux is a meta Linux distribution which allows users to mix-and-match components from other, typically incompatible distributions. Bedrock integrates these components into one largely cohesive system.
For example, one could have:
- Debian's stable coreutils
- Arch's cutting edge kernel
- Void's runit init system
- A pdf reader with custom patches automatically maintained by Gentoo's portage
- A font from Arch's AUR
- Games running against Ubuntu's libraries
- Business software running against CentOS's libraries
All at the same time and working together mostly as though they were packaged for the same distribution.
(This post was last modified: 04-27-2022, 08:47 PM by y2zs.)


![[+]](https://sinister.li/images/modern/collapse_collapsed.png)













