Hi Sagar,

On Wednesday 01 Sep 2004 5:14 pm, Sagar Saibi wrote:
>       Hi all,
>
>       I have a file named gftp-2.0.8-1.src.rpm on a cd.
>       I want to execute this file and install gftp.
>       So can anybody help me?
A rpm is not an executable file it is a package, which contains files that can 
be installed using the 'Redhat Package Manager - (rpm for short)'. Do a 
google on rpm to learn more. 
     To install the files contained within the rpm use the command
'rpm -ivh <package-name>'
     However, the package you have mentioned is not really a 'binary' rpm 
package. In other words it does not contain the executable of 'gftp', instead 
it is a 'source' package (you can tell by the 'src' within the package name). 
So to install 'gftp' you would first need to build the executable using the 
sources. For a 'src.rpm' package you do this by providing the command:

rpmbuild --rebuild <package-name>
In your case:
rpmbuild --rebuiild gftp-2.0.8-1.src.rpm
This would create a binary rpm for you in /usr/src/redhat/RPMS/i386/  which 
you can install using the rpm command given above.

HTH
Regards
Steve

-- 
        Once, when the secrets of science were the jealously guarded property
of a small priesthood, the common man had no hope of mastering their arcane
complexities.  Years of study in musty classrooms were prerequisite to
obtaining even a dim, incoherent knowledge of science.
        Today all that has changed: a dim, incoherent knowledge of science is
available to anyone.
                -- Tom Weller, "Science Made Stupid"
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      ([EMAIL PROTECTED])
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to