How to install SRPM using YUM ?

Status
Not open for further replies.

omara007

Advanced Member level 4
Joined
Jan 6, 2003
Messages
1,237
Helped
50
Reputation
102
Reaction score
16
Trophy points
1,318
Location
Cairo/Egypt
Activity points
9,716
How to install SRPM ?

I searched the internet and they say use YUM .. but I don't know what is YUM or how to use it !
 

Re: How to install SRPM ?

I assume you are using RedHat or some other distribution which uses RPM.

There are two flavors of RPMs: binary & source code. Source code are designated by ending with -src.rpm rather than just .rpm

Installing source rpms (SRPM):
Unlike ordinary packages, they can't be uninstalled using RPM. SRPM packages are not under the control of the RPM database. All RPM does is copy the files contained in the package to the hard disk. SRPMs are not listed in the RPM database.

A source RPM (SRPM) package typically contains a gzipped tar archive with the source files, and an RPM spec file

Listing the contents of a source rpm:
# rpm -qpl xmms-1.2.10-1.src.rpm
xmms-1.2.10.tar.gz
xmms.spec


Source rpm can be installed just like any other rpm with "-ivvh" flags
# rpm -ivvh xmms-1.2.10-1.src.rpm

For more information look at the following page
https://technopark02.blogspot.com/2004/09/linux-installing-source-rpm-srpm.html

Best regards,
v_c
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…