# [`distro-url`][]
Print [Linux][] [distro][] info, including [image][] [URL][]s.
Note that the latest versions are hard coded, which means they will need to be
manually updated, which means they may be out of date.
[`distro-url`]: https://git.rcrnstn.net/rcrnstn/distro-url
[Linux]: https://en.wikipedia.org/wiki/Linux
[distro]: https://en.wikipedia.org/wiki/Linux_distribution
[image]: https://en.wikipedia.org/wiki/Optical_disc_image
[URL]: https://en.wikipedia.org/wiki/URL
## Usage
```
distro-url [<distro> [<variant> [<arch> [<codename> [<version> [<mirror>]]]]]]
```
- `<distro>`: The [distro][] to print the [URL][] for.
- `<variant>`, `<arch>`, `<codename>`, `<version>`: Optional parameters to
select a different [image][] than the default.
- `<mirror>`: Optional override of the default [mirror][].
[mirror]: https://en.wikipedia.org/wiki/Mirror_site
## Dependencies
- [POSIX][] [shell][].
- `column`, optional, for formatting.
[POSIX]: https://en.wikipedia.org/wiki/POSIX
[shell]: https://en.wikipedia.org/wiki/Unix_shell
## Examples
```sh
$ distro-url debian
DISTRO VARIANT ARCH CODENAME VERSION URL
debian gnome amd64 trixie 13.5.0 https://cdimage.debian.org/debian-cd/13.5.0-live/amd64/iso-hybrid/debian-live-13.5.0-amd64-gnome.iso
$ distro-url debian netinst
DISTRO VARIANT ARCH CODENAME VERSION URL
debian netinst amd64 trixie 13.5.0 https://cdimage.debian.org/debian-cd/13.5.0/amd64/iso-cd/debian-13.5.0-amd64-netinst.iso
$ distro-url debian inst arm64 unknown 99.0.0
DISTRO VARIANT ARCH CODENAME VERSION URL
debian inst arm64 unknown 99.0.0 https://cdimage.debian.org/debian-cd/99.0.0/arm64/iso-dvd/debian-99.0.0-arm64-DVD-1.iso
```
## License
Licensed under the [ISC License][] unless otherwise noted, see the
[`LICENSE`][] file.
[ISC License]: https://choosealicense.com/licenses/isc
[`LICENSE`]: LICENSE