mboljen / fetchdebian

Download Debian installation media files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fetchdebian

Download Debian installation media files

Synopsis

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 (codename bookworm)
  • testing for Debian 13 (codename trixie)
  • oldstable for Debian 11 (codename bullseye)
  • oldoldstable for Debian 10 (codename buster)

Append the suffix -live is appended to the codename, the script will download the image file of the corresponding Debian Live system.

Description

This script downloads the latest Debian installer image to the current working directory.

Options

  • -p path

    Specify download directory. Default is current working directory.

  • -a arch

    Select one of the following software architectures. Default is amd64.

    • amd64
    • arm64
    • armel
    • armhf
    • i386
    • mips
    • mips64el
    • mipsel
    • multi-arch
    • ppc64el
    • s390x
    • source
    • trace
  • -d desktop

    Select one of the following desktop environments for Live systems. Default is gnome.

    • cinnamon
    • gnome
    • kde
    • lxde
    • lxqt
    • mate
    • standard
    • xfce
  • -u url

    Specify the base URL of the download location. Default is https://cdimage.debian.org/cdimage.

  • -l rate

    Specify the maximal download bandwidth. The default is 4M.

  • -h

    Shows this help message.

Installation

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.

Contributing

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.

License

MIT

About

Download Debian installation media files

License:MIT License


Languages

Language:Shell 81.1%Language:Makefile 18.9%