6.5 KiB
Want you try new Operating system?
How?
DistroHopper
Quickly download, create and run VM of any(TODO) operating system.
Licensed under AGPL3
Still Testing version!
quickly create and run VMs
As a base excellent quickemu
I added:
GUI
using yad
.Desktop file generator
It will simple generate .desktop files for every supported VM in quickemu. So you can copy it anywhere...
And I mean every supported distro.
you can download new distro with few clicks of a mouse
You need to run quickgui just for update supported distros.
Simple GUI using yad --notebook
See it in action on youtube...
or command line?...
TUI
using fzf
Where the releases and editions come from
DistroHopper keeps two copies of the per-distro information.
templates/<os> is the dynamic one. Its releases_(), editions_() and
arch_() functions scrape the upstream mirror to find out what exists right
now. They need the network, and they are slow.
public/<os> is the static one. It is generated from the template and
contains the same functions plus the releases and editions that were parsed
at generation time, stored as plain variables:
RELEASES="v3.24 v3.23 …"
EDITIONS="boot dvd minimal"
QEMU_ARCH="amd64 arm64 …"
The front-ends read the static copy, so listing the supported systems and picking a release works without a network connection. Only the actual download needs one.
Updating the metadata
generate rebuilds public/ from templates/:
./generate <os> # one distro
./generate --all # every distro, in order
./generate --parallel # every distro, in parallel
./generate --test <os> # check whether the image URLs still resolve
A distro whose upstream cannot be reached keeps its previous metadata, so a failed run never removes a distro from the list.
dh-refresh does the same, but is meant to be run unattended:
dh-refresh # refresh every distro now
dh-refresh alpine debian # refresh only these
dh-refresh --install-cron # schedule a daily refresh at 04:00
dh-refresh --show-cron # show the current schedule
dh-refresh --remove-cron # remove the schedule
The schedule is opt-in: nothing is installed until you ask for it, and the other entries in your crontab are left alone.
Using the live templates instead
When you need the current upstream state right away — for example when a new release was announced minutes ago — you can read the templates directly instead of the generated metadata:
qget --templates --show <os>
qget --templates --list
The same switch exists in the GUI, under Options → Metadata source. The templates are always current, but they need the network and are slower.
Why I creating this?
Because I wanna learn
-
Linux
-
Bash
-
yad
-
project management
-
contribute to open source
Because I wanna play with Quickemu
And easily add new distro to it
Quickemu.
Requirements
- QEMU (6.0.0 or newer) with GTK, SDL, SPICE & VirtFS support
- bash (4.0 or newer)
- Coreutils
- EDK II
- grep
- jq
- LSB
- procps
- python3
- macrecovery
- mkisofs
- usbutils
- util-linux
- sed
- socat
- spicy
- swtpm
- Wget
- xdg-user-dirs
- xrandr
- zsync
- unzip
Installing Requirements
For Ubuntu, Arch and nixos systems the ppa, AUR or nix packaging will take care of the dependencies. For other host distributions or operating systems it will be necessary to install the above requirements or their equivalents.
These examples may save a little typing
Debian:
sudo apt install qemu bash coreutils ovmf grep jq lsb procps python3 genisoimage usbutils util-linux sed spice-client-gtk swtpm wget xdg-user-dirs zsync unzip
Fedora:
sudo dnf install qemu bash coreutils edk2-tools grep jq lsb procps python3 genisoimage usbutils util-linux sed spice-gtk-tools swtpm wget xdg-user-dirs xrandr unzip
Void Linux:
sudo xbps-install qemu bash coreutils grep jq procps-ng python3 util-linux sed spice-gtk swtpm usbutils wget xdg-user-dirs xrandr unzip zsync socat
Currently supported Distribution:
In screenshot above...
Testing version!
Project chat group:
If anyone wanna join, here is one SimpleX way
(check the software! even if you don't want chat about DistroHopper) Simplex website
Without these amazing projects it wouldn't be posible:
GUI depends on yad
TUI depends on fzf



