how to untar file in linux red hat?
14,852
Solution 1
First install XZ
yum -y install xz
then
tar -xvf yourfile.tar.xz
Solution 2
Should work with the following command:
tar -xvfz linux-2.6.32.65.tar.xz
Related videos on Youtube
Author by
Nauman Sohail
Updated on September 18, 2022Comments
-
Nauman Sohail over 1 year
I am compiling linux red hat stable kernel on red hat linux and the error which I am facing is as below
-
jsbillings about 9 yearsIf its a modern GNU tar, just leave off the decompression algorithm, and just use
tar xvf linux-2.6.32.65.tar.xz
. Tar is smart enough to figure it out. -
PersianGulf about 9 yearsIt's Wrong user have to use
-Jxf file.tar.xz
-
elbarna about 9 yearsOn slackware 14.1i use tar -xvf without problem,same thing on centos6.6