How to install .tar.gz package in Ubuntu.

Recently, some of my friends try Ubuntu, when they have trouble with Linux package types, they came to me for answer, so I write this as a tut for giving them in case some of them want to ask. ( dear my friends, this is for you).

Step 1 : Try to extract your compressed package with tar utility.

$ tar -zxvf package.tar.gz

With -zxfv is options

  • -z means type of zip , –gzip , –gunzip, –ungzip
  • -f means file archive.
  • -v means verbose 
  • x means –extract

Sterp 2: navigate to extracte folder, using following 3 commands to install package into system

# ./configure
# make
# make install

With:

  • ./configure : make sure your system has already had enough dependencies.
  • make commands will help you compile script/source code into executable binary files.
  • make install will run script(s) to install your executable files , create/copy/move them into proper location in system.

That’s it, enjoy linux, enjoy life 🙂 

Advertisements

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

%d bloggers like this: