Sparkles

that were shone when I got tempered!

Extracting / Installing tar files

leave a comment »

The file extensioed as .tar.gz files are gzip-compressed tarballs, compressed archives like .zip files. .tar.bz2 files are compressed with bzip2.

Extracting .tar.gz files

 tar xzf file.tar.gz

Extracting .tar.bz2 files

tar xjf file.tar.bz2

Extracting .tar.xz files

tar xJf file.tar.xz

If you would like to see the files being extracted during unpacking, add v:

tar xzvf file.tar.gz

Extracting a single file

tar xvf file.tar.gz testfile1

Extracting a single file to another directory. (directory must be existed)

tar xvf file.tar.gz -C anotherDirectory/ testfile1

After extracting, you can install as follow:

./configure
make
sudo make install

Instead, you can also install online as follows.

sudo apt-get install PACKAGENAME

References :

Advertisements

Written by Namal Fernando

February 14, 2014 at 5:12 pm

Posted in Linux

Tagged with ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Ruth's Reflections

Contemplations from quakey quirky Christchurch

TED Blog

The TED Blog shares interesting news about TED, TED Talks video, the TED Prize and more.

Ziplok

Learn and discover simple things

Meihta Dwiguna Saputra's Knowledge Base

~In learning you will teach and in teaching you will (re)learn~

The Java Blog

Thoughts, tips and tricks about the Java programming language

Sparkles

that were shone when I got tempered!

%d bloggers like this: