how to install tar.xz file code example

Example 1: extract a tar.xz file linux

tar -xf filename.tar.xz

Example 2: unzip tar.xz linux

tar -xf archive.tar.xz -C /home/linuxize/files

Example 3: install tar.bz2 file

#Extract the file tar.bz2
 tar -xjvf file.tar.bz2
#Compile and install
 cd file
 ./configure
 make
 sudo make install

Example 4: install tar.xz in ubuntu

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

Example 5: run tar.xz ubuntu

tar xf [filename]

Tags:

Css Example