tar.xz install linux code example Example 1: extract a tar.xz file linux tar -xf filename.tar.xz Example 2: install tar.xz in ubuntu 20.4 tar xf [filename]