Linux decompress xz file

broken image

One way to do this is in Disks (your file browser). But assuming it's Ubuntu, here's a summary:įind the name of the device that you are writing it to. The best way to do this differs depending on what operating system you're using to do it. Assuming the file was correctly and successfully downloaded (see below), you can use the official instructions to flash this image to a storage device. The particular file you've downloaded is a preinstalled image for Ubuntu Server 19.10. Flashing the preinstalled Ubuntu Server image in particular xz file (unless the file is very misleadingly named), only decompression is needed.

broken image

tar.xz file, since tar supports decompressing and extraction through a single command. Note that this is different from what you would usually do for a. xz file, you can pass the -k/ -keep option: unxz -k ubuntu-19.10-preinstalled-server-arm64+ That will extract ubuntu-19.10-preinstalled-server-arm64+raspi3.img and, assuming it succeeds, delete ubuntu-19.10-preinstalled-server-arm64+. You can uncompress it with: unxz ubuntu-19.10-preinstalled-server-arm64+

broken image

Ubuntu-19.10-preinstalled-server-arm64+ is the result of compressing a single file, ubuntu-19.10-preinstalled-server-arm64+raspi3.img, with xz.

broken image