Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linux tar.gz help

Status
Not open for further replies.

wizzardkid

Vendor
Nov 25, 2003
4
PH
Hello..

I download a file php-4.3.4.tar.gz and i extract it using this command:
tar zxvf php-4*

and successfully extracted to the folder php-4-3-4 but how to install this one? this is deff. from rpm file :)

Help.. :D



//wizzard
 
You will probably need to compile it using make then makeinstall using gcc compiler.
 
I'm hip. I don't believe those guys didn't give you any instructions with it. Most tarballs install in 5 steps:

1) unpack the tarball (you've done that)

2) cd to source directory (the one just created)

3) ./configure (this configures the app to your environment)

4) make (compiles the app using all the stuff created by configure)

5) make install (install the app)

If the install overwrites your php.ini file, you may want to make a backup first. You should be able to get your mitts on an rpm version. There are usually 2 rpm packages. One will contain the source and is just like the tarball and the other is a precompiled binary which will usually have "noarch" in the file name while the ones containing source code will have "src" in the name.



 
Usually, in most source packages, there are "INSTALL" or "README" textfiles amongs the stuff that's in there. most of the time, they indeed tell you to
./configure
make
make install



_____________________________
when someone asks for your username and password, and much *clickely clickely* is happening in the background, know enough that you should be worried.
 
This link looks like it would be useful. Personally, if I'm using a package-based system, I'd look for a package built for that system. It's just a 'neater' way of doing things, and it's easier to clean up a fouled up install (strictly my opinion, feel free to disagree with me :) ).

----
JBR
 
Thanks a lot guys for the help.. I really appreciated it a lot. God bless.

 
Flugh said :<i>
Personally, if I'm using a package-based system, I'd look for a package built for that system. It's just a 'neater' way of doing things, and it's easier to clean up a fouled up install (strictly my opinion, feel free to disagree with me). </i>

It just wouldn't compile, and this means there is nothing to install in this case.

_____________________________
when someone asks for your username and password, and much *clickely clickely* is happening in the background, know enough that you should be worried.
 
lullysing:
The 'easier to clean up' thing came from my personal h*ll when I first started out and tried to install a newer version of the gtk libraries. I will always praise Gateway for their excellent Solo 2200 laptop, because it lived through all the abuse and violence I dished out on it while trying to accomplish that 'upgrade'. Guess it just scarred me a bit, and pushes me towards packages on distros :)

----
JBR
 
You know the saying my man...

Teach the man about unix, and he will be able to deal with the world...
Teach the man about windows NT, and he will be able to deal with Windows NT.

Dependencies are hell. compiling libraries is not necesarely pleasant, but nobody said running this thing would be easy, was it?

_____________________________
when someone asks for your username and password, and much *clickely clickely* is happening in the background, know enough that you should be worried.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top