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.
lenny
squeeze
jessie
stretch
buster
bullseye
bookworm
trixie
According to the current development status of Debian, you can use the following alternatives:
stable
for Debian 12 (codenamebookworm
)testing
for Debian 13 (codenametrixie
)oldstable
for Debian 11 (codenamebullseye
)oldoldstable
for 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.
-
-p
pathSpecify download directory. Default is current working directory.
-
-a
archSelect one of the following software architectures. Default is
amd64
.amd64
arm64
armel
armhf
i386
mips
mips64el
mipsel
multi-arch
ppc64el
s390x
source
trace
-
-d
desktopSelect one of the following desktop environments for Live systems. Default is
gnome
.cinnamon
gnome
kde
lxde
lxqt
mate
standard
xfce
-
-u
urlSpecify the base URL of the download location. Default is
https://cdimage.debian.org/cdimage
. -
-l
rateSpecify the maximal download bandwidth. The default is
4M
. -
-h
Shows this help message.
Use the following command to install this software:
$ make
$ make install
The 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.