LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing .tgz files. (https://www.linuxquestions.org/questions/linux-newbie-8/installing-tgz-files-4175438315/)

heigold1 11-22-2012 01:00 PM

Installing .tgz files.
 
Hi, I want to install the zend framework on my Linux machine.

I have downloaded a file with an extension ".tgz" (ZendFramework-2.0.2.tgz)

How do I install this file? With an "rpm" command?

snowday 11-22-2012 01:08 PM

It is an archive format (like .zip in windows) so you need to extract it and then look for a README or INSTALL file inside. Or read the instructions on the zend website. :)

mmoreno80 11-22-2012 01:13 PM

If you get a source distribution usually will follow the "configure;make;make install" steps, but depends on the program (I never installed ZendFramework).

But if you don't fully understand how to build/install from source code, I recommend you to install using a package manager (as rpm).

heigold1 11-22-2012 04:16 PM

Hi all,

Thanks so much for your response.

But I don't know how to extract this file. I don't know how to use the rpm command to extract this file.

All I know how to do on Linux is use firefox, and the "yum install" command.

Do you know how I could use the rpm command to extract this file?

speck 11-22-2012 04:45 PM

If you're having issues extracting a .tgz file, then you will most likely face much more difficult issues installing and configuring something like Zend Framework. It's like attempting to rebuild an automobile engine when you're having difficulty figuring out how to open the hood. As mentioned, you should probably try to find a Zend Framework package that was build for your distribution (Red Hat/CentOS?) and install that package instead of working with the .tgz file.

knudfl 11-22-2012 05:18 PM

Fedora, CentOS 6, RHEL6 : # yum install php-ZendFramework*

CentOS 5, RHEL 5 : The same. "ZendFramework" is in the remi.repo

snowday 11-22-2012 06:11 PM

Quote:

Originally Posted by heigold1 (Post 4835091)
But I don't know how to extract this file.

Code:

man tar

heigold1 11-22-2012 06:38 PM

Sounds good, i'll try the yum install command.

Thank you for your responses guys, it is greatly appreciated.

Brent.


All times are GMT -5. The time now is 10:06 AM.