install tar.xz on ubuntu code example
Example 1: extract tar.xz ubuntu
tar -xf file.tar.xz
Example 2: install tar.xz in ubuntu
tar xf [filename]
This will expand the contents of the file to a folder. Then the commands are, from the folder:
./configure
make
sudo make install
Example 3: install tar.xz in ubuntu 20.4
tar xf [filename]