Monday, March 11, 2013

How To Install tar File in Linux


How to install a .tar.gz (or .tar.bz2) file


When i started linux it was very difficult to me to install a software,but in windows we can easy to install a software using .exe file but in linux every thing is command to install a software in Terminal,Today i am sharing How To Install tar File in Linux. I hope it will help for Linux beginners to install a software

 Step 1: First We Extract a file tar.gz through command line in Terminal


tar -xvzf PACKAGENAME.tar.gz
                                                                        (OR)
tar -xvjf PACKAGENAME.tar.bz2

                                                                 OR

Right Click the Package and there will option called Extract Here and Click to extract the file in the Folder

Now Package File has Extracted here and we are going to install to software 

Step 2: Installing Software Through Command in Linux
# cd path_to_extracted_directory
.

and if it extracted folder contains configure and make file use 
 ./configure
 Make

 Make Install



How To Install tar File in Linux

No comments:

Post a Comment

Linux Tips and tricks,Online Linux Helpers