
Observe ZDNET: Add us as a most well-liked supply on Google.
ZDNET’s key takeaways
- Distrobox permits you to run completely different Linux distributions.
- This can be a nice solution to study the fundamentals of Linux.
- Distrobox is free to put in and use.
I take advantage of Linux… rather a lot. I take advantage of it for almost all the things I do. Oftentimes, I take advantage of a number of cases of Linux. How do I do this? If you wish to go the digital machine route, there’s VirtualBox. Nevertheless, if you would like to simplify issues much more (with out having to obtain multi GB ISO information), you possibly can take the trail of containers.
Additionally: Linux can be unstoppable in 2026 – however one open-source legend might not survive
A technique to do that is by way of Distrobox.
What’s Distrobox?
Distrobox is a nifty software that permits you to simply spin up completely different Linux distributions out of your desktop pc. Say, for instance, your desktop runs Ubuntu and also you need to strive Fedora. You possibly can spin up a Fedora container with Distrobox and experiment with it. And though Distrobox is a command line software, you too can set up GUI apps after which export them to your desktop.
It is actually cool.
Additionally: My 11 favourite Linux distributions of all time, ranked
It is also secure, as a result of it would not monkey along with your host OS, so you possibly can spin up a unique distribution with Distrobox, enter the brand new container, do no matter you need, and belief that no matter you might be doing will not hurt your host.
I will stroll you thru the method of putting in Distrobox after which learn how to use it. I am going to additionally exhibit how one can set up a GUI app after which use that app on the host OS. Enjoyable occasions.
Learn how to set up Distrobox
What you may want: To make use of Distrobox, you may want a Linux desktop distribution and a person with sudo privileges. I am going to exhibit this on Linux Mint.
The very first thing we’ll do is replace APT with the command:
Present extra
sudo apt-get replace
Subsequent, we’ll set up Distrobox and a container software (docker-compose will do the trick). For that, challenge the command:
Present extra
sudo apt-get set up distrobox docker-compose -y
That is it. Distrobox is put in.
Learn how to use Distrobox
Distrobox pulls pictures from a centralized repository after which makes use of these pictures to create containers for a particular distribution.
Additionally: Prepared for a Linux laptop computer? I discovered one which competes with my MacBook Professional
1. Create the Fedora container
For our instance, we will create a brand new container for Fedora, which is finished with the command:
distrobox-create –name fedorainnabox –image fedora
Observe: You’ll be able to title your new container something you want.
You’ll be able to set up a number of completely different distributions. To view a listing of obtainable distros for Distrobox, try the official distribution checklist web page.
2. Enter the container
Now you can enter the newly created container with the command:
distrobox enter fedorainnabox
Keep in mind to make use of the title you selected in your new container.
3. Use the container
You now have a full-blown Fedora distribution to make use of. You’ll be able to replace it with:
sudo dnf replace
You’ll be able to set up software program (such because the nano textual content editor) like this:
sudo dnf set up nano
This is a very cool trick. To illustrate you need to set up an app in your Distrobox Fedora container after which run it in your host. That app is likely to be out there solely on Fedora and never Linux Mint. Or possibly you already know that Fedora has a more moderen model of an app you want than is out there in your host. How do you do that?
Additionally: My 5 favourite distros of Linux previous – and why I am nonetheless fascinated about them
It is easy: First, ensure to enter the Fedora container. As soon as you’ve got finished that, set up the app. For instance, you would possibly need to set up the most recent model of the Chromium internet browser. For that, challenge the command:
sudo dnf set up chromium -y
As soon as the set up is full, it’s important to export the app to the host with the command:
distrobox-export –app chromium
Now you can run that app from the host desktop menu.
Chromium is put in on a Distrobox container however can now be run from the host.
Jack Wallen/ZDNET
You is likely to be stunned to seek out out that the exported apps run virtually as quick as in the event that they had been put in natively in your host.
Learn how to cease and take away a Distrobox container
If you’re completed working along with your Distrobox container, exit it with the command:
exit
You’ll be able to then cease the container with:
distrobox cease fedorainnabox
Keep in mind to make use of the title you gave your Distrobox container.
You’ll be able to then delete the container with:
distrobox rm fedorainnabox
Additionally: Why individuals preserve flocking to Linux in 2025 (and it is not simply to flee Home windows)
And that is all there may be to utilizing Distrobox for spinning up containers of varied Linux distributions.

