I recently published a CLI based snap, which allows user’s to easily download the latest Ubuntu ISOs. Various flavors and types of ISOs are supported across the supported releases of Ubuntu. Downloaded ISO’s SHA-256 hash sum is verified after downloading to ensure the authenticity of the download.

Read on to learn how to install and use Ubuntu ISO Download!

demo

How to Install Link to heading

As this is a snap it is installed easily via the snap store:

1
snap install ubuntu-iso-download

Usage Link to heading

Below is usage for the app:

help

Flavors Link to heading

The snap is capable of downloading the primary Ubuntu Desktop and Ubuntu Server as well as a selection of currently supported flavors. The list of supported flavors was based on the officially recognized flavors list. These include the following:

  • Ubuntu Desktop
  • Ubuntu Server
  • Kubuntu
  • Lubuntu
  • Ubuntu Budgie
  • Ubuntu Kylin
  • Ubuntu MATE
  • Ubuntu Studio
  • Xubuntu

If your favorite flavor is missing or not available feel free to file a bug to request support and let me know there is interest in it.

Release Link to heading

The release is the codename (e.g. bionic, xenial, trusty) and must be a currently supported release and defaults to the latest LTS if one is not provided.

Architecture Link to heading

Only the amd64 architecture is supported for download at this time.

Dry Run Link to heading

In dry run mode, a link to the folder containing the ISO is printed rather than downloading the entire ISO.

Debug Link to heading

Debug mode will print additional output, including the full SHA-256 string.

example

Hash Verification Link to heading

For verification, the SHA-256 hash file and signed GPG has file are both downloaded. The signed GPG file is used to verify that the hash file is valid and the expected hash saved.

Once the ISO is downloaded, the SHA-256 hash is calculated and compared to the expected value. If a has mismatch occurs the download ISO is deleted.

Bugs, Feature Requests, Questions Link to heading

If you encounter an issue, have a feature request or idea for something new, or have questions about the tool feel free to file a GitHub issue!

References Link to heading