LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   code. (https://www.linuxquestions.org/questions/linux-newbie-8/code-358119/)

bruse 08-29-2005 10:23 AM

code.
 
mandrae 10.0
i have src rpm files.

how can i extract the source codes from the .src.rpm files.

abisko00 08-29-2005 10:41 AM

Not sure about Mandrake src.rpm's, but I would guess you can simply install the rpm and you'll find the source wherever src.rpm are installed to (on SUSE, this is /usr/src/packages/SOURCE).

Another option is to extract the source.tar.gz from the rpm with rpm2cpio and cpio:
http://www.rpm.org/max-rpm/s1-rpm-mi...-rpm2cpio.html

Tinkster 08-29-2005 01:41 PM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

http://www.linuxquestions.org/questi...hreadid=358067


All times are GMT -5. The time now is 12:43 PM.