The usual way to install programs that come in tar.gz format is to issue
the following commands...
<disclaimer>This is my experience and i mustt say the following step is
the ost common way but by no means the only way. Read the
instructions for the package first..</disclaimer>
(assume the file is called thispackage1-1.tar.gz)
$> tar zxvf
thispackage1-1.tar.gz
(this command will usually create a directory and uncmpress all the files
in hte archive into the directory)
$> cd thispackage
(or whatever the directory created may be)
$> ./configure
(this command checks your environment and creates the proper Makefile)
$> make
(this command runs the Makefile and compiles the source code uncompressed)
$> su
(you usually need to be root for the next step)
#> make install
(this will install the program on your system)
this is the most common way of compiling sources to install them onto your
system..there are many variants ... some packages do not have a configure
file in the directory only a Makefile in which case skip the configure
step..or they may even have a script that u run t install the program..
Linux packages usually have a README file or an INSTALL file that u can
read which gives installation and usage intructions..
Mon, 21 Jun 1999, Lei Tie wrote:
> I have seen that most of linux applications come in either tar or gz file. How do I
>extract these files? Where do I extract these files? And usually how do I install
>the programs come in such formats?
>