this post was submitted on 26 Jan 2025
89 points (96.8% liked)
Linux
49395 readers
1920 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
As jet points out, QEMU for actual hardware virtualisation.
There is one relevant thing, which is not exactly in the same category, but does somewhat similar thing:
containers
most popular example being Docker
https://en.wikipedia.org/wiki/Containerization_(computing)
containers don't emulate whole hardware stack like virtual machines do, they just run the guest OS on top of host OS.
so because they don't put resources towards emulating hardware, they are much more resource efficient.
so if your problem is "I'm running Fedora but I want to run something that for some reason runs just on Ubuntu", then you could use containers for that.
containers are mostly used in headless environments (as in servers, no GUI), so running and displaying desktop Linux inside them is a bit tricky, but it can be done.
Containers don't emulate anything. They have an OS installed within them. Typically you use Alpine Linux which super minimalistic and lightweight.
yes, valid point, thank you for the correction
I've been using https://containertoolbx.org/ recently to manage my "other distro" requirements. It doesn't do anything special but works nicely as a wrapper around podman and does all the bind mounts and uid mappings so you can just enter your $HOME as though you have set up your account in a new OS.
Distrobox is Toolbx but more portable (packaged on basically all distributions) and supports way more distributions as guests. I recommend using that if not on Fedora or you want to run a different guest than Fedora.
for running GUI app, I use flatpak which is a sort of a container / sandbox