my friend sent me film with xz format and that file can't open. How to open that xz file in movie player program?
Asked
Active
Viewed 1,195 times
2 Answers
2
xz is a compression file format. To uncompress it
If your file format is tar.xz use
tar xf archive.tar.xz
and if your file format is xz use
unxz archive.xz
If you are having problem with tar xf command then you may need to install xz-utils . FYI xz-utils comes pre-installed in Ubuntu.
To install xz-utils use
sudo apt-get install xz-utils
You can also use Nautilus to extract the files. After that use a video player to play your video.

Rahul K Jha
- 1,018
-
1There is no need to install xz-utils - it is already included in Ubuntu ! :) – cl-netbox Apr 12 '16 at 08:28
-
1And I doubt you want to use
tar
if you don't havetar.xz
file. Justunxz
in that case. – muru Apr 12 '16 at 08:38 -
-
-
0
You first have to extract the .xz
file. Open the nautilus
file manager, right-click the file and select Extract Here. Now click on the extracted file and in case it has a format for which all the necessary media plugins are installed, your default media player will open and start playing.

cl-netbox
- 31,163
- 7
- 94
- 131
xz
is a compression format. You uncompress it and then play it. – muru Apr 12 '16 at 07:53