Download Debian installation media files
The following command will download the corresponding Debian installer image file to the current working directory.
$ fetchdebian [OPTION]... CODENAME...Use one of the following codenames or a version number.
lennysqueezejessiestretchbusterbullseyebookwormtrixie
According to the current development status of Debian, you can use the following alternatives:
stablefor Debian 12 (codenamebookworm)testingfor Debian 13 (codenametrixie)oldstablefor Debian 11 (codenamebullseye)oldoldstablefor Debian 10 (codenamebuster)
Append the suffix -live is appended to the codename, the script will download the image file of the corresponding Debian Live system.
This script downloads the latest Debian installer image to the current working directory.
-
-ppathSpecify download directory. Default is current working directory.
-
-aarchSelect one of the following software architectures. Default is
amd64.amd64arm64armelarmhfi386mipsmips64elmipselmulti-archppc64els390xsourcetrace
-
-ddesktopSelect one of the following desktop environments for Live systems. Default is
gnome.cinnamongnomekdelxdelxqtmatestandardxfce
-
-uurlSpecify the base URL of the download location. Default is
https://cdimage.debian.org/cdimage. -
-lrateSpecify the maximal download bandwidth. The default is
4M. -
-hShows this help message.
Use the following command to install this software:
$ make
$ make installThe default PREFIX is set to /usr/local. In order to successfully complete the installation, you need to have write permissions for the installation location.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.