golang-xi2-x-xz-dev software package provides native Golang xz decompression, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install golang-xi2-x-xz-dev
golang-xi2-x-xz-dev is installed in your system.
Make ensure the golang-xi2-x-xz-dev package were installed using the commands given below,
$ sudo dpkg-query -l | grep golang-xi2-x-xz-dev *
You will get with golang-xi2-x-xz-dev package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Development |
| Package | golang-xi2-x-xz-dev |
| Version | 0.0~git20150926.0.18c6b71-1 |
| Description | native Golang xz decompression |
| Sub Section | Devel |