This guide describes the types of Clear Linux OS images available, where to download them, how to verify the integrity of an image, and how to decompress it.

Instructions for other operating systems are available:

Image types

Clear Linux* OS offers many types of images for different platforms and environments.

The naming convention of a Clear Linux OS image filename is:

clear-[version number]-[image type].[compression type]
  • The [version number] field specifies the version number.
  • The [image type] field specifies the type of image and its corresponding file format.
  • The [compression type] field specifies the compression type. Two types of compressions are used: GNU* zip (.gz) and XZ (.xz).

Table 1 lists the currently available images that are platform independent. Table 2 lists the currently available images that are platform specific.

Table 1: Types of platform-independent Clear Linux OS images
Image Type Description
live-desktop.img or live-desktop.iso Image for booting to GNOME* desktop to preview or install the OS.
live-server.img or live-server.iso Image for booting to server command prompt to preview or install the OS.
Table 2: Types of platform-specific Clear Linux OS images
Image Type Description
aws.img Image suitable for use with Amazon* AWS*.
azure.vhd Virtual Hard Disk for use on Microsoft* Azure* cloud platform.
azure-docker.vhd Virtual Hard Disk for use on Microsoft Azure cloud platform with Docker* pre-installed.
azure-machine-learning.vhd Virtual Hard Disk for use on Microsoft Azure cloud platform with the machine-learning-basic bundle installed.
cloudguest.img Image with generic cloud guest virtual machine (VM) requirements installed.
gce.tar Image with the Google Compute Engine (GCE) specific kernel.
hyperv.vhdx Virtual Hard Disk for use with Microsoft Hyper-V* hypervisor. Includes optimized kernel for Hyper-V.
kvm.img Image for booting in a simple VM with start_qemu.sh. Includes optimized kernel for KVM.
kvm-legacy.img Image for booting in a simple VM using legacy BIOS, if using start_qemu.sh make sure to remove -bios parameter.
pxe.tar Image suitable for use with PXE server.
vmware.vmdk Virtual Machine Disk for VMware* platforms inclduing Player, Workstation, and ESXi.

Verify the integrity of the Clear Linux OS image

Before you use a downloaded Clear Linux OS image, verify its integrity. This action eliminates the small chance of a corrupted image due to download issues. To support verification, each released Clear Linux OS image has a corresponding SHA512 checksum file designated with the suffix -SHA512SUMS.

  1. Download the corresponding SHA512 checksum file of your Clear Linux OS image.

  2. Start the Terminal app.

  3. Go to the directory with the downloaded image and checksum files.

  4. Verify the integrity of the image and compare it to its original checksum with the command:

    shasum -a512 ./clear-[version number]-[image type].[compression type] | diff ./clear-[version number]-[image type].[compression type]-SHA512SUMS -
    

If the checksum of the downloaded image is different than the original checksum, the differences will be displayed. Otherwise, an empty output indicates a match and your downloaded image is good.

Decompress the Clear Linux OS image

We compress all released Clear Linux OS images by default with either GNU zip (.gz) or xz (.xz). The compression type we use depends on the target platform or environment. To decompress the image, follow these steps:

  1. Start the Terminal app.

  2. Go to the directory with the downloaded image.

  3. Use the gunzip command to decompress either compression type. For example:

    gunzip clear-[version number]-[image type].xz
    gunzip clear-[version number]-[image type].gz