Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mboljen/fetchdebian
Download Debian installation media files
https://github.com/mboljen/fetchdebian
bash-script debian image-file
Last synced: about 1 month ago
JSON representation
Download Debian installation media files
- Host: GitHub
- URL: https://github.com/mboljen/fetchdebian
- Owner: mboljen
- License: mit
- Created: 2021-04-26T22:38:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-22T19:58:03.000Z (6 months ago)
- Last Synced: 2024-06-24T02:00:33.859Z (6 months ago)
- Topics: bash-script, debian, image-file
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# fetchdebian
Download Debian installation media files
## Synopsis
The following command will download the corresponding Debian installer image file to the current working directory.
```console
$ 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:
```console
$ 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](https://choosealicense.com/licenses/mit/)