리눅스 tar.xz 설치 - linugseu tar.xz seolchi

less than 1 minute read

리눅스 tar.gz 파일 설치

참고 링크

압축풀기

gzip -d filename.tar.gz

압축 푼것 설치하기

tar xvf filename.tar

한번에 압출 풀기 및 설치

tar zxvf filename.tar.gz

리눅스 tar.xz 파일 설치

tar xf filename.tar.xz

Previous Next

i am new in Linux. Generally i install software by internet, but i think it is not a good approach to depend on internet all the times. Then i downloaded a vlc .tar.xz file. then searched Internet how to install .tar.xz. But unable to install. The command i written and result got given below..

ubuntu@ubuntu-HP:~/programs$ tar -zxvf vlc-2.0.6.tar.xz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now


ubuntu@ubuntu-HP:~/programs$ tar -zxf vlc-2.0.6.tar.xz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

asked Apr 21, 2015 at 0:01

리눅스 tar.xz 설치 - linugseu tar.xz seolchi

Black SwanBlack Swan

1,0013 gold badges10 silver badges16 bronze badges

3

This is not good practice unless you know the implications of installing software this way, and trust the source of the file.

Decompress:

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

This will compile the VLC source code, and then install it into your system. Because you are installing as root, this is why you must know that the source of the file is trustworthy.

To compile vlc, you need at least the following libraries installed:

  • libdvbpsi (compulsory) ,
  • mpeg2dec (compulsory) ,
  • libdvdcss if you want to be able to read encrypted DVDs ,
  • libdvdplay if you want to have DVD menu navigation ,
  • a52dec if you want to be able to decode the AC3 (i.e. A52) sound format often used in DVDs ,
  • ffmpeg, libmad, faad2 if you want to read MPEG 4 / DivX files ,
  • libogg & libvorbis if you want to read Ogg Vorbis files .

You will probably also need to install the build-essential package to get a compiler and associated commands.

More details here

리눅스 tar.xz 설치 - linugseu tar.xz seolchi

mashuptwice

2,6812 gold badges11 silver badges24 bronze badges

answered Apr 21, 2015 at 3:59

PaulPaul

58k18 gold badges138 silver badges166 bronze badges

0

First, you should have xz installed on your system. If not:

# apt-get install xz-utils

Then, instead of "z" option in tar command (which is for zip), you must use "J" (which is for xz):

$ tar xvfJ fich.tar.xz

answered Jun 16, 2018 at 7:24

jmrlegidojmrlegido

1511 silver badge2 bronze badges

answered Apr 21, 2015 at 0:09

1

You can use tar xvf [filename] if you also want to see the files being extracted. The z in your original code is used for gzip files.

answered Mar 9, 2018 at 5:41

Install this pakage

sudo apt-get install xz-utils

Go to the file direction and run this command to extract the package

tar -xvf {file name}

리눅스 tar.xz 설치 - linugseu tar.xz seolchi

answered Apr 6, 2020 at 8:36

리눅스 tar.xz 설치 - linugseu tar.xz seolchi

AmerAmer

113 bronze badges