How Do You Extract and Install Tar Xz File in Linux?
Contents

How install tar XZ file in Linux?

For installing the above tools on fedora, rhel, centos execute the below command with root previlege .

  1. $ sudo su (or) sudo -i (or) su.
  2. # yum update.
  3. # yum install gcc binutils make p7zip cmake.
  4. # yum install checkinstall-1.6.2-3.el6.1.x86_64.rpm.
  5. (or)
  6. # rpm -ivh checkinstall-1.6.2-3.el6.1.x86_64.rpm.

How do I unzip a .XZ file in Linux?

xz file is a Tar archive compressed with xz. To extract a tar. xz file, use the tar -xf command, followed by the archive name.

Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest